Documentation
¶
Overview ¶
Package openapi provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.0 DO NOT EDIT.
Index ¶
- Constants
- func NewApprovePaymentRequest(server string, id string) (*http.Request, error)
- func NewCreateAgentRequest(server string, body CreateAgentJSONRequestBody) (*http.Request, error)
- func NewCreateAgentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateApiKeyRequest(server string, body CreateApiKeyJSONRequestBody) (*http.Request, error)
- func NewCreateApiKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error)
- func NewCreateOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreatePolicyRequest(server string, body CreatePolicyJSONRequestBody) (*http.Request, error)
- func NewCreatePolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateTransferRequest(server string, body CreateTransferJSONRequestBody) (*http.Request, error)
- func NewCreateTransferRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWalletRequest(server string, body CreateWalletJSONRequestBody) (*http.Request, error)
- func NewCreateWalletRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateWebhookSubscriptionRequest(server string, body CreateWebhookSubscriptionJSONRequestBody) (*http.Request, error)
- func NewCreateWebhookSubscriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewDashboardAllocationRequest(server string) (*http.Request, error)
- func NewDashboardBalanceRequest(server string, params *DashboardBalanceParams) (*http.Request, error)
- func NewDashboardKpisRequest(server string) (*http.Request, error)
- func NewDashboardStatsRequest(server string) (*http.Request, error)
- func NewDeleteWebhookSubscriptionRequest(server string, id string) (*http.Request, error)
- func NewExportMerchantEarningsRequest(server string, params *ExportMerchantEarningsParams) (*http.Request, error)
- func NewFreezeWalletRequest(server string, id string) (*http.Request, error)
- func NewFundWalletRequest(server string, id string, body FundWalletJSONRequestBody) (*http.Request, error)
- func NewFundWalletRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewGetAgentRequest(server string, id string) (*http.Request, error)
- func NewGetFxRateRequest(server string, params *GetFxRateParams) (*http.Request, error)
- func NewGetKybStatusRequest(server string) (*http.Request, error)
- func NewGetMandateCoverageRequest(server string, params *GetMandateCoverageParams) (*http.Request, error)
- func NewGetMeRequest(server string) (*http.Request, error)
- func NewGetOrganizationRequest(server string, id string) (*http.Request, error)
- func NewGetPaymentRequest(server string, id string) (*http.Request, error)
- func NewGetPayoutRequest(server string, id string) (*http.Request, error)
- func NewGetPolicyRequest(server string, id string) (*http.Request, error)
- func NewGetRefundRequest(server string, id string) (*http.Request, error)
- func NewGetTransferRequest(server string, id string) (*http.Request, error)
- func NewGetWalletRequest(server string, id string) (*http.Request, error)
- func NewHandleWebhookRequest(server string, vendor string) (*http.Request, error)
- func NewHealthzRequest(server string) (*http.Request, error)
- func NewLinkWalletRequest(server string, body LinkWalletJSONRequestBody) (*http.Request, error)
- func NewLinkWalletRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewListAgentsRequest(server string, params *ListAgentsParams) (*http.Request, error)
- func NewListApiKeysRequest(server string) (*http.Request, error)
- func NewListApprovalsRequest(server string, params *ListApprovalsParams) (*http.Request, error)
- func NewListAuditRequest(server string, params *ListAuditParams) (*http.Request, error)
- func NewListComplianceAlertsRequest(server string) (*http.Request, error)
- func NewListMandatesRequest(server string) (*http.Request, error)
- func NewListMerchantEarningsRequest(server string, params *ListMerchantEarningsParams) (*http.Request, error)
- func NewListOrganizationsRequest(server string, params *ListOrganizationsParams) (*http.Request, error)
- func NewListPayoutsRequest(server string, params *ListPayoutsParams) (*http.Request, error)
- func NewListPoliciesRequest(server string, params *ListPoliciesParams) (*http.Request, error)
- func NewListRefundsRequest(server string, params *ListRefundsParams) (*http.Request, error)
- func NewListTransactionsRequest(server string, params *ListTransactionsParams) (*http.Request, error)
- func NewListWalletsRequest(server string, params *ListWalletsParams) (*http.Request, error)
- func NewListWebhookSubscriptionsRequest(server string) (*http.Request, error)
- func NewMerchantAcceptTosRequest(server string, body MerchantAcceptTosJSONRequestBody) (*http.Request, error)
- func NewMerchantAcceptTosRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMerchantActivateRequest(server string, body MerchantActivateJSONRequestBody) (*http.Request, error)
- func NewMerchantActivateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMerchantBalanceRequest(server string) (*http.Request, error)
- func NewMerchantEarningsTimeseriesRequest(server string, params *MerchantEarningsTimeseriesParams) (*http.Request, error)
- func NewMerchantEndpointStatsRequest(server string, id string, params *MerchantEndpointStatsParams) (*http.Request, error)
- func NewMerchantGetMeRequest(server string) (*http.Request, error)
- func NewMerchantListRefundsRequest(server string, params *MerchantListRefundsParams) (*http.Request, error)
- func NewMerchantSignupRequest(server string, body MerchantSignupJSONRequestBody) (*http.Request, error)
- func NewMerchantSignupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMerchantTestPaymentRequest(server string, body MerchantTestPaymentJSONRequestBody) (*http.Request, error)
- func NewMerchantTestPaymentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewMerchantWaitlistRequest(server string, body MerchantWaitlistJSONRequestBody) (*http.Request, error)
- func NewMerchantWaitlistRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPreviewPolicyRequest(server string, body PreviewPolicyJSONRequestBody) (*http.Request, error)
- func NewPreviewPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewProposePaymentRequest(server string, body ProposePaymentJSONRequestBody) (*http.Request, error)
- func NewProposePaymentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewReadyzRequest(server string) (*http.Request, error)
- func NewRecentActivityRequest(server string) (*http.Request, error)
- func NewRefundPaymentRequest(server string, id string, body RefundPaymentJSONRequestBody) (*http.Request, error)
- func NewRefundPaymentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewResolveEnsRequest(server string, body ResolveEnsJSONRequestBody) (*http.Request, error)
- func NewResolveEnsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewRevokeApiKeyRequest(server string, id string) (*http.Request, error)
- func NewRotateAgentKeyRequest(server string, id string) (*http.Request, error)
- func NewSignupRequest(server string, body SignupJSONRequestBody) (*http.Request, error)
- func NewSignupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadKybDocumentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewVerifyPaymentRequest(server string, body VerifyPaymentJSONRequestBody) (*http.Request, error)
- func NewVerifyPaymentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewWithdrawWalletRequest(server string, id string, body WithdrawWalletJSONRequestBody) (*http.Request, error)
- func NewWithdrawWalletRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewX402VerifyRequest(server string, body X402VerifyJSONRequestBody) (*http.Request, error)
- func NewX402VerifyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type AcceptTosRequest
- type ActivateRequest
- type ActivateResponse
- type ActivityItem
- type AgentResponse
- type AllocationItem
- type ApiKeyResponse
- type Approval
- type ApprovePaymentHTTPResponse
- type AuditEntry
- type BalanceResponse
- type Client
- func (c *Client) ApprovePayment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CreateAgent(ctx context.Context, body CreateAgentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateAgentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateApiKey(ctx context.Context, body CreateApiKeyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateApiKeyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreatePolicy(ctx context.Context, body CreatePolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreatePolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateTransfer(ctx context.Context, body CreateTransferJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateTransferWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWallet(ctx context.Context, body CreateWalletJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWalletWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateWebhookSubscription(ctx context.Context, body CreateWebhookSubscriptionJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWebhookSubscriptionWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DashboardAllocation(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DashboardBalance(ctx context.Context, params *DashboardBalanceParams, ...) (*http.Response, error)
- func (c *Client) DashboardKpis(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DashboardStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWebhookSubscription(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ExportMerchantEarnings(ctx context.Context, params *ExportMerchantEarningsParams, ...) (*http.Response, error)
- func (c *Client) FreezeWallet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) FundWallet(ctx context.Context, id string, body FundWalletJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) FundWalletWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) GetAgent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetFxRate(ctx context.Context, params *GetFxRateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetKybStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetMandateCoverage(ctx context.Context, params *GetMandateCoverageParams, ...) (*http.Response, error)
- func (c *Client) GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetOrganization(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPayment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPayout(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPolicy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRefund(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTransfer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWallet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) HandleWebhook(ctx context.Context, vendor string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Healthz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) LinkWallet(ctx context.Context, body LinkWalletJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) LinkWalletWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ListAgents(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListApprovals(ctx context.Context, params *ListApprovalsParams, ...) (*http.Response, error)
- func (c *Client) ListAudit(ctx context.Context, params *ListAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListComplianceAlerts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMandates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMerchantEarnings(ctx context.Context, params *ListMerchantEarningsParams, ...) (*http.Response, error)
- func (c *Client) ListOrganizations(ctx context.Context, params *ListOrganizationsParams, ...) (*http.Response, error)
- func (c *Client) ListPayouts(ctx context.Context, params *ListPayoutsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPolicies(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListRefunds(ctx context.Context, params *ListRefundsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTransactions(ctx context.Context, params *ListTransactionsParams, ...) (*http.Response, error)
- func (c *Client) ListWallets(ctx context.Context, params *ListWalletsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListWebhookSubscriptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MerchantAcceptTos(ctx context.Context, body MerchantAcceptTosJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MerchantAcceptTosWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MerchantActivate(ctx context.Context, body MerchantActivateJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MerchantActivateWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MerchantBalance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MerchantEarningsTimeseries(ctx context.Context, params *MerchantEarningsTimeseriesParams, ...) (*http.Response, error)
- func (c *Client) MerchantEndpointStats(ctx context.Context, id string, params *MerchantEndpointStatsParams, ...) (*http.Response, error)
- func (c *Client) MerchantGetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MerchantListRefunds(ctx context.Context, params *MerchantListRefundsParams, ...) (*http.Response, error)
- func (c *Client) MerchantSignup(ctx context.Context, body MerchantSignupJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MerchantSignupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MerchantTestPayment(ctx context.Context, body MerchantTestPaymentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MerchantTestPaymentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) MerchantWaitlist(ctx context.Context, body MerchantWaitlistJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) MerchantWaitlistWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PreviewPolicy(ctx context.Context, body PreviewPolicyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PreviewPolicyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ProposePayment(ctx context.Context, body ProposePaymentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ProposePaymentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) Readyz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RecentActivity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RefundPayment(ctx context.Context, id string, body RefundPaymentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) RefundPaymentWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ResolveEns(ctx context.Context, body ResolveEnsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ResolveEnsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) RevokeApiKey(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) RotateAgentKey(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) Signup(ctx context.Context, body SignupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SignupWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadKybDocumentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) VerifyPayment(ctx context.Context, body VerifyPaymentJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) VerifyPaymentWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) WithdrawWallet(ctx context.Context, id string, body WithdrawWalletJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) WithdrawWalletWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) X402Verify(ctx context.Context, body X402VerifyJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) X402VerifyWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ApprovePaymentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ApprovePaymentHTTPResponse, error)
- func (c *ClientWithResponses) CreateAgentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateAgentHTTPResponse, error)
- func (c *ClientWithResponses) CreateAgentWithResponse(ctx context.Context, body CreateAgentJSONRequestBody, ...) (*CreateAgentHTTPResponse, error)
- func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateApiKeyHTTPResponse, error)
- func (c *ClientWithResponses) CreateApiKeyWithResponse(ctx context.Context, body CreateApiKeyJSONRequestBody, ...) (*CreateApiKeyHTTPResponse, error)
- func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateOrganizationHTTPResponse, error)
- func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, ...) (*CreateOrganizationHTTPResponse, error)
- func (c *ClientWithResponses) CreatePolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreatePolicyHTTPResponse, error)
- func (c *ClientWithResponses) CreatePolicyWithResponse(ctx context.Context, body CreatePolicyJSONRequestBody, ...) (*CreatePolicyHTTPResponse, error)
- func (c *ClientWithResponses) CreateTransferWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateTransferHTTPResponse, error)
- func (c *ClientWithResponses) CreateTransferWithResponse(ctx context.Context, body CreateTransferJSONRequestBody, ...) (*CreateTransferHTTPResponse, error)
- func (c *ClientWithResponses) CreateWalletWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWalletHTTPResponse, error)
- func (c *ClientWithResponses) CreateWalletWithResponse(ctx context.Context, body CreateWalletJSONRequestBody, ...) (*CreateWalletHTTPResponse, error)
- func (c *ClientWithResponses) CreateWebhookSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*CreateWebhookSubscriptionHTTPResponse, error)
- func (c *ClientWithResponses) CreateWebhookSubscriptionWithResponse(ctx context.Context, body CreateWebhookSubscriptionJSONRequestBody, ...) (*CreateWebhookSubscriptionHTTPResponse, error)
- func (c *ClientWithResponses) DashboardAllocationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DashboardAllocationHTTPResponse, error)
- func (c *ClientWithResponses) DashboardBalanceWithResponse(ctx context.Context, params *DashboardBalanceParams, ...) (*DashboardBalanceHTTPResponse, error)
- func (c *ClientWithResponses) DashboardKpisWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DashboardKpisHTTPResponse, error)
- func (c *ClientWithResponses) DashboardStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DashboardStatsHTTPResponse, error)
- func (c *ClientWithResponses) DeleteWebhookSubscriptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWebhookSubscriptionHTTPResponse, error)
- func (c *ClientWithResponses) ExportMerchantEarningsWithResponse(ctx context.Context, params *ExportMerchantEarningsParams, ...) (*ExportMerchantEarningsHTTPResponse, error)
- func (c *ClientWithResponses) FreezeWalletWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FreezeWalletHTTPResponse, error)
- func (c *ClientWithResponses) FundWalletWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*FundWalletHTTPResponse, error)
- func (c *ClientWithResponses) FundWalletWithResponse(ctx context.Context, id string, body FundWalletJSONRequestBody, ...) (*FundWalletHTTPResponse, error)
- func (c *ClientWithResponses) GetAgentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentHTTPResponse, error)
- func (c *ClientWithResponses) GetFxRateWithResponse(ctx context.Context, params *GetFxRateParams, reqEditors ...RequestEditorFn) (*GetFxRateHTTPResponse, error)
- func (c *ClientWithResponses) GetKybStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKybStatusHTTPResponse, error)
- func (c *ClientWithResponses) GetMandateCoverageWithResponse(ctx context.Context, params *GetMandateCoverageParams, ...) (*GetMandateCoverageHTTPResponse, error)
- func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeHTTPResponse, error)
- func (c *ClientWithResponses) GetOrganizationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationHTTPResponse, error)
- func (c *ClientWithResponses) GetPaymentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPaymentHTTPResponse, error)
- func (c *ClientWithResponses) GetPayoutWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPayoutHTTPResponse, error)
- func (c *ClientWithResponses) GetPolicyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPolicyHTTPResponse, error)
- func (c *ClientWithResponses) GetRefundWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRefundHTTPResponse, error)
- func (c *ClientWithResponses) GetTransferWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTransferHTTPResponse, error)
- func (c *ClientWithResponses) GetWalletWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWalletHTTPResponse, error)
- func (c *ClientWithResponses) HandleWebhookWithResponse(ctx context.Context, vendor string, reqEditors ...RequestEditorFn) (*HandleWebhookHTTPResponse, error)
- func (c *ClientWithResponses) HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthzHTTPResponse, error)
- func (c *ClientWithResponses) LinkWalletWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*LinkWalletHTTPResponse, error)
- func (c *ClientWithResponses) LinkWalletWithResponse(ctx context.Context, body LinkWalletJSONRequestBody, ...) (*LinkWalletHTTPResponse, error)
- func (c *ClientWithResponses) ListAgentsWithResponse(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*ListAgentsHTTPResponse, error)
- func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListApiKeysHTTPResponse, error)
- func (c *ClientWithResponses) ListApprovalsWithResponse(ctx context.Context, params *ListApprovalsParams, ...) (*ListApprovalsHTTPResponse, error)
- func (c *ClientWithResponses) ListAuditWithResponse(ctx context.Context, params *ListAuditParams, reqEditors ...RequestEditorFn) (*ListAuditHTTPResponse, error)
- func (c *ClientWithResponses) ListComplianceAlertsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListComplianceAlertsHTTPResponse, error)
- func (c *ClientWithResponses) ListMandatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMandatesHTTPResponse, error)
- func (c *ClientWithResponses) ListMerchantEarningsWithResponse(ctx context.Context, params *ListMerchantEarningsParams, ...) (*ListMerchantEarningsHTTPResponse, error)
- func (c *ClientWithResponses) ListOrganizationsWithResponse(ctx context.Context, params *ListOrganizationsParams, ...) (*ListOrganizationsHTTPResponse, error)
- func (c *ClientWithResponses) ListPayoutsWithResponse(ctx context.Context, params *ListPayoutsParams, reqEditors ...RequestEditorFn) (*ListPayoutsHTTPResponse, error)
- func (c *ClientWithResponses) ListPoliciesWithResponse(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*ListPoliciesHTTPResponse, error)
- func (c *ClientWithResponses) ListRefundsWithResponse(ctx context.Context, params *ListRefundsParams, reqEditors ...RequestEditorFn) (*ListRefundsHTTPResponse, error)
- func (c *ClientWithResponses) ListTransactionsWithResponse(ctx context.Context, params *ListTransactionsParams, ...) (*ListTransactionsHTTPResponse, error)
- func (c *ClientWithResponses) ListWalletsWithResponse(ctx context.Context, params *ListWalletsParams, reqEditors ...RequestEditorFn) (*ListWalletsHTTPResponse, error)
- func (c *ClientWithResponses) ListWebhookSubscriptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWebhookSubscriptionsHTTPResponse, error)
- func (c *ClientWithResponses) MerchantAcceptTosWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MerchantAcceptTosHTTPResponse, error)
- func (c *ClientWithResponses) MerchantAcceptTosWithResponse(ctx context.Context, body MerchantAcceptTosJSONRequestBody, ...) (*MerchantAcceptTosHTTPResponse, error)
- func (c *ClientWithResponses) MerchantActivateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MerchantActivateHTTPResponse, error)
- func (c *ClientWithResponses) MerchantActivateWithResponse(ctx context.Context, body MerchantActivateJSONRequestBody, ...) (*MerchantActivateHTTPResponse, error)
- func (c *ClientWithResponses) MerchantBalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MerchantBalanceHTTPResponse, error)
- func (c *ClientWithResponses) MerchantEarningsTimeseriesWithResponse(ctx context.Context, params *MerchantEarningsTimeseriesParams, ...) (*MerchantEarningsTimeseriesHTTPResponse, error)
- func (c *ClientWithResponses) MerchantEndpointStatsWithResponse(ctx context.Context, id string, params *MerchantEndpointStatsParams, ...) (*MerchantEndpointStatsHTTPResponse, error)
- func (c *ClientWithResponses) MerchantGetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MerchantGetMeHTTPResponse, error)
- func (c *ClientWithResponses) MerchantListRefundsWithResponse(ctx context.Context, params *MerchantListRefundsParams, ...) (*MerchantListRefundsHTTPResponse, error)
- func (c *ClientWithResponses) MerchantSignupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MerchantSignupHTTPResponse, error)
- func (c *ClientWithResponses) MerchantSignupWithResponse(ctx context.Context, body MerchantSignupJSONRequestBody, ...) (*MerchantSignupHTTPResponse, error)
- func (c *ClientWithResponses) MerchantTestPaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MerchantTestPaymentHTTPResponse, error)
- func (c *ClientWithResponses) MerchantTestPaymentWithResponse(ctx context.Context, body MerchantTestPaymentJSONRequestBody, ...) (*MerchantTestPaymentHTTPResponse, error)
- func (c *ClientWithResponses) MerchantWaitlistWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*MerchantWaitlistHTTPResponse, error)
- func (c *ClientWithResponses) MerchantWaitlistWithResponse(ctx context.Context, body MerchantWaitlistJSONRequestBody, ...) (*MerchantWaitlistHTTPResponse, error)
- func (c *ClientWithResponses) PreviewPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PreviewPolicyHTTPResponse, error)
- func (c *ClientWithResponses) PreviewPolicyWithResponse(ctx context.Context, body PreviewPolicyJSONRequestBody, ...) (*PreviewPolicyHTTPResponse, error)
- func (c *ClientWithResponses) ProposePaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ProposePaymentHTTPResponse, error)
- func (c *ClientWithResponses) ProposePaymentWithResponse(ctx context.Context, body ProposePaymentJSONRequestBody, ...) (*ProposePaymentHTTPResponse, error)
- func (c *ClientWithResponses) ReadyzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadyzHTTPResponse, error)
- func (c *ClientWithResponses) RecentActivityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RecentActivityHTTPResponse, error)
- func (c *ClientWithResponses) RefundPaymentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*RefundPaymentHTTPResponse, error)
- func (c *ClientWithResponses) RefundPaymentWithResponse(ctx context.Context, id string, body RefundPaymentJSONRequestBody, ...) (*RefundPaymentHTTPResponse, error)
- func (c *ClientWithResponses) ResolveEnsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*ResolveEnsHTTPResponse, error)
- func (c *ClientWithResponses) ResolveEnsWithResponse(ctx context.Context, body ResolveEnsJSONRequestBody, ...) (*ResolveEnsHTTPResponse, error)
- func (c *ClientWithResponses) RevokeApiKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RevokeApiKeyHTTPResponse, error)
- func (c *ClientWithResponses) RotateAgentKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RotateAgentKeyHTTPResponse, error)
- func (c *ClientWithResponses) SignupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SignupHTTPResponse, error)
- func (c *ClientWithResponses) SignupWithResponse(ctx context.Context, body SignupJSONRequestBody, reqEditors ...RequestEditorFn) (*SignupHTTPResponse, error)
- func (c *ClientWithResponses) UploadKybDocumentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UploadKybDocumentHTTPResponse, error)
- func (c *ClientWithResponses) VerifyPaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*VerifyPaymentHTTPResponse, error)
- func (c *ClientWithResponses) VerifyPaymentWithResponse(ctx context.Context, body VerifyPaymentJSONRequestBody, ...) (*VerifyPaymentHTTPResponse, error)
- func (c *ClientWithResponses) WithdrawWalletWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*WithdrawWalletHTTPResponse, error)
- func (c *ClientWithResponses) WithdrawWalletWithResponse(ctx context.Context, id string, body WithdrawWalletJSONRequestBody, ...) (*WithdrawWalletHTTPResponse, error)
- func (c *ClientWithResponses) X402VerifyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*X402VerifyHTTPResponse, error)
- func (c *ClientWithResponses) X402VerifyWithResponse(ctx context.Context, body X402VerifyJSONRequestBody, ...) (*X402VerifyHTTPResponse, error)
- type ClientWithResponsesInterface
- type ComplianceAlert
- type CreateAgentHTTPResponse
- type CreateAgentJSONRequestBody
- type CreateAgentRequest
- type CreateApiKeyBody
- type CreateApiKeyHTTPResponse
- type CreateApiKeyJSONRequestBody
- type CreateApiKeyResponse
- type CreateOrganizationHTTPResponse
- type CreateOrganizationJSONRequestBody
- type CreateOrganizationRequest
- type CreatePolicyHTTPResponse
- type CreatePolicyJSONRequestBody
- type CreatePolicyRequest
- type CreateTransferBody
- type CreateTransferHTTPResponse
- type CreateTransferJSONRequestBody
- type CreateTransferResponse
- type CreateWalletHTTPResponse
- type CreateWalletJSONRequestBody
- type CreateWalletRequest
- type CreateWebhookRequest
- type CreateWebhookSubscriptionHTTPResponse
- type CreateWebhookSubscriptionJSONRequestBody
- type DailyKpis
- type DashboardAllocationHTTPResponse
- type DashboardBalanceHTTPResponse
- type DashboardBalanceParams
- type DashboardKpisHTTPResponse
- type DashboardStats
- type DashboardStatsHTTPResponse
- type DeleteWebhookSubscriptionHTTPResponse
- type DocumentResponse
- type EarningRow
- type EarningsResponse
- type ExportMerchantEarningsHTTPResponse
- type ExportMerchantEarningsParams
- type FreezeWalletHTTPResponse
- type FundWalletHTTPResponse
- type FundWalletJSONRequestBody
- type FundWalletRequest
- type FxRate
- type GetAgentHTTPResponse
- type GetFxRateHTTPResponse
- type GetFxRateParams
- type GetKybStatusHTTPResponse
- type GetMandateCoverageHTTPResponse
- type GetMandateCoverageParams
- type GetMeHTTPResponse
- type GetOrganizationHTTPResponse
- type GetPaymentHTTPResponse
- type GetPayoutHTTPResponse
- type GetPolicyHTTPResponse
- type GetRefundHTTPResponse
- type GetTransferHTTPResponse
- type GetTransferResponse
- type GetWalletHTTPResponse
- type HandleWebhookHTTPResponse
- type HealthResponse
- type HealthzHTTPResponse
- type HttpRequestDoer
- type KybStatusResponse
- type LinkWalletHTTPResponse
- type LinkWalletJSONRequestBody
- type LinkWalletRequest
- type ListAgentsHTTPResponse
- type ListAgentsParams
- type ListApiKeysHTTPResponse
- type ListApprovalsHTTPResponse
- type ListApprovalsParams
- type ListAuditHTTPResponse
- type ListAuditParams
- type ListComplianceAlertsHTTPResponse
- type ListMandatesHTTPResponse
- type ListMerchantEarningsHTTPResponse
- type ListMerchantEarningsParams
- type ListOrganizationsHTTPResponse
- type ListOrganizationsParams
- type ListPayoutsHTTPResponse
- type ListPayoutsParams
- type ListPayoutsResponse
- type ListPoliciesHTTPResponse
- type ListPoliciesParams
- type ListRefundsHTTPResponse
- type ListRefundsParams
- type ListRefundsResponse
- type ListTransactionsHTTPResponse
- type ListTransactionsParams
- type ListWalletsHTTPResponse
- type ListWalletsParams
- type ListWebhookSubscriptionsHTTPResponse
- type MandateCoverage
- type MandateListItem
- type MeResponse
- type MerchantAcceptTosHTTPResponse
- type MerchantAcceptTosJSONRequestBody
- type MerchantActivateHTTPResponse
- type MerchantActivateJSONRequestBody
- type MerchantBalanceHTTPResponse
- type MerchantEarningsTimeseriesHTTPResponse
- type MerchantEarningsTimeseriesParams
- type MerchantEndpointStatsHTTPResponse
- type MerchantEndpointStatsParams
- type MerchantGetMeHTTPResponse
- type MerchantListRefundsHTTPResponse
- type MerchantListRefundsParams
- type MerchantProfileDto
- type MerchantSignupHTTPResponse
- type MerchantSignupJSONRequestBody
- type MerchantSignupRequest
- type MerchantSignupResponse
- type MerchantTestPaymentHTTPResponse
- type MerchantTestPaymentJSONRequestBody
- type MerchantWaitlistHTTPResponse
- type MerchantWaitlistJSONRequestBody
- type OrgBalance
- type OrganizationResponse
- type PaginatedAgents
- type PaginatedApiKeys
- type PaginatedApprovals
- type PaginatedAudit
- type PaginatedComplianceAlerts
- type PaginatedMandates
- type PaginatedOrganizations
- type PaginatedPolicies
- type PaginatedTransactions
- type PaginatedWallets
- type PaymentResponse
- type PayoutResponse
- type PolicyResponse
- type PreviewBody
- type PreviewPolicyHTTPResponse
- type PreviewPolicyJSONRequestBody
- type PreviewResponse
- type ProblemDetails
- type ProposePaymentHTTPResponse
- type ProposePaymentJSONRequestBody
- type ProposePaymentRequest
- type ReadinessResponse
- type ReadyzHTTPResponse
- type RecentActivityHTTPResponse
- type RefundPaymentHTTPResponse
- type RefundPaymentJSONRequestBody
- type RefundRequest
- type RefundResponse
- type RefundRow
- type RefundsResponse
- type RequestEditorFn
- type ResolveEnsHTTPResponse
- type ResolveEnsJSONRequestBody
- type ResolveEnsRequest
- type ResolveEnsResponse
- type RevokeApiKeyHTTPResponse
- type RotateAgentKeyHTTPResponse
- type RotateKeyResponse
- type SignupHTTPResponse
- type SignupJSONRequestBody
- type SignupRequest
- type SignupResponse
- type StatsResponse
- type TestPaymentRequest
- type TestPaymentTrace
- type TimePoint
- type TimeSeriesPoint
- type TimeseriesResponse
- type TransactionResponse
- type UploadKybDocumentForm
- type UploadKybDocumentHTTPResponse
- type UploadKybDocumentMultipartRequestBody
- type VerifyPaymentHTTPResponse
- type VerifyPaymentJSONRequestBody
- type VerifyRequest
- type VerifyResponse
- type WaitlistRequest
- type WaitlistResponse
- type WalletActionResponse
- type WalletResponse
- type WebhookResponse
- type WithdrawRequest
- type WithdrawWalletHTTPResponse
- type WithdrawWalletJSONRequestBody
- type X402VerifyHTTPResponse
- type X402VerifyJSONRequestBody
- type X402VerifyRequest
- type X402VerifyResponse
Constants ¶
const ( ApiKeyScopes apiKeyContextKey = "apiKey.Scopes" BearerAuthScopes bearerAuthContextKey = "bearerAuth.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewApprovePaymentRequest ¶
NewApprovePaymentRequest generates requests for ApprovePayment
func NewCreateAgentRequest ¶
func NewCreateAgentRequest(server string, body CreateAgentJSONRequestBody) (*http.Request, error)
NewCreateAgentRequest calls the generic CreateAgent builder with application/json body
func NewCreateAgentRequestWithBody ¶
func NewCreateAgentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateAgentRequestWithBody generates requests for CreateAgent with any type of body
func NewCreateApiKeyRequest ¶
func NewCreateApiKeyRequest(server string, body CreateApiKeyJSONRequestBody) (*http.Request, error)
NewCreateApiKeyRequest calls the generic CreateApiKey builder with application/json body
func NewCreateApiKeyRequestWithBody ¶
func NewCreateApiKeyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateApiKeyRequestWithBody generates requests for CreateApiKey with any type of body
func NewCreateOrganizationRequest ¶
func NewCreateOrganizationRequest(server string, body CreateOrganizationJSONRequestBody) (*http.Request, error)
NewCreateOrganizationRequest calls the generic CreateOrganization builder with application/json body
func NewCreateOrganizationRequestWithBody ¶
func NewCreateOrganizationRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateOrganizationRequestWithBody generates requests for CreateOrganization with any type of body
func NewCreatePolicyRequest ¶
func NewCreatePolicyRequest(server string, body CreatePolicyJSONRequestBody) (*http.Request, error)
NewCreatePolicyRequest calls the generic CreatePolicy builder with application/json body
func NewCreatePolicyRequestWithBody ¶
func NewCreatePolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreatePolicyRequestWithBody generates requests for CreatePolicy with any type of body
func NewCreateTransferRequest ¶
func NewCreateTransferRequest(server string, body CreateTransferJSONRequestBody) (*http.Request, error)
NewCreateTransferRequest calls the generic CreateTransfer builder with application/json body
func NewCreateTransferRequestWithBody ¶
func NewCreateTransferRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateTransferRequestWithBody generates requests for CreateTransfer with any type of body
func NewCreateWalletRequest ¶
func NewCreateWalletRequest(server string, body CreateWalletJSONRequestBody) (*http.Request, error)
NewCreateWalletRequest calls the generic CreateWallet builder with application/json body
func NewCreateWalletRequestWithBody ¶
func NewCreateWalletRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWalletRequestWithBody generates requests for CreateWallet with any type of body
func NewCreateWebhookSubscriptionRequest ¶
func NewCreateWebhookSubscriptionRequest(server string, body CreateWebhookSubscriptionJSONRequestBody) (*http.Request, error)
NewCreateWebhookSubscriptionRequest calls the generic CreateWebhookSubscription builder with application/json body
func NewCreateWebhookSubscriptionRequestWithBody ¶
func NewCreateWebhookSubscriptionRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWebhookSubscriptionRequestWithBody generates requests for CreateWebhookSubscription with any type of body
func NewDashboardAllocationRequest ¶
NewDashboardAllocationRequest generates requests for DashboardAllocation
func NewDashboardBalanceRequest ¶
func NewDashboardBalanceRequest(server string, params *DashboardBalanceParams) (*http.Request, error)
NewDashboardBalanceRequest generates requests for DashboardBalance
func NewDashboardKpisRequest ¶
NewDashboardKpisRequest generates requests for DashboardKpis
func NewDashboardStatsRequest ¶
NewDashboardStatsRequest generates requests for DashboardStats
func NewDeleteWebhookSubscriptionRequest ¶
NewDeleteWebhookSubscriptionRequest generates requests for DeleteWebhookSubscription
func NewExportMerchantEarningsRequest ¶
func NewExportMerchantEarningsRequest(server string, params *ExportMerchantEarningsParams) (*http.Request, error)
NewExportMerchantEarningsRequest generates requests for ExportMerchantEarnings
func NewFreezeWalletRequest ¶
NewFreezeWalletRequest generates requests for FreezeWallet
func NewFundWalletRequest ¶
func NewFundWalletRequest(server string, id string, body FundWalletJSONRequestBody) (*http.Request, error)
NewFundWalletRequest calls the generic FundWallet builder with application/json body
func NewFundWalletRequestWithBody ¶
func NewFundWalletRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewFundWalletRequestWithBody generates requests for FundWallet with any type of body
func NewGetAgentRequest ¶
NewGetAgentRequest generates requests for GetAgent
func NewGetFxRateRequest ¶
func NewGetFxRateRequest(server string, params *GetFxRateParams) (*http.Request, error)
NewGetFxRateRequest generates requests for GetFxRate
func NewGetKybStatusRequest ¶
NewGetKybStatusRequest generates requests for GetKybStatus
func NewGetMandateCoverageRequest ¶
func NewGetMandateCoverageRequest(server string, params *GetMandateCoverageParams) (*http.Request, error)
NewGetMandateCoverageRequest generates requests for GetMandateCoverage
func NewGetMeRequest ¶
NewGetMeRequest generates requests for GetMe
func NewGetOrganizationRequest ¶
NewGetOrganizationRequest generates requests for GetOrganization
func NewGetPaymentRequest ¶
NewGetPaymentRequest generates requests for GetPayment
func NewGetPayoutRequest ¶
NewGetPayoutRequest generates requests for GetPayout
func NewGetPolicyRequest ¶
NewGetPolicyRequest generates requests for GetPolicy
func NewGetRefundRequest ¶
NewGetRefundRequest generates requests for GetRefund
func NewGetTransferRequest ¶
NewGetTransferRequest generates requests for GetTransfer
func NewGetWalletRequest ¶
NewGetWalletRequest generates requests for GetWallet
func NewHandleWebhookRequest ¶
NewHandleWebhookRequest generates requests for HandleWebhook
func NewHealthzRequest ¶
NewHealthzRequest generates requests for Healthz
func NewLinkWalletRequest ¶
func NewLinkWalletRequest(server string, body LinkWalletJSONRequestBody) (*http.Request, error)
NewLinkWalletRequest calls the generic LinkWallet builder with application/json body
func NewLinkWalletRequestWithBody ¶
func NewLinkWalletRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewLinkWalletRequestWithBody generates requests for LinkWallet with any type of body
func NewListAgentsRequest ¶
func NewListAgentsRequest(server string, params *ListAgentsParams) (*http.Request, error)
NewListAgentsRequest generates requests for ListAgents
func NewListApiKeysRequest ¶
NewListApiKeysRequest generates requests for ListApiKeys
func NewListApprovalsRequest ¶
func NewListApprovalsRequest(server string, params *ListApprovalsParams) (*http.Request, error)
NewListApprovalsRequest generates requests for ListApprovals
func NewListAuditRequest ¶
func NewListAuditRequest(server string, params *ListAuditParams) (*http.Request, error)
NewListAuditRequest generates requests for ListAudit
func NewListComplianceAlertsRequest ¶
NewListComplianceAlertsRequest generates requests for ListComplianceAlerts
func NewListMandatesRequest ¶
NewListMandatesRequest generates requests for ListMandates
func NewListMerchantEarningsRequest ¶
func NewListMerchantEarningsRequest(server string, params *ListMerchantEarningsParams) (*http.Request, error)
NewListMerchantEarningsRequest generates requests for ListMerchantEarnings
func NewListOrganizationsRequest ¶
func NewListOrganizationsRequest(server string, params *ListOrganizationsParams) (*http.Request, error)
NewListOrganizationsRequest generates requests for ListOrganizations
func NewListPayoutsRequest ¶
func NewListPayoutsRequest(server string, params *ListPayoutsParams) (*http.Request, error)
NewListPayoutsRequest generates requests for ListPayouts
func NewListPoliciesRequest ¶
func NewListPoliciesRequest(server string, params *ListPoliciesParams) (*http.Request, error)
NewListPoliciesRequest generates requests for ListPolicies
func NewListRefundsRequest ¶
func NewListRefundsRequest(server string, params *ListRefundsParams) (*http.Request, error)
NewListRefundsRequest generates requests for ListRefunds
func NewListTransactionsRequest ¶
func NewListTransactionsRequest(server string, params *ListTransactionsParams) (*http.Request, error)
NewListTransactionsRequest generates requests for ListTransactions
func NewListWalletsRequest ¶
func NewListWalletsRequest(server string, params *ListWalletsParams) (*http.Request, error)
NewListWalletsRequest generates requests for ListWallets
func NewListWebhookSubscriptionsRequest ¶
NewListWebhookSubscriptionsRequest generates requests for ListWebhookSubscriptions
func NewMerchantAcceptTosRequest ¶
func NewMerchantAcceptTosRequest(server string, body MerchantAcceptTosJSONRequestBody) (*http.Request, error)
NewMerchantAcceptTosRequest calls the generic MerchantAcceptTos builder with application/json body
func NewMerchantAcceptTosRequestWithBody ¶
func NewMerchantAcceptTosRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMerchantAcceptTosRequestWithBody generates requests for MerchantAcceptTos with any type of body
func NewMerchantActivateRequest ¶
func NewMerchantActivateRequest(server string, body MerchantActivateJSONRequestBody) (*http.Request, error)
NewMerchantActivateRequest calls the generic MerchantActivate builder with application/json body
func NewMerchantActivateRequestWithBody ¶
func NewMerchantActivateRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMerchantActivateRequestWithBody generates requests for MerchantActivate with any type of body
func NewMerchantBalanceRequest ¶
NewMerchantBalanceRequest generates requests for MerchantBalance
func NewMerchantEarningsTimeseriesRequest ¶
func NewMerchantEarningsTimeseriesRequest(server string, params *MerchantEarningsTimeseriesParams) (*http.Request, error)
NewMerchantEarningsTimeseriesRequest generates requests for MerchantEarningsTimeseries
func NewMerchantEndpointStatsRequest ¶
func NewMerchantEndpointStatsRequest(server string, id string, params *MerchantEndpointStatsParams) (*http.Request, error)
NewMerchantEndpointStatsRequest generates requests for MerchantEndpointStats
func NewMerchantGetMeRequest ¶
NewMerchantGetMeRequest generates requests for MerchantGetMe
func NewMerchantListRefundsRequest ¶
func NewMerchantListRefundsRequest(server string, params *MerchantListRefundsParams) (*http.Request, error)
NewMerchantListRefundsRequest generates requests for MerchantListRefunds
func NewMerchantSignupRequest ¶
func NewMerchantSignupRequest(server string, body MerchantSignupJSONRequestBody) (*http.Request, error)
NewMerchantSignupRequest calls the generic MerchantSignup builder with application/json body
func NewMerchantSignupRequestWithBody ¶
func NewMerchantSignupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMerchantSignupRequestWithBody generates requests for MerchantSignup with any type of body
func NewMerchantTestPaymentRequest ¶
func NewMerchantTestPaymentRequest(server string, body MerchantTestPaymentJSONRequestBody) (*http.Request, error)
NewMerchantTestPaymentRequest calls the generic MerchantTestPayment builder with application/json body
func NewMerchantTestPaymentRequestWithBody ¶
func NewMerchantTestPaymentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMerchantTestPaymentRequestWithBody generates requests for MerchantTestPayment with any type of body
func NewMerchantWaitlistRequest ¶
func NewMerchantWaitlistRequest(server string, body MerchantWaitlistJSONRequestBody) (*http.Request, error)
NewMerchantWaitlistRequest calls the generic MerchantWaitlist builder with application/json body
func NewMerchantWaitlistRequestWithBody ¶
func NewMerchantWaitlistRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewMerchantWaitlistRequestWithBody generates requests for MerchantWaitlist with any type of body
func NewPreviewPolicyRequest ¶
func NewPreviewPolicyRequest(server string, body PreviewPolicyJSONRequestBody) (*http.Request, error)
NewPreviewPolicyRequest calls the generic PreviewPolicy builder with application/json body
func NewPreviewPolicyRequestWithBody ¶
func NewPreviewPolicyRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPreviewPolicyRequestWithBody generates requests for PreviewPolicy with any type of body
func NewProposePaymentRequest ¶
func NewProposePaymentRequest(server string, body ProposePaymentJSONRequestBody) (*http.Request, error)
NewProposePaymentRequest calls the generic ProposePayment builder with application/json body
func NewProposePaymentRequestWithBody ¶
func NewProposePaymentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewProposePaymentRequestWithBody generates requests for ProposePayment with any type of body
func NewReadyzRequest ¶
NewReadyzRequest generates requests for Readyz
func NewRecentActivityRequest ¶
NewRecentActivityRequest generates requests for RecentActivity
func NewRefundPaymentRequest ¶
func NewRefundPaymentRequest(server string, id string, body RefundPaymentJSONRequestBody) (*http.Request, error)
NewRefundPaymentRequest calls the generic RefundPayment builder with application/json body
func NewRefundPaymentRequestWithBody ¶
func NewRefundPaymentRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewRefundPaymentRequestWithBody generates requests for RefundPayment with any type of body
func NewResolveEnsRequest ¶
func NewResolveEnsRequest(server string, body ResolveEnsJSONRequestBody) (*http.Request, error)
NewResolveEnsRequest calls the generic ResolveEns builder with application/json body
func NewResolveEnsRequestWithBody ¶
func NewResolveEnsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewResolveEnsRequestWithBody generates requests for ResolveEns with any type of body
func NewRevokeApiKeyRequest ¶
NewRevokeApiKeyRequest generates requests for RevokeApiKey
func NewRotateAgentKeyRequest ¶
NewRotateAgentKeyRequest generates requests for RotateAgentKey
func NewSignupRequest ¶
func NewSignupRequest(server string, body SignupJSONRequestBody) (*http.Request, error)
NewSignupRequest calls the generic Signup builder with application/json body
func NewSignupRequestWithBody ¶
func NewSignupRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSignupRequestWithBody generates requests for Signup with any type of body
func NewUploadKybDocumentRequestWithBody ¶
func NewUploadKybDocumentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUploadKybDocumentRequestWithBody generates requests for UploadKybDocument with any type of body
func NewVerifyPaymentRequest ¶
func NewVerifyPaymentRequest(server string, body VerifyPaymentJSONRequestBody) (*http.Request, error)
NewVerifyPaymentRequest calls the generic VerifyPayment builder with application/json body
func NewVerifyPaymentRequestWithBody ¶
func NewVerifyPaymentRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewVerifyPaymentRequestWithBody generates requests for VerifyPayment with any type of body
func NewWithdrawWalletRequest ¶
func NewWithdrawWalletRequest(server string, id string, body WithdrawWalletJSONRequestBody) (*http.Request, error)
NewWithdrawWalletRequest calls the generic WithdrawWallet builder with application/json body
func NewWithdrawWalletRequestWithBody ¶
func NewWithdrawWalletRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewWithdrawWalletRequestWithBody generates requests for WithdrawWallet with any type of body
func NewX402VerifyRequest ¶
func NewX402VerifyRequest(server string, body X402VerifyJSONRequestBody) (*http.Request, error)
NewX402VerifyRequest calls the generic X402Verify builder with application/json body
Types ¶
type AcceptTosRequest ¶
type AcceptTosRequest struct {
TosVersion string `json:"tos_version"`
}
AcceptTosRequest defines model for AcceptTosRequest.
type ActivateRequest ¶
type ActivateRequest struct {
// BusinessType `"sole_prop"` | `"llc"` | `"corp"` | `"dao"` | `"other"`
BusinessType string `json:"business_type"`
// Chain Settlement chain for the payout wallet. Defaults to `"base"` when
// absent for backwards-compatibility. Must be a member of
// `merchants::LIVE_CHAINS`; non-live chains are rejected with a hint to
// use the waitlist endpoint.
Chain *string `json:"chain,omitempty"`
IpAddress *string `json:"ip_address,omitempty"`
Jurisdiction string `json:"jurisdiction"`
LegalName *string `json:"legal_name,omitempty"`
PayoutWalletAddress string `json:"payout_wallet_address"`
Token string `json:"token"`
TosVersion string `json:"tos_version"`
Website *string `json:"website,omitempty"`
}
ActivateRequest defines model for ActivateRequest.
type ActivateResponse ¶
type ActivateResponse struct {
// ApiKey Shown ONCE. Send as `Authorization: Bearer <api_key>` on subsequent
// merchant API calls.
ApiKey string `json:"api_key"`
ApiKeyPrefix string `json:"api_key_prefix"`
MerchantId openapi_types.UUID `json:"merchant_id"`
MerchantProfileId openapi_types.UUID `json:"merchant_profile_id"`
NextSteps string `json:"next_steps"`
OrgId openapi_types.UUID `json:"org_id"`
PayoutWalletId openapi_types.UUID `json:"payout_wallet_id"`
}
ActivateResponse defines model for ActivateResponse.
type ActivityItem ¶
type ActivityItem struct {
Amount *string `json:"amount,omitempty"`
CreatedAt time.Time `json:"createdAt"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
Status string `json:"status"`
Type string `json:"type"`
}
ActivityItem defines model for ActivityItem.
type AgentResponse ¶
type AgentResponse struct {
// ApiKeyPrefix API key prefix (first 8 chars) for identification.
ApiKeyPrefix string `json:"apiKeyPrefix"`
// CreatedAt When the agent was created (ISO 8601).
CreatedAt time.Time `json:"createdAt"`
// Description Agent description.
Description *string `json:"description,omitempty"`
// Id Unique agent identifier (`UUIDv7`).
Id openapi_types.UUID `json:"id"`
// Metadata Arbitrary metadata.
Metadata interface{} `json:"metadata"`
// Name Agent name.
Name string `json:"name"`
// OrganizationId Organization ID this agent belongs to.
OrganizationId openapi_types.UUID `json:"organizationId"`
// PolicyIds Policy IDs attached to this agent.
PolicyIds []string `json:"policyIds"`
// Status Agent status.
Status string `json:"status"`
// UpdatedAt When the agent was last updated (ISO 8601).
UpdatedAt time.Time `json:"updatedAt"`
// WalletId Wallet ID the agent is bound to.
WalletId openapi_types.UUID `json:"walletId"`
}
AgentResponse Agent resource returned by the API.
type AllocationItem ¶
type AllocationItem struct {
Balance float64 `json:"balance"`
Chain string `json:"chain"`
Currency string `json:"currency"`
Label string `json:"label"`
PercentOfTotal float64 `json:"percentOfTotal"`
WalletId openapi_types.UUID `json:"walletId"`
}
AllocationItem defines model for AllocationItem.
type ApiKeyResponse ¶
type ApiKeyResponse struct {
CreatedAt time.Time `json:"createdAt"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Id openapi_types.UUID `json:"id"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
// Permissions RBAC is not enforced on a per-key basis yet, but the dashboard
// shows a badge list. Returning `[]` keeps the UI happy.
Permissions []string `json:"permissions"`
Prefix string `json:"prefix"`
}
ApiKeyResponse JSON shape returned by GET/POST. Matches `web/src/lib/types.ts#ApiKey` (camelCase via the `rename_all`). `secret` only appears on the POST response — never on list/get.
type Approval ¶
type Approval struct {
AgentId openapi_types.UUID `json:"agentId"`
Amount string `json:"amount"`
CreatedAt time.Time `json:"createdAt"`
Currency string `json:"currency"`
ExpiresAt time.Time `json:"expiresAt"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
PaymentId openapi_types.UUID `json:"paymentId"`
Reason string `json:"reason"`
ReviewedBy *string `json:"reviewedBy,omitempty"`
Status string `json:"status"`
}
Approval defines model for Approval.
type ApprovePaymentHTTPResponse ¶
type ApprovePaymentHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaymentResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
JSON409 *ProblemDetails
JSON503 *ProblemDetails
}
func ParseApprovePaymentHTTPResponse ¶
func ParseApprovePaymentHTTPResponse(rsp *http.Response) (*ApprovePaymentHTTPResponse, error)
ParseApprovePaymentHTTPResponse parses an HTTP response from a ApprovePaymentWithResponse call
func (ApprovePaymentHTTPResponse) ContentType ¶
func (r ApprovePaymentHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ApprovePaymentHTTPResponse) Status ¶
func (r ApprovePaymentHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ApprovePaymentHTTPResponse) StatusCode ¶
func (r ApprovePaymentHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type AuditEntry ¶
type AuditEntry struct {
Action string `json:"action"`
ActorId string `json:"actorId"`
ActorType string `json:"actorType"`
CreatedAt time.Time `json:"createdAt"`
Details map[string]interface{} `json:"details"`
HashChainCurrent string `json:"hashChainCurrent"`
HashChainPrevious string `json:"hashChainPrevious"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
ResourceId string `json:"resourceId"`
ResourceType string `json:"resourceType"`
Verified bool `json:"verified"`
}
AuditEntry defines model for AuditEntry.
type BalanceResponse ¶
type BalanceResponse struct {
AvailableMicro int64 `json:"available_micro"`
Currency string `json:"currency"`
PendingMicro int64 `json:"pending_micro"`
}
BalanceResponse defines model for BalanceResponse.
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) ApprovePayment ¶
func (*Client) CreateAgent ¶
func (c *Client) CreateAgent(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateAgentWithBody ¶
func (*Client) CreateApiKey ¶
func (c *Client) CreateApiKey(ctx context.Context, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateApiKeyWithBody ¶
func (*Client) CreateOrganization ¶
func (c *Client) CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateOrganizationWithBody ¶
func (*Client) CreatePolicy ¶
func (c *Client) CreatePolicy(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreatePolicyWithBody ¶
func (*Client) CreateTransfer ¶
func (c *Client) CreateTransfer(ctx context.Context, body CreateTransferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateTransferWithBody ¶
func (*Client) CreateWallet ¶
func (c *Client) CreateWallet(ctx context.Context, body CreateWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWalletWithBody ¶
func (*Client) CreateWebhookSubscription ¶
func (c *Client) CreateWebhookSubscription(ctx context.Context, body CreateWebhookSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWebhookSubscriptionWithBody ¶
func (*Client) DashboardAllocation ¶
func (*Client) DashboardBalance ¶
func (c *Client) DashboardBalance(ctx context.Context, params *DashboardBalanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DashboardKpis ¶
func (*Client) DashboardStats ¶
func (*Client) DeleteWebhookSubscription ¶
func (*Client) ExportMerchantEarnings ¶
func (c *Client) ExportMerchantEarnings(ctx context.Context, params *ExportMerchantEarningsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FreezeWallet ¶
func (*Client) FundWallet ¶
func (c *Client) FundWallet(ctx context.Context, id string, body FundWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) FundWalletWithBody ¶
func (*Client) GetFxRate ¶
func (c *Client) GetFxRate(ctx context.Context, params *GetFxRateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetKybStatus ¶
func (*Client) GetMandateCoverage ¶
func (c *Client) GetMandateCoverage(ctx context.Context, params *GetMandateCoverageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetOrganization ¶
func (*Client) GetPayment ¶
func (*Client) GetTransfer ¶
func (*Client) HandleWebhook ¶
func (*Client) LinkWallet ¶
func (c *Client) LinkWallet(ctx context.Context, body LinkWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) LinkWalletWithBody ¶
func (*Client) ListAgents ¶
func (c *Client) ListAgents(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListApiKeys ¶
func (*Client) ListApprovals ¶
func (c *Client) ListApprovals(ctx context.Context, params *ListApprovalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAudit ¶
func (c *Client) ListAudit(ctx context.Context, params *ListAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListComplianceAlerts ¶
func (*Client) ListMandates ¶
func (*Client) ListMerchantEarnings ¶
func (c *Client) ListMerchantEarnings(ctx context.Context, params *ListMerchantEarningsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListOrganizations ¶
func (c *Client) ListOrganizations(ctx context.Context, params *ListOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPayouts ¶
func (c *Client) ListPayouts(ctx context.Context, params *ListPayoutsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPolicies ¶
func (c *Client) ListPolicies(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListRefunds ¶
func (c *Client) ListRefunds(ctx context.Context, params *ListRefundsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListTransactions ¶
func (c *Client) ListTransactions(ctx context.Context, params *ListTransactionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWallets ¶
func (c *Client) ListWallets(ctx context.Context, params *ListWalletsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWebhookSubscriptions ¶
func (*Client) MerchantAcceptTos ¶
func (c *Client) MerchantAcceptTos(ctx context.Context, body MerchantAcceptTosJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MerchantAcceptTosWithBody ¶
func (*Client) MerchantActivate ¶
func (c *Client) MerchantActivate(ctx context.Context, body MerchantActivateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MerchantActivateWithBody ¶
func (*Client) MerchantBalance ¶
func (*Client) MerchantEarningsTimeseries ¶
func (c *Client) MerchantEarningsTimeseries(ctx context.Context, params *MerchantEarningsTimeseriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MerchantEndpointStats ¶
func (c *Client) MerchantEndpointStats(ctx context.Context, id string, params *MerchantEndpointStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MerchantGetMe ¶
func (*Client) MerchantListRefunds ¶
func (c *Client) MerchantListRefunds(ctx context.Context, params *MerchantListRefundsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MerchantSignup ¶
func (c *Client) MerchantSignup(ctx context.Context, body MerchantSignupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MerchantSignupWithBody ¶
func (*Client) MerchantTestPayment ¶
func (c *Client) MerchantTestPayment(ctx context.Context, body MerchantTestPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MerchantTestPaymentWithBody ¶
func (*Client) MerchantWaitlist ¶
func (c *Client) MerchantWaitlist(ctx context.Context, body MerchantWaitlistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) MerchantWaitlistWithBody ¶
func (*Client) PreviewPolicy ¶
func (c *Client) PreviewPolicy(ctx context.Context, body PreviewPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PreviewPolicyWithBody ¶
func (*Client) ProposePayment ¶
func (c *Client) ProposePayment(ctx context.Context, body ProposePaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ProposePaymentWithBody ¶
func (*Client) RecentActivity ¶
func (*Client) RefundPayment ¶
func (c *Client) RefundPayment(ctx context.Context, id string, body RefundPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) RefundPaymentWithBody ¶
func (*Client) ResolveEns ¶
func (c *Client) ResolveEns(ctx context.Context, body ResolveEnsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ResolveEnsWithBody ¶
func (*Client) RevokeApiKey ¶
func (*Client) RotateAgentKey ¶
func (*Client) Signup ¶
func (c *Client) Signup(ctx context.Context, body SignupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SignupWithBody ¶
func (*Client) UploadKybDocumentWithBody ¶
func (*Client) VerifyPayment ¶
func (c *Client) VerifyPayment(ctx context.Context, body VerifyPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) VerifyPaymentWithBody ¶
func (*Client) WithdrawWallet ¶
func (c *Client) WithdrawWallet(ctx context.Context, id string, body WithdrawWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) WithdrawWalletWithBody ¶
func (*Client) X402Verify ¶
func (c *Client) X402Verify(ctx context.Context, body X402VerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// Healthz request
Healthz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// Readyz request
Readyz(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAgents request
ListAgents(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateAgentWithBody request with any body
CreateAgentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateAgent(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAgent request
GetAgent(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RotateAgentKey request
RotateAgentKey(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListApiKeys request
ListApiKeys(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateApiKeyWithBody request with any body
CreateApiKeyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateApiKey(ctx context.Context, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// RevokeApiKey request
RevokeApiKey(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListApprovals request
ListApprovals(ctx context.Context, params *ListApprovalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAudit request
ListAudit(ctx context.Context, params *ListAuditParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListComplianceAlerts request
ListComplianceAlerts(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// RecentActivity request
RecentActivity(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DashboardAllocation request
DashboardAllocation(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DashboardBalance request
DashboardBalance(ctx context.Context, params *DashboardBalanceParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DashboardKpis request
DashboardKpis(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DashboardStats request
DashboardStats(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetFxRate request
GetFxRate(ctx context.Context, params *GetFxRateParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMandates request
ListMandates(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMandateCoverage request
GetMandateCoverage(ctx context.Context, params *GetMandateCoverageParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetMe request
GetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// LinkWalletWithBody request with any body
LinkWalletWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
LinkWallet(ctx context.Context, body LinkWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ResolveEnsWithBody request with any body
ResolveEnsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ResolveEns(ctx context.Context, body ResolveEnsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantActivateWithBody request with any body
MerchantActivateWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MerchantActivate(ctx context.Context, body MerchantActivateJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantEndpointStats request
MerchantEndpointStats(ctx context.Context, id string, params *MerchantEndpointStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantGetMe request
MerchantGetMe(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantBalance request
MerchantBalance(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMerchantEarnings request
ListMerchantEarnings(ctx context.Context, params *ListMerchantEarningsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ExportMerchantEarnings request
ExportMerchantEarnings(ctx context.Context, params *ExportMerchantEarningsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantEarningsTimeseries request
MerchantEarningsTimeseries(ctx context.Context, params *MerchantEarningsTimeseriesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadKybDocumentWithBody request with any body
UploadKybDocumentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetKybStatus request
GetKybStatus(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantListRefunds request
MerchantListRefunds(ctx context.Context, params *MerchantListRefundsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantTestPaymentWithBody request with any body
MerchantTestPaymentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MerchantTestPayment(ctx context.Context, body MerchantTestPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantAcceptTosWithBody request with any body
MerchantAcceptTosWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MerchantAcceptTos(ctx context.Context, body MerchantAcceptTosJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantSignupWithBody request with any body
MerchantSignupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MerchantSignup(ctx context.Context, body MerchantSignupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// MerchantWaitlistWithBody request with any body
MerchantWaitlistWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
MerchantWaitlist(ctx context.Context, body MerchantWaitlistJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListOrganizations request
ListOrganizations(ctx context.Context, params *ListOrganizationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateOrganizationWithBody request with any body
CreateOrganizationWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateOrganization(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetOrganization request
GetOrganization(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ProposePaymentWithBody request with any body
ProposePaymentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ProposePayment(ctx context.Context, body ProposePaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// VerifyPaymentWithBody request with any body
VerifyPaymentWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
VerifyPayment(ctx context.Context, body VerifyPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPayment request
GetPayment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApprovePayment request
ApprovePayment(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// RefundPaymentWithBody request with any body
RefundPaymentWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
RefundPayment(ctx context.Context, id string, body RefundPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPayouts request
ListPayouts(ctx context.Context, params *ListPayoutsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPayout request
GetPayout(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPolicies request
ListPolicies(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreatePolicyWithBody request with any body
CreatePolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreatePolicy(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// PreviewPolicyWithBody request with any body
PreviewPolicyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PreviewPolicy(ctx context.Context, body PreviewPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPolicy request
GetPolicy(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListRefunds request
ListRefunds(ctx context.Context, params *ListRefundsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRefund request
GetRefund(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SignupWithBody request with any body
SignupWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
Signup(ctx context.Context, body SignupJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTransactions request
ListTransactions(ctx context.Context, params *ListTransactionsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateTransferWithBody request with any body
CreateTransferWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateTransfer(ctx context.Context, body CreateTransferJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTransfer request
GetTransfer(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWallets request
ListWallets(ctx context.Context, params *ListWalletsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWalletWithBody request with any body
CreateWalletWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWallet(ctx context.Context, body CreateWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWallet request
GetWallet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FreezeWallet request
FreezeWallet(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// FundWalletWithBody request with any body
FundWalletWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
FundWallet(ctx context.Context, id string, body FundWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// WithdrawWalletWithBody request with any body
WithdrawWalletWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
WithdrawWallet(ctx context.Context, id string, body WithdrawWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWebhookSubscriptions request
ListWebhookSubscriptions(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWebhookSubscriptionWithBody request with any body
CreateWebhookSubscriptionWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWebhookSubscription(ctx context.Context, body CreateWebhookSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWebhookSubscription request
DeleteWebhookSubscription(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// HandleWebhook request
HandleWebhook(ctx context.Context, vendor string, reqEditors ...RequestEditorFn) (*http.Response, error)
// X402VerifyWithBody request with any body
X402VerifyWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
X402Verify(ctx context.Context, body X402VerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ApprovePaymentWithResponse ¶
func (c *ClientWithResponses) ApprovePaymentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ApprovePaymentHTTPResponse, error)
ApprovePaymentWithResponse request returning *ApprovePaymentHTTPResponse
func (*ClientWithResponses) CreateAgentWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateAgentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentHTTPResponse, error)
CreateAgentWithBodyWithResponse request with arbitrary body returning *CreateAgentHTTPResponse
func (*ClientWithResponses) CreateAgentWithResponse ¶
func (c *ClientWithResponses) CreateAgentWithResponse(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentHTTPResponse, error)
func (*ClientWithResponses) CreateApiKeyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateApiKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyHTTPResponse, error)
CreateApiKeyWithBodyWithResponse request with arbitrary body returning *CreateApiKeyHTTPResponse
func (*ClientWithResponses) CreateApiKeyWithResponse ¶
func (c *ClientWithResponses) CreateApiKeyWithResponse(ctx context.Context, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyHTTPResponse, error)
func (*ClientWithResponses) CreateOrganizationWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationHTTPResponse, error)
CreateOrganizationWithBodyWithResponse request with arbitrary body returning *CreateOrganizationHTTPResponse
func (*ClientWithResponses) CreateOrganizationWithResponse ¶
func (c *ClientWithResponses) CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationHTTPResponse, error)
func (*ClientWithResponses) CreatePolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) CreatePolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePolicyHTTPResponse, error)
CreatePolicyWithBodyWithResponse request with arbitrary body returning *CreatePolicyHTTPResponse
func (*ClientWithResponses) CreatePolicyWithResponse ¶
func (c *ClientWithResponses) CreatePolicyWithResponse(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePolicyHTTPResponse, error)
func (*ClientWithResponses) CreateTransferWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateTransferWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTransferHTTPResponse, error)
CreateTransferWithBodyWithResponse request with arbitrary body returning *CreateTransferHTTPResponse
func (*ClientWithResponses) CreateTransferWithResponse ¶
func (c *ClientWithResponses) CreateTransferWithResponse(ctx context.Context, body CreateTransferJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTransferHTTPResponse, error)
func (*ClientWithResponses) CreateWalletWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWalletWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWalletHTTPResponse, error)
CreateWalletWithBodyWithResponse request with arbitrary body returning *CreateWalletHTTPResponse
func (*ClientWithResponses) CreateWalletWithResponse ¶
func (c *ClientWithResponses) CreateWalletWithResponse(ctx context.Context, body CreateWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWalletHTTPResponse, error)
func (*ClientWithResponses) CreateWebhookSubscriptionWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWebhookSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookSubscriptionHTTPResponse, error)
CreateWebhookSubscriptionWithBodyWithResponse request with arbitrary body returning *CreateWebhookSubscriptionHTTPResponse
func (*ClientWithResponses) CreateWebhookSubscriptionWithResponse ¶
func (c *ClientWithResponses) CreateWebhookSubscriptionWithResponse(ctx context.Context, body CreateWebhookSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookSubscriptionHTTPResponse, error)
func (*ClientWithResponses) DashboardAllocationWithResponse ¶
func (c *ClientWithResponses) DashboardAllocationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DashboardAllocationHTTPResponse, error)
DashboardAllocationWithResponse request returning *DashboardAllocationHTTPResponse
func (*ClientWithResponses) DashboardBalanceWithResponse ¶
func (c *ClientWithResponses) DashboardBalanceWithResponse(ctx context.Context, params *DashboardBalanceParams, reqEditors ...RequestEditorFn) (*DashboardBalanceHTTPResponse, error)
DashboardBalanceWithResponse request returning *DashboardBalanceHTTPResponse
func (*ClientWithResponses) DashboardKpisWithResponse ¶
func (c *ClientWithResponses) DashboardKpisWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DashboardKpisHTTPResponse, error)
DashboardKpisWithResponse request returning *DashboardKpisHTTPResponse
func (*ClientWithResponses) DashboardStatsWithResponse ¶
func (c *ClientWithResponses) DashboardStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DashboardStatsHTTPResponse, error)
DashboardStatsWithResponse request returning *DashboardStatsHTTPResponse
func (*ClientWithResponses) DeleteWebhookSubscriptionWithResponse ¶
func (c *ClientWithResponses) DeleteWebhookSubscriptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWebhookSubscriptionHTTPResponse, error)
DeleteWebhookSubscriptionWithResponse request returning *DeleteWebhookSubscriptionHTTPResponse
func (*ClientWithResponses) ExportMerchantEarningsWithResponse ¶
func (c *ClientWithResponses) ExportMerchantEarningsWithResponse(ctx context.Context, params *ExportMerchantEarningsParams, reqEditors ...RequestEditorFn) (*ExportMerchantEarningsHTTPResponse, error)
ExportMerchantEarningsWithResponse request returning *ExportMerchantEarningsHTTPResponse
func (*ClientWithResponses) FreezeWalletWithResponse ¶
func (c *ClientWithResponses) FreezeWalletWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FreezeWalletHTTPResponse, error)
FreezeWalletWithResponse request returning *FreezeWalletHTTPResponse
func (*ClientWithResponses) FundWalletWithBodyWithResponse ¶
func (c *ClientWithResponses) FundWalletWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FundWalletHTTPResponse, error)
FundWalletWithBodyWithResponse request with arbitrary body returning *FundWalletHTTPResponse
func (*ClientWithResponses) FundWalletWithResponse ¶
func (c *ClientWithResponses) FundWalletWithResponse(ctx context.Context, id string, body FundWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*FundWalletHTTPResponse, error)
func (*ClientWithResponses) GetAgentWithResponse ¶
func (c *ClientWithResponses) GetAgentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentHTTPResponse, error)
GetAgentWithResponse request returning *GetAgentHTTPResponse
func (*ClientWithResponses) GetFxRateWithResponse ¶
func (c *ClientWithResponses) GetFxRateWithResponse(ctx context.Context, params *GetFxRateParams, reqEditors ...RequestEditorFn) (*GetFxRateHTTPResponse, error)
GetFxRateWithResponse request returning *GetFxRateHTTPResponse
func (*ClientWithResponses) GetKybStatusWithResponse ¶
func (c *ClientWithResponses) GetKybStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKybStatusHTTPResponse, error)
GetKybStatusWithResponse request returning *GetKybStatusHTTPResponse
func (*ClientWithResponses) GetMandateCoverageWithResponse ¶
func (c *ClientWithResponses) GetMandateCoverageWithResponse(ctx context.Context, params *GetMandateCoverageParams, reqEditors ...RequestEditorFn) (*GetMandateCoverageHTTPResponse, error)
GetMandateCoverageWithResponse request returning *GetMandateCoverageHTTPResponse
func (*ClientWithResponses) GetMeWithResponse ¶
func (c *ClientWithResponses) GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeHTTPResponse, error)
GetMeWithResponse request returning *GetMeHTTPResponse
func (*ClientWithResponses) GetOrganizationWithResponse ¶
func (c *ClientWithResponses) GetOrganizationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationHTTPResponse, error)
GetOrganizationWithResponse request returning *GetOrganizationHTTPResponse
func (*ClientWithResponses) GetPaymentWithResponse ¶
func (c *ClientWithResponses) GetPaymentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPaymentHTTPResponse, error)
GetPaymentWithResponse request returning *GetPaymentHTTPResponse
func (*ClientWithResponses) GetPayoutWithResponse ¶
func (c *ClientWithResponses) GetPayoutWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPayoutHTTPResponse, error)
GetPayoutWithResponse request returning *GetPayoutHTTPResponse
func (*ClientWithResponses) GetPolicyWithResponse ¶
func (c *ClientWithResponses) GetPolicyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPolicyHTTPResponse, error)
GetPolicyWithResponse request returning *GetPolicyHTTPResponse
func (*ClientWithResponses) GetRefundWithResponse ¶
func (c *ClientWithResponses) GetRefundWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRefundHTTPResponse, error)
GetRefundWithResponse request returning *GetRefundHTTPResponse
func (*ClientWithResponses) GetTransferWithResponse ¶
func (c *ClientWithResponses) GetTransferWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTransferHTTPResponse, error)
GetTransferWithResponse request returning *GetTransferHTTPResponse
func (*ClientWithResponses) GetWalletWithResponse ¶
func (c *ClientWithResponses) GetWalletWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWalletHTTPResponse, error)
GetWalletWithResponse request returning *GetWalletHTTPResponse
func (*ClientWithResponses) HandleWebhookWithResponse ¶
func (c *ClientWithResponses) HandleWebhookWithResponse(ctx context.Context, vendor string, reqEditors ...RequestEditorFn) (*HandleWebhookHTTPResponse, error)
HandleWebhookWithResponse request returning *HandleWebhookHTTPResponse
func (*ClientWithResponses) HealthzWithResponse ¶
func (c *ClientWithResponses) HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthzHTTPResponse, error)
HealthzWithResponse request returning *HealthzHTTPResponse
func (*ClientWithResponses) LinkWalletWithBodyWithResponse ¶
func (c *ClientWithResponses) LinkWalletWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LinkWalletHTTPResponse, error)
LinkWalletWithBodyWithResponse request with arbitrary body returning *LinkWalletHTTPResponse
func (*ClientWithResponses) LinkWalletWithResponse ¶
func (c *ClientWithResponses) LinkWalletWithResponse(ctx context.Context, body LinkWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*LinkWalletHTTPResponse, error)
func (*ClientWithResponses) ListAgentsWithResponse ¶
func (c *ClientWithResponses) ListAgentsWithResponse(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*ListAgentsHTTPResponse, error)
ListAgentsWithResponse request returning *ListAgentsHTTPResponse
func (*ClientWithResponses) ListApiKeysWithResponse ¶
func (c *ClientWithResponses) ListApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListApiKeysHTTPResponse, error)
ListApiKeysWithResponse request returning *ListApiKeysHTTPResponse
func (*ClientWithResponses) ListApprovalsWithResponse ¶
func (c *ClientWithResponses) ListApprovalsWithResponse(ctx context.Context, params *ListApprovalsParams, reqEditors ...RequestEditorFn) (*ListApprovalsHTTPResponse, error)
ListApprovalsWithResponse request returning *ListApprovalsHTTPResponse
func (*ClientWithResponses) ListAuditWithResponse ¶
func (c *ClientWithResponses) ListAuditWithResponse(ctx context.Context, params *ListAuditParams, reqEditors ...RequestEditorFn) (*ListAuditHTTPResponse, error)
ListAuditWithResponse request returning *ListAuditHTTPResponse
func (*ClientWithResponses) ListComplianceAlertsWithResponse ¶
func (c *ClientWithResponses) ListComplianceAlertsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListComplianceAlertsHTTPResponse, error)
ListComplianceAlertsWithResponse request returning *ListComplianceAlertsHTTPResponse
func (*ClientWithResponses) ListMandatesWithResponse ¶
func (c *ClientWithResponses) ListMandatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMandatesHTTPResponse, error)
ListMandatesWithResponse request returning *ListMandatesHTTPResponse
func (*ClientWithResponses) ListMerchantEarningsWithResponse ¶
func (c *ClientWithResponses) ListMerchantEarningsWithResponse(ctx context.Context, params *ListMerchantEarningsParams, reqEditors ...RequestEditorFn) (*ListMerchantEarningsHTTPResponse, error)
ListMerchantEarningsWithResponse request returning *ListMerchantEarningsHTTPResponse
func (*ClientWithResponses) ListOrganizationsWithResponse ¶
func (c *ClientWithResponses) ListOrganizationsWithResponse(ctx context.Context, params *ListOrganizationsParams, reqEditors ...RequestEditorFn) (*ListOrganizationsHTTPResponse, error)
ListOrganizationsWithResponse request returning *ListOrganizationsHTTPResponse
func (*ClientWithResponses) ListPayoutsWithResponse ¶
func (c *ClientWithResponses) ListPayoutsWithResponse(ctx context.Context, params *ListPayoutsParams, reqEditors ...RequestEditorFn) (*ListPayoutsHTTPResponse, error)
ListPayoutsWithResponse request returning *ListPayoutsHTTPResponse
func (*ClientWithResponses) ListPoliciesWithResponse ¶
func (c *ClientWithResponses) ListPoliciesWithResponse(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*ListPoliciesHTTPResponse, error)
ListPoliciesWithResponse request returning *ListPoliciesHTTPResponse
func (*ClientWithResponses) ListRefundsWithResponse ¶
func (c *ClientWithResponses) ListRefundsWithResponse(ctx context.Context, params *ListRefundsParams, reqEditors ...RequestEditorFn) (*ListRefundsHTTPResponse, error)
ListRefundsWithResponse request returning *ListRefundsHTTPResponse
func (*ClientWithResponses) ListTransactionsWithResponse ¶
func (c *ClientWithResponses) ListTransactionsWithResponse(ctx context.Context, params *ListTransactionsParams, reqEditors ...RequestEditorFn) (*ListTransactionsHTTPResponse, error)
ListTransactionsWithResponse request returning *ListTransactionsHTTPResponse
func (*ClientWithResponses) ListWalletsWithResponse ¶
func (c *ClientWithResponses) ListWalletsWithResponse(ctx context.Context, params *ListWalletsParams, reqEditors ...RequestEditorFn) (*ListWalletsHTTPResponse, error)
ListWalletsWithResponse request returning *ListWalletsHTTPResponse
func (*ClientWithResponses) ListWebhookSubscriptionsWithResponse ¶
func (c *ClientWithResponses) ListWebhookSubscriptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWebhookSubscriptionsHTTPResponse, error)
ListWebhookSubscriptionsWithResponse request returning *ListWebhookSubscriptionsHTTPResponse
func (*ClientWithResponses) MerchantAcceptTosWithBodyWithResponse ¶
func (c *ClientWithResponses) MerchantAcceptTosWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantAcceptTosHTTPResponse, error)
MerchantAcceptTosWithBodyWithResponse request with arbitrary body returning *MerchantAcceptTosHTTPResponse
func (*ClientWithResponses) MerchantAcceptTosWithResponse ¶
func (c *ClientWithResponses) MerchantAcceptTosWithResponse(ctx context.Context, body MerchantAcceptTosJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantAcceptTosHTTPResponse, error)
func (*ClientWithResponses) MerchantActivateWithBodyWithResponse ¶
func (c *ClientWithResponses) MerchantActivateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantActivateHTTPResponse, error)
MerchantActivateWithBodyWithResponse request with arbitrary body returning *MerchantActivateHTTPResponse
func (*ClientWithResponses) MerchantActivateWithResponse ¶
func (c *ClientWithResponses) MerchantActivateWithResponse(ctx context.Context, body MerchantActivateJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantActivateHTTPResponse, error)
func (*ClientWithResponses) MerchantBalanceWithResponse ¶
func (c *ClientWithResponses) MerchantBalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MerchantBalanceHTTPResponse, error)
MerchantBalanceWithResponse request returning *MerchantBalanceHTTPResponse
func (*ClientWithResponses) MerchantEarningsTimeseriesWithResponse ¶
func (c *ClientWithResponses) MerchantEarningsTimeseriesWithResponse(ctx context.Context, params *MerchantEarningsTimeseriesParams, reqEditors ...RequestEditorFn) (*MerchantEarningsTimeseriesHTTPResponse, error)
MerchantEarningsTimeseriesWithResponse request returning *MerchantEarningsTimeseriesHTTPResponse
func (*ClientWithResponses) MerchantEndpointStatsWithResponse ¶
func (c *ClientWithResponses) MerchantEndpointStatsWithResponse(ctx context.Context, id string, params *MerchantEndpointStatsParams, reqEditors ...RequestEditorFn) (*MerchantEndpointStatsHTTPResponse, error)
MerchantEndpointStatsWithResponse request returning *MerchantEndpointStatsHTTPResponse
func (*ClientWithResponses) MerchantGetMeWithResponse ¶
func (c *ClientWithResponses) MerchantGetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MerchantGetMeHTTPResponse, error)
MerchantGetMeWithResponse request returning *MerchantGetMeHTTPResponse
func (*ClientWithResponses) MerchantListRefundsWithResponse ¶
func (c *ClientWithResponses) MerchantListRefundsWithResponse(ctx context.Context, params *MerchantListRefundsParams, reqEditors ...RequestEditorFn) (*MerchantListRefundsHTTPResponse, error)
MerchantListRefundsWithResponse request returning *MerchantListRefundsHTTPResponse
func (*ClientWithResponses) MerchantSignupWithBodyWithResponse ¶
func (c *ClientWithResponses) MerchantSignupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantSignupHTTPResponse, error)
MerchantSignupWithBodyWithResponse request with arbitrary body returning *MerchantSignupHTTPResponse
func (*ClientWithResponses) MerchantSignupWithResponse ¶
func (c *ClientWithResponses) MerchantSignupWithResponse(ctx context.Context, body MerchantSignupJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantSignupHTTPResponse, error)
func (*ClientWithResponses) MerchantTestPaymentWithBodyWithResponse ¶
func (c *ClientWithResponses) MerchantTestPaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantTestPaymentHTTPResponse, error)
MerchantTestPaymentWithBodyWithResponse request with arbitrary body returning *MerchantTestPaymentHTTPResponse
func (*ClientWithResponses) MerchantTestPaymentWithResponse ¶
func (c *ClientWithResponses) MerchantTestPaymentWithResponse(ctx context.Context, body MerchantTestPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantTestPaymentHTTPResponse, error)
func (*ClientWithResponses) MerchantWaitlistWithBodyWithResponse ¶
func (c *ClientWithResponses) MerchantWaitlistWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantWaitlistHTTPResponse, error)
MerchantWaitlistWithBodyWithResponse request with arbitrary body returning *MerchantWaitlistHTTPResponse
func (*ClientWithResponses) MerchantWaitlistWithResponse ¶
func (c *ClientWithResponses) MerchantWaitlistWithResponse(ctx context.Context, body MerchantWaitlistJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantWaitlistHTTPResponse, error)
func (*ClientWithResponses) PreviewPolicyWithBodyWithResponse ¶
func (c *ClientWithResponses) PreviewPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewPolicyHTTPResponse, error)
PreviewPolicyWithBodyWithResponse request with arbitrary body returning *PreviewPolicyHTTPResponse
func (*ClientWithResponses) PreviewPolicyWithResponse ¶
func (c *ClientWithResponses) PreviewPolicyWithResponse(ctx context.Context, body PreviewPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewPolicyHTTPResponse, error)
func (*ClientWithResponses) ProposePaymentWithBodyWithResponse ¶
func (c *ClientWithResponses) ProposePaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProposePaymentHTTPResponse, error)
ProposePaymentWithBodyWithResponse request with arbitrary body returning *ProposePaymentHTTPResponse
func (*ClientWithResponses) ProposePaymentWithResponse ¶
func (c *ClientWithResponses) ProposePaymentWithResponse(ctx context.Context, body ProposePaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*ProposePaymentHTTPResponse, error)
func (*ClientWithResponses) ReadyzWithResponse ¶
func (c *ClientWithResponses) ReadyzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadyzHTTPResponse, error)
ReadyzWithResponse request returning *ReadyzHTTPResponse
func (*ClientWithResponses) RecentActivityWithResponse ¶
func (c *ClientWithResponses) RecentActivityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RecentActivityHTTPResponse, error)
RecentActivityWithResponse request returning *RecentActivityHTTPResponse
func (*ClientWithResponses) RefundPaymentWithBodyWithResponse ¶
func (c *ClientWithResponses) RefundPaymentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefundPaymentHTTPResponse, error)
RefundPaymentWithBodyWithResponse request with arbitrary body returning *RefundPaymentHTTPResponse
func (*ClientWithResponses) RefundPaymentWithResponse ¶
func (c *ClientWithResponses) RefundPaymentWithResponse(ctx context.Context, id string, body RefundPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*RefundPaymentHTTPResponse, error)
func (*ClientWithResponses) ResolveEnsWithBodyWithResponse ¶
func (c *ClientWithResponses) ResolveEnsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveEnsHTTPResponse, error)
ResolveEnsWithBodyWithResponse request with arbitrary body returning *ResolveEnsHTTPResponse
func (*ClientWithResponses) ResolveEnsWithResponse ¶
func (c *ClientWithResponses) ResolveEnsWithResponse(ctx context.Context, body ResolveEnsJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveEnsHTTPResponse, error)
func (*ClientWithResponses) RevokeApiKeyWithResponse ¶
func (c *ClientWithResponses) RevokeApiKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RevokeApiKeyHTTPResponse, error)
RevokeApiKeyWithResponse request returning *RevokeApiKeyHTTPResponse
func (*ClientWithResponses) RotateAgentKeyWithResponse ¶
func (c *ClientWithResponses) RotateAgentKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RotateAgentKeyHTTPResponse, error)
RotateAgentKeyWithResponse request returning *RotateAgentKeyHTTPResponse
func (*ClientWithResponses) SignupWithBodyWithResponse ¶
func (c *ClientWithResponses) SignupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignupHTTPResponse, error)
SignupWithBodyWithResponse request with arbitrary body returning *SignupHTTPResponse
func (*ClientWithResponses) SignupWithResponse ¶
func (c *ClientWithResponses) SignupWithResponse(ctx context.Context, body SignupJSONRequestBody, reqEditors ...RequestEditorFn) (*SignupHTTPResponse, error)
func (*ClientWithResponses) UploadKybDocumentWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadKybDocumentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadKybDocumentHTTPResponse, error)
UploadKybDocumentWithBodyWithResponse request with arbitrary body returning *UploadKybDocumentHTTPResponse
func (*ClientWithResponses) VerifyPaymentWithBodyWithResponse ¶
func (c *ClientWithResponses) VerifyPaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyPaymentHTTPResponse, error)
VerifyPaymentWithBodyWithResponse request with arbitrary body returning *VerifyPaymentHTTPResponse
func (*ClientWithResponses) VerifyPaymentWithResponse ¶
func (c *ClientWithResponses) VerifyPaymentWithResponse(ctx context.Context, body VerifyPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyPaymentHTTPResponse, error)
func (*ClientWithResponses) WithdrawWalletWithBodyWithResponse ¶
func (c *ClientWithResponses) WithdrawWalletWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WithdrawWalletHTTPResponse, error)
WithdrawWalletWithBodyWithResponse request with arbitrary body returning *WithdrawWalletHTTPResponse
func (*ClientWithResponses) WithdrawWalletWithResponse ¶
func (c *ClientWithResponses) WithdrawWalletWithResponse(ctx context.Context, id string, body WithdrawWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*WithdrawWalletHTTPResponse, error)
func (*ClientWithResponses) X402VerifyWithBodyWithResponse ¶
func (c *ClientWithResponses) X402VerifyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*X402VerifyHTTPResponse, error)
X402VerifyWithBodyWithResponse request with arbitrary body returning *X402VerifyHTTPResponse
func (*ClientWithResponses) X402VerifyWithResponse ¶
func (c *ClientWithResponses) X402VerifyWithResponse(ctx context.Context, body X402VerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*X402VerifyHTTPResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// HealthzWithResponse request
HealthzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*HealthzHTTPResponse, error)
// ReadyzWithResponse request
ReadyzWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ReadyzHTTPResponse, error)
// ListAgentsWithResponse request
ListAgentsWithResponse(ctx context.Context, params *ListAgentsParams, reqEditors ...RequestEditorFn) (*ListAgentsHTTPResponse, error)
// CreateAgentWithBodyWithResponse request with any body
CreateAgentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateAgentHTTPResponse, error)
CreateAgentWithResponse(ctx context.Context, body CreateAgentJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateAgentHTTPResponse, error)
// GetAgentWithResponse request
GetAgentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAgentHTTPResponse, error)
// RotateAgentKeyWithResponse request
RotateAgentKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RotateAgentKeyHTTPResponse, error)
// ListApiKeysWithResponse request
ListApiKeysWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListApiKeysHTTPResponse, error)
// CreateApiKeyWithBodyWithResponse request with any body
CreateApiKeyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateApiKeyHTTPResponse, error)
CreateApiKeyWithResponse(ctx context.Context, body CreateApiKeyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateApiKeyHTTPResponse, error)
// RevokeApiKeyWithResponse request
RevokeApiKeyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*RevokeApiKeyHTTPResponse, error)
// ListApprovalsWithResponse request
ListApprovalsWithResponse(ctx context.Context, params *ListApprovalsParams, reqEditors ...RequestEditorFn) (*ListApprovalsHTTPResponse, error)
// ListAuditWithResponse request
ListAuditWithResponse(ctx context.Context, params *ListAuditParams, reqEditors ...RequestEditorFn) (*ListAuditHTTPResponse, error)
// ListComplianceAlertsWithResponse request
ListComplianceAlertsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListComplianceAlertsHTTPResponse, error)
// RecentActivityWithResponse request
RecentActivityWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*RecentActivityHTTPResponse, error)
// DashboardAllocationWithResponse request
DashboardAllocationWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DashboardAllocationHTTPResponse, error)
// DashboardBalanceWithResponse request
DashboardBalanceWithResponse(ctx context.Context, params *DashboardBalanceParams, reqEditors ...RequestEditorFn) (*DashboardBalanceHTTPResponse, error)
// DashboardKpisWithResponse request
DashboardKpisWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DashboardKpisHTTPResponse, error)
// DashboardStatsWithResponse request
DashboardStatsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DashboardStatsHTTPResponse, error)
// GetFxRateWithResponse request
GetFxRateWithResponse(ctx context.Context, params *GetFxRateParams, reqEditors ...RequestEditorFn) (*GetFxRateHTTPResponse, error)
// ListMandatesWithResponse request
ListMandatesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListMandatesHTTPResponse, error)
// GetMandateCoverageWithResponse request
GetMandateCoverageWithResponse(ctx context.Context, params *GetMandateCoverageParams, reqEditors ...RequestEditorFn) (*GetMandateCoverageHTTPResponse, error)
// GetMeWithResponse request
GetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetMeHTTPResponse, error)
// LinkWalletWithBodyWithResponse request with any body
LinkWalletWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*LinkWalletHTTPResponse, error)
LinkWalletWithResponse(ctx context.Context, body LinkWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*LinkWalletHTTPResponse, error)
// ResolveEnsWithBodyWithResponse request with any body
ResolveEnsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ResolveEnsHTTPResponse, error)
ResolveEnsWithResponse(ctx context.Context, body ResolveEnsJSONRequestBody, reqEditors ...RequestEditorFn) (*ResolveEnsHTTPResponse, error)
// MerchantActivateWithBodyWithResponse request with any body
MerchantActivateWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantActivateHTTPResponse, error)
MerchantActivateWithResponse(ctx context.Context, body MerchantActivateJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantActivateHTTPResponse, error)
// MerchantEndpointStatsWithResponse request
MerchantEndpointStatsWithResponse(ctx context.Context, id string, params *MerchantEndpointStatsParams, reqEditors ...RequestEditorFn) (*MerchantEndpointStatsHTTPResponse, error)
// MerchantGetMeWithResponse request
MerchantGetMeWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MerchantGetMeHTTPResponse, error)
// MerchantBalanceWithResponse request
MerchantBalanceWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*MerchantBalanceHTTPResponse, error)
// ListMerchantEarningsWithResponse request
ListMerchantEarningsWithResponse(ctx context.Context, params *ListMerchantEarningsParams, reqEditors ...RequestEditorFn) (*ListMerchantEarningsHTTPResponse, error)
// ExportMerchantEarningsWithResponse request
ExportMerchantEarningsWithResponse(ctx context.Context, params *ExportMerchantEarningsParams, reqEditors ...RequestEditorFn) (*ExportMerchantEarningsHTTPResponse, error)
// MerchantEarningsTimeseriesWithResponse request
MerchantEarningsTimeseriesWithResponse(ctx context.Context, params *MerchantEarningsTimeseriesParams, reqEditors ...RequestEditorFn) (*MerchantEarningsTimeseriesHTTPResponse, error)
// UploadKybDocumentWithBodyWithResponse request with any body
UploadKybDocumentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadKybDocumentHTTPResponse, error)
// GetKybStatusWithResponse request
GetKybStatusWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetKybStatusHTTPResponse, error)
// MerchantListRefundsWithResponse request
MerchantListRefundsWithResponse(ctx context.Context, params *MerchantListRefundsParams, reqEditors ...RequestEditorFn) (*MerchantListRefundsHTTPResponse, error)
// MerchantTestPaymentWithBodyWithResponse request with any body
MerchantTestPaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantTestPaymentHTTPResponse, error)
MerchantTestPaymentWithResponse(ctx context.Context, body MerchantTestPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantTestPaymentHTTPResponse, error)
// MerchantAcceptTosWithBodyWithResponse request with any body
MerchantAcceptTosWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantAcceptTosHTTPResponse, error)
MerchantAcceptTosWithResponse(ctx context.Context, body MerchantAcceptTosJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantAcceptTosHTTPResponse, error)
// MerchantSignupWithBodyWithResponse request with any body
MerchantSignupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantSignupHTTPResponse, error)
MerchantSignupWithResponse(ctx context.Context, body MerchantSignupJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantSignupHTTPResponse, error)
// MerchantWaitlistWithBodyWithResponse request with any body
MerchantWaitlistWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*MerchantWaitlistHTTPResponse, error)
MerchantWaitlistWithResponse(ctx context.Context, body MerchantWaitlistJSONRequestBody, reqEditors ...RequestEditorFn) (*MerchantWaitlistHTTPResponse, error)
// ListOrganizationsWithResponse request
ListOrganizationsWithResponse(ctx context.Context, params *ListOrganizationsParams, reqEditors ...RequestEditorFn) (*ListOrganizationsHTTPResponse, error)
// CreateOrganizationWithBodyWithResponse request with any body
CreateOrganizationWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateOrganizationHTTPResponse, error)
CreateOrganizationWithResponse(ctx context.Context, body CreateOrganizationJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateOrganizationHTTPResponse, error)
// GetOrganizationWithResponse request
GetOrganizationWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetOrganizationHTTPResponse, error)
// ProposePaymentWithBodyWithResponse request with any body
ProposePaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ProposePaymentHTTPResponse, error)
ProposePaymentWithResponse(ctx context.Context, body ProposePaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*ProposePaymentHTTPResponse, error)
// VerifyPaymentWithBodyWithResponse request with any body
VerifyPaymentWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*VerifyPaymentHTTPResponse, error)
VerifyPaymentWithResponse(ctx context.Context, body VerifyPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*VerifyPaymentHTTPResponse, error)
// GetPaymentWithResponse request
GetPaymentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPaymentHTTPResponse, error)
// ApprovePaymentWithResponse request
ApprovePaymentWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ApprovePaymentHTTPResponse, error)
// RefundPaymentWithBodyWithResponse request with any body
RefundPaymentWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*RefundPaymentHTTPResponse, error)
RefundPaymentWithResponse(ctx context.Context, id string, body RefundPaymentJSONRequestBody, reqEditors ...RequestEditorFn) (*RefundPaymentHTTPResponse, error)
// ListPayoutsWithResponse request
ListPayoutsWithResponse(ctx context.Context, params *ListPayoutsParams, reqEditors ...RequestEditorFn) (*ListPayoutsHTTPResponse, error)
// GetPayoutWithResponse request
GetPayoutWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPayoutHTTPResponse, error)
// ListPoliciesWithResponse request
ListPoliciesWithResponse(ctx context.Context, params *ListPoliciesParams, reqEditors ...RequestEditorFn) (*ListPoliciesHTTPResponse, error)
// CreatePolicyWithBodyWithResponse request with any body
CreatePolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreatePolicyHTTPResponse, error)
CreatePolicyWithResponse(ctx context.Context, body CreatePolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*CreatePolicyHTTPResponse, error)
// PreviewPolicyWithBodyWithResponse request with any body
PreviewPolicyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PreviewPolicyHTTPResponse, error)
PreviewPolicyWithResponse(ctx context.Context, body PreviewPolicyJSONRequestBody, reqEditors ...RequestEditorFn) (*PreviewPolicyHTTPResponse, error)
// GetPolicyWithResponse request
GetPolicyWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPolicyHTTPResponse, error)
// ListRefundsWithResponse request
ListRefundsWithResponse(ctx context.Context, params *ListRefundsParams, reqEditors ...RequestEditorFn) (*ListRefundsHTTPResponse, error)
// GetRefundWithResponse request
GetRefundWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetRefundHTTPResponse, error)
// SignupWithBodyWithResponse request with any body
SignupWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SignupHTTPResponse, error)
SignupWithResponse(ctx context.Context, body SignupJSONRequestBody, reqEditors ...RequestEditorFn) (*SignupHTTPResponse, error)
// ListTransactionsWithResponse request
ListTransactionsWithResponse(ctx context.Context, params *ListTransactionsParams, reqEditors ...RequestEditorFn) (*ListTransactionsHTTPResponse, error)
// CreateTransferWithBodyWithResponse request with any body
CreateTransferWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateTransferHTTPResponse, error)
CreateTransferWithResponse(ctx context.Context, body CreateTransferJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateTransferHTTPResponse, error)
// GetTransferWithResponse request
GetTransferWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTransferHTTPResponse, error)
// ListWalletsWithResponse request
ListWalletsWithResponse(ctx context.Context, params *ListWalletsParams, reqEditors ...RequestEditorFn) (*ListWalletsHTTPResponse, error)
// CreateWalletWithBodyWithResponse request with any body
CreateWalletWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWalletHTTPResponse, error)
CreateWalletWithResponse(ctx context.Context, body CreateWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWalletHTTPResponse, error)
// GetWalletWithResponse request
GetWalletWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWalletHTTPResponse, error)
// FreezeWalletWithResponse request
FreezeWalletWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*FreezeWalletHTTPResponse, error)
// FundWalletWithBodyWithResponse request with any body
FundWalletWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*FundWalletHTTPResponse, error)
FundWalletWithResponse(ctx context.Context, id string, body FundWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*FundWalletHTTPResponse, error)
// WithdrawWalletWithBodyWithResponse request with any body
WithdrawWalletWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*WithdrawWalletHTTPResponse, error)
WithdrawWalletWithResponse(ctx context.Context, id string, body WithdrawWalletJSONRequestBody, reqEditors ...RequestEditorFn) (*WithdrawWalletHTTPResponse, error)
// ListWebhookSubscriptionsWithResponse request
ListWebhookSubscriptionsWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListWebhookSubscriptionsHTTPResponse, error)
// CreateWebhookSubscriptionWithBodyWithResponse request with any body
CreateWebhookSubscriptionWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWebhookSubscriptionHTTPResponse, error)
CreateWebhookSubscriptionWithResponse(ctx context.Context, body CreateWebhookSubscriptionJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWebhookSubscriptionHTTPResponse, error)
// DeleteWebhookSubscriptionWithResponse request
DeleteWebhookSubscriptionWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteWebhookSubscriptionHTTPResponse, error)
// HandleWebhookWithResponse request
HandleWebhookWithResponse(ctx context.Context, vendor string, reqEditors ...RequestEditorFn) (*HandleWebhookHTTPResponse, error)
// X402VerifyWithBodyWithResponse request with any body
X402VerifyWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*X402VerifyHTTPResponse, error)
X402VerifyWithResponse(ctx context.Context, body X402VerifyJSONRequestBody, reqEditors ...RequestEditorFn) (*X402VerifyHTTPResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type ComplianceAlert ¶
type ComplianceAlert struct {
CreatedAt time.Time `json:"createdAt"`
Description string `json:"description"`
Id openapi_types.UUID `json:"id"`
OrganizationId openapi_types.UUID `json:"organizationId"`
RelatedTransactionIds []openapi_types.UUID `json:"relatedTransactionIds"`
Severity string `json:"severity"`
Status string `json:"status"`
Type string `json:"type"`
UpdatedAt time.Time `json:"updatedAt"`
}
ComplianceAlert defines model for ComplianceAlert.
type CreateAgentHTTPResponse ¶
type CreateAgentHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *AgentResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseCreateAgentHTTPResponse ¶
func ParseCreateAgentHTTPResponse(rsp *http.Response) (*CreateAgentHTTPResponse, error)
ParseCreateAgentHTTPResponse parses an HTTP response from a CreateAgentWithResponse call
func (CreateAgentHTTPResponse) ContentType ¶
func (r CreateAgentHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateAgentHTTPResponse) Status ¶
func (r CreateAgentHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (CreateAgentHTTPResponse) StatusCode ¶
func (r CreateAgentHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateAgentJSONRequestBody ¶
type CreateAgentJSONRequestBody = CreateAgentRequest
CreateAgentJSONRequestBody defines body for CreateAgent for application/json ContentType.
type CreateAgentRequest ¶
type CreateAgentRequest struct {
// Description Optional description of the agent's purpose.
Description *string `json:"description,omitempty"`
// Name Human-readable name for the agent.
Name string `json:"name"`
// WalletId ID of the wallet this agent is authorized to use.
WalletId openapi_types.UUID `json:"wallet_id"`
}
CreateAgentRequest Request body for creating a new AI agent.
type CreateApiKeyBody ¶
type CreateApiKeyBody struct {
Name string `json:"name"`
// Permissions Currently ignored (no RBAC column on `api_keys`); echoed back on
// the response so the dashboard's optimistic-update UX is consistent.
Permissions *[]string `json:"permissions,omitempty"`
}
CreateApiKeyBody defines model for CreateApiKeyBody.
type CreateApiKeyHTTPResponse ¶
type CreateApiKeyHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *CreateApiKeyResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseCreateApiKeyHTTPResponse ¶
func ParseCreateApiKeyHTTPResponse(rsp *http.Response) (*CreateApiKeyHTTPResponse, error)
ParseCreateApiKeyHTTPResponse parses an HTTP response from a CreateApiKeyWithResponse call
func (CreateApiKeyHTTPResponse) ContentType ¶
func (r CreateApiKeyHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateApiKeyHTTPResponse) Status ¶
func (r CreateApiKeyHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (CreateApiKeyHTTPResponse) StatusCode ¶
func (r CreateApiKeyHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateApiKeyJSONRequestBody ¶
type CreateApiKeyJSONRequestBody = CreateApiKeyBody
CreateApiKeyJSONRequestBody defines body for CreateApiKey for application/json ContentType.
type CreateApiKeyResponse ¶
type CreateApiKeyResponse struct {
CreatedAt time.Time `json:"createdAt"`
ExpiresAt *time.Time `json:"expiresAt,omitempty"`
Id openapi_types.UUID `json:"id"`
LastUsedAt *time.Time `json:"lastUsedAt,omitempty"`
Name string `json:"name"`
OrganizationId openapi_types.UUID `json:"organizationId"`
// Permissions RBAC is not enforced on a per-key basis yet, but the dashboard
// shows a badge list. Returning `[]` keeps the UI happy.
Permissions []string `json:"permissions"`
Prefix string `json:"prefix"`
// Secret Plaintext key. Show once, store hashed copy server-side.
Secret string `json:"secret"`
}
CreateApiKeyResponse defines model for CreateApiKeyResponse.
type CreateOrganizationHTTPResponse ¶
type CreateOrganizationHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *OrganizationResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseCreateOrganizationHTTPResponse ¶
func ParseCreateOrganizationHTTPResponse(rsp *http.Response) (*CreateOrganizationHTTPResponse, error)
ParseCreateOrganizationHTTPResponse parses an HTTP response from a CreateOrganizationWithResponse call
func (CreateOrganizationHTTPResponse) ContentType ¶
func (r CreateOrganizationHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateOrganizationHTTPResponse) Status ¶
func (r CreateOrganizationHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (CreateOrganizationHTTPResponse) StatusCode ¶
func (r CreateOrganizationHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateOrganizationJSONRequestBody ¶
type CreateOrganizationJSONRequestBody = CreateOrganizationRequest
CreateOrganizationJSONRequestBody defines body for CreateOrganization for application/json ContentType.
type CreateOrganizationRequest ¶
type CreateOrganizationRequest struct {
// Country ISO 3166-1 alpha-2 country code (e.g., "ZA", "NG", "KE").
Country string `json:"country"`
// Name Display name for the organization.
Name string `json:"name"`
}
CreateOrganizationRequest Request body for creating a new organization (tenant).
type CreatePolicyHTTPResponse ¶
type CreatePolicyHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *PolicyResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseCreatePolicyHTTPResponse ¶
func ParseCreatePolicyHTTPResponse(rsp *http.Response) (*CreatePolicyHTTPResponse, error)
ParseCreatePolicyHTTPResponse parses an HTTP response from a CreatePolicyWithResponse call
func (CreatePolicyHTTPResponse) ContentType ¶
func (r CreatePolicyHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreatePolicyHTTPResponse) Status ¶
func (r CreatePolicyHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (CreatePolicyHTTPResponse) StatusCode ¶
func (r CreatePolicyHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreatePolicyJSONRequestBody ¶
type CreatePolicyJSONRequestBody = CreatePolicyRequest
CreatePolicyJSONRequestBody defines body for CreatePolicy for application/json ContentType.
type CreatePolicyRequest ¶
type CreatePolicyRequest struct {
// AgentIds IDs of agents this policy applies to.
AgentIds []string `json:"agent_ids"`
// Description Policy description.
Description *string `json:"description,omitempty"`
// Name Human-readable policy name.
Name string `json:"name"`
// Rules Policy rules encoded as JSON.
//
// Supports: `max_per_tx`, `daily_limit`, `allowed_destinations`,
// `time_window`, `velocity`.
Rules map[string]interface{} `json:"rules"`
}
CreatePolicyRequest Request body for creating a spend policy.
type CreateTransferBody ¶
type CreateTransferBody struct {
Amount string `json:"amount"`
Currency *string `json:"currency,omitempty"`
DestinationAddress *string `json:"destinationAddress,omitempty"`
DestinationWalletId *openapi_types.UUID `json:"destinationWalletId,omitempty"`
// Mode "send" | "schedule" — only "send" is honored in v1.
Mode *string `json:"mode,omitempty"`
// Recurrence As above — RRULE-style recurrence is v1.1.
Recurrence *string `json:"recurrence,omitempty"`
// ScheduledAt Accepted for forward compatibility (scheduled transfers are
// v1.1) — currently logged-but-ignored.
ScheduledAt *time.Time `json:"scheduledAt,omitempty"`
SourceWalletId openapi_types.UUID `json:"sourceWalletId"`
}
CreateTransferBody Inbound shape — mirrors `web/src/app/_hooks/right/use-submit-transfer.ts`.
type CreateTransferHTTPResponse ¶
type CreateTransferHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *CreateTransferResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseCreateTransferHTTPResponse ¶
func ParseCreateTransferHTTPResponse(rsp *http.Response) (*CreateTransferHTTPResponse, error)
ParseCreateTransferHTTPResponse parses an HTTP response from a CreateTransferWithResponse call
func (CreateTransferHTTPResponse) ContentType ¶
func (r CreateTransferHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateTransferHTTPResponse) Status ¶
func (r CreateTransferHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (CreateTransferHTTPResponse) StatusCode ¶
func (r CreateTransferHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateTransferJSONRequestBody ¶
type CreateTransferJSONRequestBody = CreateTransferBody
CreateTransferJSONRequestBody defines body for CreateTransfer for application/json ContentType.
type CreateTransferResponse ¶
type CreateTransferResponse struct {
// Status "pending" | "processing" | "completed" | "failed".
Status string `json:"status"`
TransferId openapi_types.UUID `json:"transferId"`
}
CreateTransferResponse Response shape — matches `TransferResult` in the same hook file.
type CreateWalletHTTPResponse ¶
type CreateWalletHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *WalletResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseCreateWalletHTTPResponse ¶
func ParseCreateWalletHTTPResponse(rsp *http.Response) (*CreateWalletHTTPResponse, error)
ParseCreateWalletHTTPResponse parses an HTTP response from a CreateWalletWithResponse call
func (CreateWalletHTTPResponse) ContentType ¶
func (r CreateWalletHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateWalletHTTPResponse) Status ¶
func (r CreateWalletHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWalletHTTPResponse) StatusCode ¶
func (r CreateWalletHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWalletJSONRequestBody ¶
type CreateWalletJSONRequestBody = CreateWalletRequest
CreateWalletJSONRequestBody defines body for CreateWallet for application/json ContentType.
type CreateWalletRequest ¶
type CreateWalletRequest struct {
// Chain Target blockchain network (e.g., "base-mainnet", "base-sepolia").
Chain string `json:"chain"`
// Label Human-readable label for the wallet.
Label string `json:"label"`
}
CreateWalletRequest Request body for creating a new wallet.
type CreateWebhookRequest ¶
type CreateWebhookRequest struct {
// Description Optional human label so customers can identify webhooks in the UI.
Description *string `json:"description,omitempty"`
// EventTypes Event types to subscribe to. Send `["*"]` for all events.
//
// Subscribable event types (non-exhaustive; the delivery worker uses
// dynamic `event_type` match against the subscription's `event_types`
// array — see `payments/src/webhooks.rs::fanout_batch`):
// - `payment.submitted`, `payment.confirming`, `payment.settled`,
// `payment.denied`, `payment.pending_approval`, `payment.approved`,
// `payment.refunded`
// - `merchant.*` (`signed_up`, `activated`, `suspended`, ...)
// - `payout.initiated` (P6)
// - `payout.settled` (P6)
// - `payout.failed` (P6)
//
// Note: this list is documentation only — the worker matches
// `event_types` as a string allow-list, so customers can also
// subscribe to types we add later without a code change.
EventTypes []string `json:"event_types"`
// Url HTTPS URL we POST to on each matching event. http:// allowed in
// dev but logged with a warning.
Url string `json:"url"`
}
CreateWebhookRequest defines model for CreateWebhookRequest.
type CreateWebhookSubscriptionHTTPResponse ¶
type CreateWebhookSubscriptionHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *WebhookResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseCreateWebhookSubscriptionHTTPResponse ¶
func ParseCreateWebhookSubscriptionHTTPResponse(rsp *http.Response) (*CreateWebhookSubscriptionHTTPResponse, error)
ParseCreateWebhookSubscriptionHTTPResponse parses an HTTP response from a CreateWebhookSubscriptionWithResponse call
func (CreateWebhookSubscriptionHTTPResponse) ContentType ¶
func (r CreateWebhookSubscriptionHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (CreateWebhookSubscriptionHTTPResponse) Status ¶
func (r CreateWebhookSubscriptionHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (CreateWebhookSubscriptionHTTPResponse) StatusCode ¶
func (r CreateWebhookSubscriptionHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWebhookSubscriptionJSONRequestBody ¶
type CreateWebhookSubscriptionJSONRequestBody = CreateWebhookRequest
CreateWebhookSubscriptionJSONRequestBody defines body for CreateWebhookSubscription for application/json ContentType.
type DailyKpis ¶
type DailyKpis struct {
OpenAlerts int64 `json:"openAlerts"`
PendingApprovals int64 `json:"pendingApprovals"`
TodaySpend float64 `json:"todaySpend"`
}
DailyKpis defines model for DailyKpis.
type DashboardAllocationHTTPResponse ¶
type DashboardAllocationHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]AllocationItem
JSON401 *ProblemDetails
}
func ParseDashboardAllocationHTTPResponse ¶
func ParseDashboardAllocationHTTPResponse(rsp *http.Response) (*DashboardAllocationHTTPResponse, error)
ParseDashboardAllocationHTTPResponse parses an HTTP response from a DashboardAllocationWithResponse call
func (DashboardAllocationHTTPResponse) ContentType ¶
func (r DashboardAllocationHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DashboardAllocationHTTPResponse) Status ¶
func (r DashboardAllocationHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (DashboardAllocationHTTPResponse) StatusCode ¶
func (r DashboardAllocationHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DashboardBalanceHTTPResponse ¶
type DashboardBalanceHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *OrgBalance
JSON401 *ProblemDetails
}
func ParseDashboardBalanceHTTPResponse ¶
func ParseDashboardBalanceHTTPResponse(rsp *http.Response) (*DashboardBalanceHTTPResponse, error)
ParseDashboardBalanceHTTPResponse parses an HTTP response from a DashboardBalanceWithResponse call
func (DashboardBalanceHTTPResponse) ContentType ¶
func (r DashboardBalanceHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DashboardBalanceHTTPResponse) Status ¶
func (r DashboardBalanceHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (DashboardBalanceHTTPResponse) StatusCode ¶
func (r DashboardBalanceHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DashboardBalanceParams ¶
type DashboardBalanceParams struct {
// Range Time window for the balance history. Accepts `1H`, `1D`, `1W`, `1M`, `1Y`.
Range *string `form:"range,omitempty" json:"range,omitempty"`
}
DashboardBalanceParams defines parameters for DashboardBalance.
type DashboardKpisHTTPResponse ¶
type DashboardKpisHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DailyKpis
JSON401 *ProblemDetails
}
func ParseDashboardKpisHTTPResponse ¶
func ParseDashboardKpisHTTPResponse(rsp *http.Response) (*DashboardKpisHTTPResponse, error)
ParseDashboardKpisHTTPResponse parses an HTTP response from a DashboardKpisWithResponse call
func (DashboardKpisHTTPResponse) ContentType ¶
func (r DashboardKpisHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DashboardKpisHTTPResponse) Status ¶
func (r DashboardKpisHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (DashboardKpisHTTPResponse) StatusCode ¶
func (r DashboardKpisHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DashboardStats ¶
type DashboardStats struct {
ActiveAgents int64 `json:"activeAgents"`
AgentChange24h int64 `json:"agentChange24h"`
BalanceChange24h float64 `json:"balanceChange24h"`
PendingApprovals int64 `json:"pendingApprovals"`
TotalBalance float64 `json:"totalBalance"`
TransactionsToday int64 `json:"transactionsToday"`
}
DashboardStats defines model for DashboardStats.
type DashboardStatsHTTPResponse ¶
type DashboardStatsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *DashboardStats
JSON401 *ProblemDetails
}
func ParseDashboardStatsHTTPResponse ¶
func ParseDashboardStatsHTTPResponse(rsp *http.Response) (*DashboardStatsHTTPResponse, error)
ParseDashboardStatsHTTPResponse parses an HTTP response from a DashboardStatsWithResponse call
func (DashboardStatsHTTPResponse) ContentType ¶
func (r DashboardStatsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DashboardStatsHTTPResponse) Status ¶
func (r DashboardStatsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (DashboardStatsHTTPResponse) StatusCode ¶
func (r DashboardStatsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWebhookSubscriptionHTTPResponse ¶
type DeleteWebhookSubscriptionHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseDeleteWebhookSubscriptionHTTPResponse ¶
func ParseDeleteWebhookSubscriptionHTTPResponse(rsp *http.Response) (*DeleteWebhookSubscriptionHTTPResponse, error)
ParseDeleteWebhookSubscriptionHTTPResponse parses an HTTP response from a DeleteWebhookSubscriptionWithResponse call
func (DeleteWebhookSubscriptionHTTPResponse) ContentType ¶
func (r DeleteWebhookSubscriptionHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (DeleteWebhookSubscriptionHTTPResponse) Status ¶
func (r DeleteWebhookSubscriptionHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (DeleteWebhookSubscriptionHTTPResponse) StatusCode ¶
func (r DeleteWebhookSubscriptionHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DocumentResponse ¶
type DocumentResponse struct {
DocumentType string `json:"document_type"`
Id openapi_types.UUID `json:"id"`
ReviewerStatus string `json:"reviewer_status"`
}
DocumentResponse defines model for DocumentResponse.
type EarningRow ¶
type EarningRow struct {
AgentIdRedacted *string `json:"agent_id_redacted,omitempty"`
AmountMicro int64 `json:"amount_micro"`
Currency string `json:"currency"`
EndpointId *openapi_types.UUID `json:"endpoint_id,omitempty"`
EndpointUrl *string `json:"endpoint_url,omitempty"`
Id openapi_types.UUID `json:"id"`
SettledAt time.Time `json:"settled_at"`
TxHash *string `json:"tx_hash,omitempty"`
}
EarningRow defines model for EarningRow.
type EarningsResponse ¶
type EarningsResponse struct {
Earnings []EarningRow `json:"earnings"`
NextCursor *string `json:"next_cursor,omitempty"`
}
EarningsResponse defines model for EarningsResponse.
type ExportMerchantEarningsHTTPResponse ¶
type ExportMerchantEarningsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ProblemDetails
}
func ParseExportMerchantEarningsHTTPResponse ¶
func ParseExportMerchantEarningsHTTPResponse(rsp *http.Response) (*ExportMerchantEarningsHTTPResponse, error)
ParseExportMerchantEarningsHTTPResponse parses an HTTP response from a ExportMerchantEarningsWithResponse call
func (ExportMerchantEarningsHTTPResponse) ContentType ¶
func (r ExportMerchantEarningsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ExportMerchantEarningsHTTPResponse) Status ¶
func (r ExportMerchantEarningsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ExportMerchantEarningsHTTPResponse) StatusCode ¶
func (r ExportMerchantEarningsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ExportMerchantEarningsParams ¶
type ExportMerchantEarningsParams struct {
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
To *time.Time `form:"to,omitempty" json:"to,omitempty"`
Bucket *string `form:"bucket,omitempty" json:"bucket,omitempty"`
}
ExportMerchantEarningsParams defines parameters for ExportMerchantEarnings.
type FreezeWalletHTTPResponse ¶
type FreezeWalletHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletActionResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseFreezeWalletHTTPResponse ¶
func ParseFreezeWalletHTTPResponse(rsp *http.Response) (*FreezeWalletHTTPResponse, error)
ParseFreezeWalletHTTPResponse parses an HTTP response from a FreezeWalletWithResponse call
func (FreezeWalletHTTPResponse) ContentType ¶
func (r FreezeWalletHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FreezeWalletHTTPResponse) Status ¶
func (r FreezeWalletHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (FreezeWalletHTTPResponse) StatusCode ¶
func (r FreezeWalletHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FundWalletHTTPResponse ¶
type FundWalletHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *WalletActionResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseFundWalletHTTPResponse ¶
func ParseFundWalletHTTPResponse(rsp *http.Response) (*FundWalletHTTPResponse, error)
ParseFundWalletHTTPResponse parses an HTTP response from a FundWalletWithResponse call
func (FundWalletHTTPResponse) ContentType ¶
func (r FundWalletHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (FundWalletHTTPResponse) Status ¶
func (r FundWalletHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (FundWalletHTTPResponse) StatusCode ¶
func (r FundWalletHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type FundWalletJSONRequestBody ¶
type FundWalletJSONRequestBody = FundWalletRequest
FundWalletJSONRequestBody defines body for FundWallet for application/json ContentType.
type FundWalletRequest ¶
type FundWalletRequest struct {
// Amount Amount to deposit.
Amount string `json:"amount"`
// Currency Currency code (e.g., "USDC", "ZAR", "NGN", "KES").
Currency string `json:"currency"`
}
FundWalletRequest Request body for funding a wallet via fiat on-ramp or USDC transfer.
type FxRate ¶
type FxRate struct {
From string `json:"from"`
Rate float64 `json:"rate"`
To string `json:"to"`
UpdatedAt string `json:"updatedAt"`
}
FxRate defines model for FxRate.
type GetAgentHTTPResponse ¶
type GetAgentHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *AgentResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseGetAgentHTTPResponse ¶
func ParseGetAgentHTTPResponse(rsp *http.Response) (*GetAgentHTTPResponse, error)
ParseGetAgentHTTPResponse parses an HTTP response from a GetAgentWithResponse call
func (GetAgentHTTPResponse) ContentType ¶
func (r GetAgentHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetAgentHTTPResponse) Status ¶
func (r GetAgentHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetAgentHTTPResponse) StatusCode ¶
func (r GetAgentHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFxRateHTTPResponse ¶
type GetFxRateHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *FxRate
JSON400 *ProblemDetails
}
func ParseGetFxRateHTTPResponse ¶
func ParseGetFxRateHTTPResponse(rsp *http.Response) (*GetFxRateHTTPResponse, error)
ParseGetFxRateHTTPResponse parses an HTTP response from a GetFxRateWithResponse call
func (GetFxRateHTTPResponse) ContentType ¶
func (r GetFxRateHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetFxRateHTTPResponse) Status ¶
func (r GetFxRateHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetFxRateHTTPResponse) StatusCode ¶
func (r GetFxRateHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetFxRateParams ¶
type GetFxRateParams struct {
// From Source currency code (e.g. `USDC`).
From string `form:"from" json:"from"`
// To Destination currency code (e.g. `USD`).
To string `form:"to" json:"to"`
}
GetFxRateParams defines parameters for GetFxRate.
type GetKybStatusHTTPResponse ¶
type GetKybStatusHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *KybStatusResponse
JSON401 *ProblemDetails
}
func ParseGetKybStatusHTTPResponse ¶
func ParseGetKybStatusHTTPResponse(rsp *http.Response) (*GetKybStatusHTTPResponse, error)
ParseGetKybStatusHTTPResponse parses an HTTP response from a GetKybStatusWithResponse call
func (GetKybStatusHTTPResponse) ContentType ¶
func (r GetKybStatusHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetKybStatusHTTPResponse) Status ¶
func (r GetKybStatusHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetKybStatusHTTPResponse) StatusCode ¶
func (r GetKybStatusHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMandateCoverageHTTPResponse ¶
type GetMandateCoverageHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MandateCoverage
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseGetMandateCoverageHTTPResponse ¶
func ParseGetMandateCoverageHTTPResponse(rsp *http.Response) (*GetMandateCoverageHTTPResponse, error)
ParseGetMandateCoverageHTTPResponse parses an HTTP response from a GetMandateCoverageWithResponse call
func (GetMandateCoverageHTTPResponse) ContentType ¶
func (r GetMandateCoverageHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMandateCoverageHTTPResponse) Status ¶
func (r GetMandateCoverageHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetMandateCoverageHTTPResponse) StatusCode ¶
func (r GetMandateCoverageHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetMandateCoverageParams ¶
type GetMandateCoverageParams struct {
WindowDays *int64 `form:"window_days,omitempty" json:"window_days,omitempty"`
}
GetMandateCoverageParams defines parameters for GetMandateCoverage.
type GetMeHTTPResponse ¶
type GetMeHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MeResponse
JSON401 *ProblemDetails
}
func ParseGetMeHTTPResponse ¶
func ParseGetMeHTTPResponse(rsp *http.Response) (*GetMeHTTPResponse, error)
ParseGetMeHTTPResponse parses an HTTP response from a GetMeWithResponse call
func (GetMeHTTPResponse) ContentType ¶
func (r GetMeHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetMeHTTPResponse) Status ¶
func (r GetMeHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetMeHTTPResponse) StatusCode ¶
func (r GetMeHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetOrganizationHTTPResponse ¶
type GetOrganizationHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *OrganizationResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseGetOrganizationHTTPResponse ¶
func ParseGetOrganizationHTTPResponse(rsp *http.Response) (*GetOrganizationHTTPResponse, error)
ParseGetOrganizationHTTPResponse parses an HTTP response from a GetOrganizationWithResponse call
func (GetOrganizationHTTPResponse) ContentType ¶
func (r GetOrganizationHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetOrganizationHTTPResponse) Status ¶
func (r GetOrganizationHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetOrganizationHTTPResponse) StatusCode ¶
func (r GetOrganizationHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPaymentHTTPResponse ¶
type GetPaymentHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaymentResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseGetPaymentHTTPResponse ¶
func ParseGetPaymentHTTPResponse(rsp *http.Response) (*GetPaymentHTTPResponse, error)
ParseGetPaymentHTTPResponse parses an HTTP response from a GetPaymentWithResponse call
func (GetPaymentHTTPResponse) ContentType ¶
func (r GetPaymentHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPaymentHTTPResponse) Status ¶
func (r GetPaymentHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetPaymentHTTPResponse) StatusCode ¶
func (r GetPaymentHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPayoutHTTPResponse ¶
type GetPayoutHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PayoutResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseGetPayoutHTTPResponse ¶
func ParseGetPayoutHTTPResponse(rsp *http.Response) (*GetPayoutHTTPResponse, error)
ParseGetPayoutHTTPResponse parses an HTTP response from a GetPayoutWithResponse call
func (GetPayoutHTTPResponse) ContentType ¶
func (r GetPayoutHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPayoutHTTPResponse) Status ¶
func (r GetPayoutHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetPayoutHTTPResponse) StatusCode ¶
func (r GetPayoutHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPolicyHTTPResponse ¶
type GetPolicyHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PolicyResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseGetPolicyHTTPResponse ¶
func ParseGetPolicyHTTPResponse(rsp *http.Response) (*GetPolicyHTTPResponse, error)
ParseGetPolicyHTTPResponse parses an HTTP response from a GetPolicyWithResponse call
func (GetPolicyHTTPResponse) ContentType ¶
func (r GetPolicyHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetPolicyHTTPResponse) Status ¶
func (r GetPolicyHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetPolicyHTTPResponse) StatusCode ¶
func (r GetPolicyHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRefundHTTPResponse ¶
type GetRefundHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RefundResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseGetRefundHTTPResponse ¶
func ParseGetRefundHTTPResponse(rsp *http.Response) (*GetRefundHTTPResponse, error)
ParseGetRefundHTTPResponse parses an HTTP response from a GetRefundWithResponse call
func (GetRefundHTTPResponse) ContentType ¶
func (r GetRefundHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetRefundHTTPResponse) Status ¶
func (r GetRefundHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetRefundHTTPResponse) StatusCode ¶
func (r GetRefundHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTransferHTTPResponse ¶
type GetTransferHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *GetTransferResponse
JSON401 *ProblemDetails
}
func ParseGetTransferHTTPResponse ¶
func ParseGetTransferHTTPResponse(rsp *http.Response) (*GetTransferHTTPResponse, error)
ParseGetTransferHTTPResponse parses an HTTP response from a GetTransferWithResponse call
func (GetTransferHTTPResponse) ContentType ¶
func (r GetTransferHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetTransferHTTPResponse) Status ¶
func (r GetTransferHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetTransferHTTPResponse) StatusCode ¶
func (r GetTransferHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTransferResponse ¶
type GetTransferResponse struct {
Status string `json:"status"`
TransferId openapi_types.UUID `json:"transferId"`
}
GetTransferResponse defines model for GetTransferResponse.
type GetWalletHTTPResponse ¶
type GetWalletHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseGetWalletHTTPResponse ¶
func ParseGetWalletHTTPResponse(rsp *http.Response) (*GetWalletHTTPResponse, error)
ParseGetWalletHTTPResponse parses an HTTP response from a GetWalletWithResponse call
func (GetWalletHTTPResponse) ContentType ¶
func (r GetWalletHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (GetWalletHTTPResponse) Status ¶
func (r GetWalletHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (GetWalletHTTPResponse) StatusCode ¶
func (r GetWalletHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HandleWebhookHTTPResponse ¶
type HandleWebhookHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseHandleWebhookHTTPResponse ¶
func ParseHandleWebhookHTTPResponse(rsp *http.Response) (*HandleWebhookHTTPResponse, error)
ParseHandleWebhookHTTPResponse parses an HTTP response from a HandleWebhookWithResponse call
func (HandleWebhookHTTPResponse) ContentType ¶
func (r HandleWebhookHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HandleWebhookHTTPResponse) Status ¶
func (r HandleWebhookHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (HandleWebhookHTTPResponse) StatusCode ¶
func (r HandleWebhookHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HealthResponse ¶
type HealthResponse struct {
// Status Service health status.
Status string `json:"status"`
}
HealthResponse Health check response.
type HealthzHTTPResponse ¶
type HealthzHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *HealthResponse
}
func ParseHealthzHTTPResponse ¶
func ParseHealthzHTTPResponse(rsp *http.Response) (*HealthzHTTPResponse, error)
ParseHealthzHTTPResponse parses an HTTP response from a HealthzWithResponse call
func (HealthzHTTPResponse) ContentType ¶
func (r HealthzHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (HealthzHTTPResponse) Status ¶
func (r HealthzHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (HealthzHTTPResponse) StatusCode ¶
func (r HealthzHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type KybStatusResponse ¶
type KybStatusResponse struct {
Documents []DocumentResponse `json:"documents"`
MissingDocuments []string `json:"missing_documents"`
Status string `json:"status"`
}
KybStatusResponse defines model for KybStatusResponse.
type LinkWalletHTTPResponse ¶
type LinkWalletHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseLinkWalletHTTPResponse ¶
func ParseLinkWalletHTTPResponse(rsp *http.Response) (*LinkWalletHTTPResponse, error)
ParseLinkWalletHTTPResponse parses an HTTP response from a LinkWalletWithResponse call
func (LinkWalletHTTPResponse) ContentType ¶
func (r LinkWalletHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (LinkWalletHTTPResponse) Status ¶
func (r LinkWalletHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (LinkWalletHTTPResponse) StatusCode ¶
func (r LinkWalletHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type LinkWalletJSONRequestBody ¶
type LinkWalletJSONRequestBody = LinkWalletRequest
LinkWalletJSONRequestBody defines body for LinkWallet for application/json ContentType.
type LinkWalletRequest ¶
type LinkWalletRequest struct {
Address string `json:"address"`
ChainId string `json:"chain_id"`
EnsName *string `json:"ens_name,omitempty"`
}
LinkWalletRequest defines model for LinkWalletRequest.
type ListAgentsHTTPResponse ¶
type ListAgentsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedAgents
JSON401 *ProblemDetails
}
func ParseListAgentsHTTPResponse ¶
func ParseListAgentsHTTPResponse(rsp *http.Response) (*ListAgentsHTTPResponse, error)
ParseListAgentsHTTPResponse parses an HTTP response from a ListAgentsWithResponse call
func (ListAgentsHTTPResponse) ContentType ¶
func (r ListAgentsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAgentsHTTPResponse) Status ¶
func (r ListAgentsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListAgentsHTTPResponse) StatusCode ¶
func (r ListAgentsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAgentsParams ¶
type ListAgentsParams struct {
// Cursor Opaque cursor from a previous paginated response.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (1-100, default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListAgentsParams defines parameters for ListAgents.
type ListApiKeysHTTPResponse ¶
type ListApiKeysHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedApiKeys
JSON401 *ProblemDetails
}
func ParseListApiKeysHTTPResponse ¶
func ParseListApiKeysHTTPResponse(rsp *http.Response) (*ListApiKeysHTTPResponse, error)
ParseListApiKeysHTTPResponse parses an HTTP response from a ListApiKeysWithResponse call
func (ListApiKeysHTTPResponse) ContentType ¶
func (r ListApiKeysHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListApiKeysHTTPResponse) Status ¶
func (r ListApiKeysHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListApiKeysHTTPResponse) StatusCode ¶
func (r ListApiKeysHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListApprovalsHTTPResponse ¶
type ListApprovalsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedApprovals
JSON401 *ProblemDetails
}
func ParseListApprovalsHTTPResponse ¶
func ParseListApprovalsHTTPResponse(rsp *http.Response) (*ListApprovalsHTTPResponse, error)
ParseListApprovalsHTTPResponse parses an HTTP response from a ListApprovalsWithResponse call
func (ListApprovalsHTTPResponse) ContentType ¶
func (r ListApprovalsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListApprovalsHTTPResponse) Status ¶
func (r ListApprovalsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListApprovalsHTTPResponse) StatusCode ¶
func (r ListApprovalsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListApprovalsParams ¶
type ListApprovalsParams struct {
// Status Optional status filter — `pending`, `approved`, `rejected`. Defaults to `pending`.
Status *string `form:"status,omitempty" json:"status,omitempty"`
}
ListApprovalsParams defines parameters for ListApprovals.
type ListAuditHTTPResponse ¶
type ListAuditHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedAudit
JSON401 *ProblemDetails
}
func ParseListAuditHTTPResponse ¶
func ParseListAuditHTTPResponse(rsp *http.Response) (*ListAuditHTTPResponse, error)
ParseListAuditHTTPResponse parses an HTTP response from a ListAuditWithResponse call
func (ListAuditHTTPResponse) ContentType ¶
func (r ListAuditHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListAuditHTTPResponse) Status ¶
func (r ListAuditHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListAuditHTTPResponse) StatusCode ¶
func (r ListAuditHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAuditParams ¶
type ListAuditParams struct {
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListAuditParams defines parameters for ListAudit.
type ListComplianceAlertsHTTPResponse ¶
type ListComplianceAlertsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedComplianceAlerts
JSON401 *ProblemDetails
}
func ParseListComplianceAlertsHTTPResponse ¶
func ParseListComplianceAlertsHTTPResponse(rsp *http.Response) (*ListComplianceAlertsHTTPResponse, error)
ParseListComplianceAlertsHTTPResponse parses an HTTP response from a ListComplianceAlertsWithResponse call
func (ListComplianceAlertsHTTPResponse) ContentType ¶
func (r ListComplianceAlertsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListComplianceAlertsHTTPResponse) Status ¶
func (r ListComplianceAlertsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListComplianceAlertsHTTPResponse) StatusCode ¶
func (r ListComplianceAlertsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMandatesHTTPResponse ¶
type ListMandatesHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedMandates
JSON401 *ProblemDetails
}
func ParseListMandatesHTTPResponse ¶
func ParseListMandatesHTTPResponse(rsp *http.Response) (*ListMandatesHTTPResponse, error)
ParseListMandatesHTTPResponse parses an HTTP response from a ListMandatesWithResponse call
func (ListMandatesHTTPResponse) ContentType ¶
func (r ListMandatesHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMandatesHTTPResponse) Status ¶
func (r ListMandatesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListMandatesHTTPResponse) StatusCode ¶
func (r ListMandatesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMerchantEarningsHTTPResponse ¶
type ListMerchantEarningsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *EarningsResponse
JSON401 *ProblemDetails
}
func ParseListMerchantEarningsHTTPResponse ¶
func ParseListMerchantEarningsHTTPResponse(rsp *http.Response) (*ListMerchantEarningsHTTPResponse, error)
ParseListMerchantEarningsHTTPResponse parses an HTTP response from a ListMerchantEarningsWithResponse call
func (ListMerchantEarningsHTTPResponse) ContentType ¶
func (r ListMerchantEarningsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListMerchantEarningsHTTPResponse) Status ¶
func (r ListMerchantEarningsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListMerchantEarningsHTTPResponse) StatusCode ¶
func (r ListMerchantEarningsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMerchantEarningsParams ¶
type ListMerchantEarningsParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListMerchantEarningsParams defines parameters for ListMerchantEarnings.
type ListOrganizationsHTTPResponse ¶
type ListOrganizationsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedOrganizations
JSON401 *ProblemDetails
}
func ParseListOrganizationsHTTPResponse ¶
func ParseListOrganizationsHTTPResponse(rsp *http.Response) (*ListOrganizationsHTTPResponse, error)
ParseListOrganizationsHTTPResponse parses an HTTP response from a ListOrganizationsWithResponse call
func (ListOrganizationsHTTPResponse) ContentType ¶
func (r ListOrganizationsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListOrganizationsHTTPResponse) Status ¶
func (r ListOrganizationsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListOrganizationsHTTPResponse) StatusCode ¶
func (r ListOrganizationsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListOrganizationsParams ¶
type ListOrganizationsParams struct {
// Cursor Opaque cursor from a previous paginated response.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (1-100, default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListOrganizationsParams defines parameters for ListOrganizations.
type ListPayoutsHTTPResponse ¶
type ListPayoutsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListPayoutsResponse
JSON401 *ProblemDetails
}
func ParseListPayoutsHTTPResponse ¶
func ParseListPayoutsHTTPResponse(rsp *http.Response) (*ListPayoutsHTTPResponse, error)
ParseListPayoutsHTTPResponse parses an HTTP response from a ListPayoutsWithResponse call
func (ListPayoutsHTTPResponse) ContentType ¶
func (r ListPayoutsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPayoutsHTTPResponse) Status ¶
func (r ListPayoutsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListPayoutsHTTPResponse) StatusCode ¶
func (r ListPayoutsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPayoutsParams ¶
type ListPayoutsParams struct {
// Status Optional. Filter by `status` (e.g. `pending`, `broadcasting`,
// `settled`, `failed`). Free-form string — invalid values just yield
// an empty page.
Status *string `form:"status,omitempty" json:"status,omitempty"`
// Limit Page size, default 50, max 200.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Cursor: `requested_at` of the last item from the previous page.
// Results are strictly older (`requested_at < cursor`).
Cursor *time.Time `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListPayoutsParams defines parameters for ListPayouts.
type ListPayoutsResponse ¶
type ListPayoutsResponse struct {
Items []PayoutResponse `json:"items"`
NextCursor *time.Time `json:"next_cursor,omitempty"`
}
ListPayoutsResponse Page envelope for `GET /v1/payouts`. `next_cursor` is the `requested_at` of the last item on this page — pass it back as `?cursor=` for the next.
type ListPoliciesHTTPResponse ¶
type ListPoliciesHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedPolicies
JSON401 *ProblemDetails
}
func ParseListPoliciesHTTPResponse ¶
func ParseListPoliciesHTTPResponse(rsp *http.Response) (*ListPoliciesHTTPResponse, error)
ParseListPoliciesHTTPResponse parses an HTTP response from a ListPoliciesWithResponse call
func (ListPoliciesHTTPResponse) ContentType ¶
func (r ListPoliciesHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListPoliciesHTTPResponse) Status ¶
func (r ListPoliciesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListPoliciesHTTPResponse) StatusCode ¶
func (r ListPoliciesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPoliciesParams ¶
type ListPoliciesParams struct {
// Cursor Opaque cursor from a previous paginated response.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (1-100, default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListPoliciesParams defines parameters for ListPolicies.
type ListRefundsHTTPResponse ¶
type ListRefundsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ListRefundsResponse
JSON401 *ProblemDetails
}
func ParseListRefundsHTTPResponse ¶
func ParseListRefundsHTTPResponse(rsp *http.Response) (*ListRefundsHTTPResponse, error)
ParseListRefundsHTTPResponse parses an HTTP response from a ListRefundsWithResponse call
func (ListRefundsHTTPResponse) ContentType ¶
func (r ListRefundsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListRefundsHTTPResponse) Status ¶
func (r ListRefundsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListRefundsHTTPResponse) StatusCode ¶
func (r ListRefundsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListRefundsParams ¶
type ListRefundsParams struct {
// PaymentId Optional. Filter to refunds for a single payment.
PaymentId *openapi_types.UUID `form:"payment_id,omitempty" json:"payment_id,omitempty"`
// Limit Page size, default 50, max 200.
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Cursor Cursor: `requested_at` of the last item from the previous page.
// Results are strictly older (`requested_at < cursor`).
Cursor *time.Time `form:"cursor,omitempty" json:"cursor,omitempty"`
}
ListRefundsParams defines parameters for ListRefunds.
type ListRefundsResponse ¶
type ListRefundsResponse struct {
Items []RefundResponse `json:"items"`
NextCursor *time.Time `json:"next_cursor,omitempty"`
}
ListRefundsResponse Page envelope for `GET /v1/refunds`. `next_cursor` is the `requested_at` of the last item on this page — pass it back as `?cursor=` for the next.
type ListTransactionsHTTPResponse ¶
type ListTransactionsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedTransactions
JSON401 *ProblemDetails
}
func ParseListTransactionsHTTPResponse ¶
func ParseListTransactionsHTTPResponse(rsp *http.Response) (*ListTransactionsHTTPResponse, error)
ParseListTransactionsHTTPResponse parses an HTTP response from a ListTransactionsWithResponse call
func (ListTransactionsHTTPResponse) ContentType ¶
func (r ListTransactionsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListTransactionsHTTPResponse) Status ¶
func (r ListTransactionsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListTransactionsHTTPResponse) StatusCode ¶
func (r ListTransactionsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTransactionsParams ¶
type ListTransactionsParams struct {
// Status Filter by transaction status.
Status *string `form:"status,omitempty" json:"status,omitempty"`
// Chain Filter by blockchain network.
Chain *string `form:"chain,omitempty" json:"chain,omitempty"`
// Currency Filter by currency.
Currency *string `form:"currency,omitempty" json:"currency,omitempty"`
// From Filter by start date (inclusive, ISO 8601).
From *string `form:"from,omitempty" json:"from,omitempty"`
// To Filter by end date (inclusive, ISO 8601).
To *string `form:"to,omitempty" json:"to,omitempty"`
// Cursor Opaque pagination cursor.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Page size (default 50, max 100).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListTransactionsParams defines parameters for ListTransactions.
type ListWalletsHTTPResponse ¶
type ListWalletsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaginatedWallets
JSON401 *ProblemDetails
}
func ParseListWalletsHTTPResponse ¶
func ParseListWalletsHTTPResponse(rsp *http.Response) (*ListWalletsHTTPResponse, error)
ParseListWalletsHTTPResponse parses an HTTP response from a ListWalletsWithResponse call
func (ListWalletsHTTPResponse) ContentType ¶
func (r ListWalletsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWalletsHTTPResponse) Status ¶
func (r ListWalletsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListWalletsHTTPResponse) StatusCode ¶
func (r ListWalletsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWalletsParams ¶
type ListWalletsParams struct {
// Cursor Opaque cursor from a previous paginated response.
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
// Limit Maximum number of items to return (1-100, default 50).
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListWalletsParams defines parameters for ListWallets.
type ListWebhookSubscriptionsHTTPResponse ¶
type ListWebhookSubscriptionsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]WebhookResponse
JSON401 *ProblemDetails
}
func ParseListWebhookSubscriptionsHTTPResponse ¶
func ParseListWebhookSubscriptionsHTTPResponse(rsp *http.Response) (*ListWebhookSubscriptionsHTTPResponse, error)
ParseListWebhookSubscriptionsHTTPResponse parses an HTTP response from a ListWebhookSubscriptionsWithResponse call
func (ListWebhookSubscriptionsHTTPResponse) ContentType ¶
func (r ListWebhookSubscriptionsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ListWebhookSubscriptionsHTTPResponse) Status ¶
func (r ListWebhookSubscriptionsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ListWebhookSubscriptionsHTTPResponse) StatusCode ¶
func (r ListWebhookSubscriptionsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MandateCoverage ¶
type MandateCoverage struct {
Total int64 `json:"total"`
Window string `json:"window"`
WithMandate int64 `json:"with_mandate"`
}
MandateCoverage Shape returned to the dashboard. Field names match `MandateCoverageMetric` in `web/src/lib/mandate-api.ts`. The web `coveragePercent` helper computes the percentage client-side.
type MandateListItem ¶
type MandateListItem struct {
ExpiresAt time.Time `json:"expires_at"`
IssuerKid string `json:"issuer_kid"`
Jti string `json:"jti"`
OrgId openapi_types.UUID `json:"org_id"`
ParentJti *string `json:"parent_jti,omitempty"`
Revoked bool `json:"revoked"`
SubjectAgentId openapi_types.UUID `json:"subject_agent_id"`
}
MandateListItem Row returned to the dashboard. Field names match `MandateListItem` in `web/src/lib/mandate-api.ts`. `org_id` is included so the platform-admin cross-org view can label rows by tenant; the dashboard renders it conditionally.
type MeResponse ¶
type MeResponse struct {
Email *string `json:"email,omitempty"`
Jurisdiction *string `json:"jurisdiction,omitempty"`
Mode string `json:"mode"`
OrgId openapi_types.UUID `json:"orgId"`
OrgName *string `json:"orgName,omitempty"`
Principal string `json:"principal"`
Role string `json:"role"`
UserId *openapi_types.UUID `json:"userId,omitempty"`
}
MeResponse defines model for MeResponse.
type MerchantAcceptTosHTTPResponse ¶
type MerchantAcceptTosHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MerchantProfileDto
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseMerchantAcceptTosHTTPResponse ¶
func ParseMerchantAcceptTosHTTPResponse(rsp *http.Response) (*MerchantAcceptTosHTTPResponse, error)
ParseMerchantAcceptTosHTTPResponse parses an HTTP response from a MerchantAcceptTosWithResponse call
func (MerchantAcceptTosHTTPResponse) ContentType ¶
func (r MerchantAcceptTosHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantAcceptTosHTTPResponse) Status ¶
func (r MerchantAcceptTosHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantAcceptTosHTTPResponse) StatusCode ¶
func (r MerchantAcceptTosHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantAcceptTosJSONRequestBody ¶
type MerchantAcceptTosJSONRequestBody = AcceptTosRequest
MerchantAcceptTosJSONRequestBody defines body for MerchantAcceptTos for application/json ContentType.
type MerchantActivateHTTPResponse ¶
type MerchantActivateHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *ActivateResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseMerchantActivateHTTPResponse ¶
func ParseMerchantActivateHTTPResponse(rsp *http.Response) (*MerchantActivateHTTPResponse, error)
ParseMerchantActivateHTTPResponse parses an HTTP response from a MerchantActivateWithResponse call
func (MerchantActivateHTTPResponse) ContentType ¶
func (r MerchantActivateHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantActivateHTTPResponse) Status ¶
func (r MerchantActivateHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantActivateHTTPResponse) StatusCode ¶
func (r MerchantActivateHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantActivateJSONRequestBody ¶
type MerchantActivateJSONRequestBody = ActivateRequest
MerchantActivateJSONRequestBody defines body for MerchantActivate for application/json ContentType.
type MerchantBalanceHTTPResponse ¶
type MerchantBalanceHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *BalanceResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseMerchantBalanceHTTPResponse ¶
func ParseMerchantBalanceHTTPResponse(rsp *http.Response) (*MerchantBalanceHTTPResponse, error)
ParseMerchantBalanceHTTPResponse parses an HTTP response from a MerchantBalanceWithResponse call
func (MerchantBalanceHTTPResponse) ContentType ¶
func (r MerchantBalanceHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantBalanceHTTPResponse) Status ¶
func (r MerchantBalanceHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantBalanceHTTPResponse) StatusCode ¶
func (r MerchantBalanceHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantEarningsTimeseriesHTTPResponse ¶
type MerchantEarningsTimeseriesHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TimeseriesResponse
JSON401 *ProblemDetails
}
func ParseMerchantEarningsTimeseriesHTTPResponse ¶
func ParseMerchantEarningsTimeseriesHTTPResponse(rsp *http.Response) (*MerchantEarningsTimeseriesHTTPResponse, error)
ParseMerchantEarningsTimeseriesHTTPResponse parses an HTTP response from a MerchantEarningsTimeseriesWithResponse call
func (MerchantEarningsTimeseriesHTTPResponse) ContentType ¶
func (r MerchantEarningsTimeseriesHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantEarningsTimeseriesHTTPResponse) Status ¶
func (r MerchantEarningsTimeseriesHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantEarningsTimeseriesHTTPResponse) StatusCode ¶
func (r MerchantEarningsTimeseriesHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantEarningsTimeseriesParams ¶
type MerchantEarningsTimeseriesParams struct {
From *time.Time `form:"from,omitempty" json:"from,omitempty"`
To *time.Time `form:"to,omitempty" json:"to,omitempty"`
Bucket *string `form:"bucket,omitempty" json:"bucket,omitempty"`
}
MerchantEarningsTimeseriesParams defines parameters for MerchantEarningsTimeseries.
type MerchantEndpointStatsHTTPResponse ¶
type MerchantEndpointStatsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *StatsResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseMerchantEndpointStatsHTTPResponse ¶
func ParseMerchantEndpointStatsHTTPResponse(rsp *http.Response) (*MerchantEndpointStatsHTTPResponse, error)
ParseMerchantEndpointStatsHTTPResponse parses an HTTP response from a MerchantEndpointStatsWithResponse call
func (MerchantEndpointStatsHTTPResponse) ContentType ¶
func (r MerchantEndpointStatsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantEndpointStatsHTTPResponse) Status ¶
func (r MerchantEndpointStatsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantEndpointStatsHTTPResponse) StatusCode ¶
func (r MerchantEndpointStatsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantEndpointStatsParams ¶
type MerchantEndpointStatsParams struct {
Range *string `form:"range,omitempty" json:"range,omitempty"`
}
MerchantEndpointStatsParams defines parameters for MerchantEndpointStats.
type MerchantGetMeHTTPResponse ¶
type MerchantGetMeHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *MerchantProfileDto
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseMerchantGetMeHTTPResponse ¶
func ParseMerchantGetMeHTTPResponse(rsp *http.Response) (*MerchantGetMeHTTPResponse, error)
ParseMerchantGetMeHTTPResponse parses an HTTP response from a MerchantGetMeWithResponse call
func (MerchantGetMeHTTPResponse) ContentType ¶
func (r MerchantGetMeHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantGetMeHTTPResponse) Status ¶
func (r MerchantGetMeHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantGetMeHTTPResponse) StatusCode ¶
func (r MerchantGetMeHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantListRefundsHTTPResponse ¶
type MerchantListRefundsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RefundsResponse
JSON401 *ProblemDetails
}
func ParseMerchantListRefundsHTTPResponse ¶
func ParseMerchantListRefundsHTTPResponse(rsp *http.Response) (*MerchantListRefundsHTTPResponse, error)
ParseMerchantListRefundsHTTPResponse parses an HTTP response from a MerchantListRefundsWithResponse call
func (MerchantListRefundsHTTPResponse) ContentType ¶
func (r MerchantListRefundsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantListRefundsHTTPResponse) Status ¶
func (r MerchantListRefundsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantListRefundsHTTPResponse) StatusCode ¶
func (r MerchantListRefundsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantListRefundsParams ¶
type MerchantListRefundsParams struct {
Cursor *string `form:"cursor,omitempty" json:"cursor,omitempty"`
Limit *int64 `form:"limit,omitempty" json:"limit,omitempty"`
}
MerchantListRefundsParams defines parameters for MerchantListRefunds.
type MerchantProfileDto ¶
type MerchantProfileDto struct {
AgentFeeBps *int32 `json:"agent_fee_bps,omitempty"`
BusinessName string `json:"business_name"`
CreatedAt time.Time `json:"created_at"`
DirectoryCategory []string `json:"directory_category"`
DirectoryDescription *string `json:"directory_description,omitempty"`
DirectoryVisibility string `json:"directory_visibility"`
Id openapi_types.UUID `json:"id"`
KybStatus string `json:"kyb_status"`
MerchantFeeBps *int32 `json:"merchant_fee_bps,omitempty"`
Mode string `json:"mode"`
OrgId openapi_types.UUID `json:"org_id"`
PayoutHoldSeconds int32 `json:"payout_hold_seconds"`
PayoutMinAmount string `json:"payout_min_amount"`
PayoutSchedule string `json:"payout_schedule"`
PayoutWalletId *openapi_types.UUID `json:"payout_wallet_id,omitempty"`
SanctionsScreenedAt *time.Time `json:"sanctions_screened_at,omitempty"`
State string `json:"state"`
SupportEmail *string `json:"support_email,omitempty"`
SupportUrl *string `json:"support_url,omitempty"`
TosAcceptedAt *time.Time `json:"tos_accepted_at,omitempty"`
TosVersion *string `json:"tos_version,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
}
MerchantProfileDto defines model for MerchantProfileDto.
type MerchantSignupHTTPResponse ¶
type MerchantSignupHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *MerchantSignupResponse
JSON400 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseMerchantSignupHTTPResponse ¶
func ParseMerchantSignupHTTPResponse(rsp *http.Response) (*MerchantSignupHTTPResponse, error)
ParseMerchantSignupHTTPResponse parses an HTTP response from a MerchantSignupWithResponse call
func (MerchantSignupHTTPResponse) ContentType ¶
func (r MerchantSignupHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantSignupHTTPResponse) Status ¶
func (r MerchantSignupHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantSignupHTTPResponse) StatusCode ¶
func (r MerchantSignupHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantSignupJSONRequestBody ¶
type MerchantSignupJSONRequestBody = MerchantSignupRequest
MerchantSignupJSONRequestBody defines body for MerchantSignup for application/json ContentType.
type MerchantSignupRequest ¶
type MerchantSignupRequest struct {
BusinessName string `json:"business_name"`
Email string `json:"email"`
}
MerchantSignupRequest defines model for MerchantSignupRequest.
type MerchantSignupResponse ¶
type MerchantSignupResponse struct {
ExpiresAt time.Time `json:"expires_at"`
NextSteps string `json:"next_steps"`
// SignupToken Raw signup token. Only returned when `APP_RETURN_SIGNUP_TOKEN=true`
// (dev convenience). In production, the token only reaches the user
// via the activation email.
SignupToken *string `json:"signup_token,omitempty"`
}
MerchantSignupResponse defines model for MerchantSignupResponse.
type MerchantTestPaymentHTTPResponse ¶
type MerchantTestPaymentHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *TestPaymentTrace
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseMerchantTestPaymentHTTPResponse ¶
func ParseMerchantTestPaymentHTTPResponse(rsp *http.Response) (*MerchantTestPaymentHTTPResponse, error)
ParseMerchantTestPaymentHTTPResponse parses an HTTP response from a MerchantTestPaymentWithResponse call
func (MerchantTestPaymentHTTPResponse) ContentType ¶
func (r MerchantTestPaymentHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantTestPaymentHTTPResponse) Status ¶
func (r MerchantTestPaymentHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantTestPaymentHTTPResponse) StatusCode ¶
func (r MerchantTestPaymentHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantTestPaymentJSONRequestBody ¶
type MerchantTestPaymentJSONRequestBody = TestPaymentRequest
MerchantTestPaymentJSONRequestBody defines body for MerchantTestPayment for application/json ContentType.
type MerchantWaitlistHTTPResponse ¶
type MerchantWaitlistHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *WaitlistResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseMerchantWaitlistHTTPResponse ¶
func ParseMerchantWaitlistHTTPResponse(rsp *http.Response) (*MerchantWaitlistHTTPResponse, error)
ParseMerchantWaitlistHTTPResponse parses an HTTP response from a MerchantWaitlistWithResponse call
func (MerchantWaitlistHTTPResponse) ContentType ¶
func (r MerchantWaitlistHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (MerchantWaitlistHTTPResponse) Status ¶
func (r MerchantWaitlistHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (MerchantWaitlistHTTPResponse) StatusCode ¶
func (r MerchantWaitlistHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MerchantWaitlistJSONRequestBody ¶
type MerchantWaitlistJSONRequestBody = WaitlistRequest
MerchantWaitlistJSONRequestBody defines body for MerchantWaitlist for application/json ContentType.
type OrgBalance ¶
type OrgBalance struct {
DeltaAbs float64 `json:"deltaAbs"`
DeltaPct float64 `json:"deltaPct"`
History []TimeSeriesPoint `json:"history"`
Total float64 `json:"total"`
}
OrgBalance defines model for OrgBalance.
type OrganizationResponse ¶
type OrganizationResponse struct {
// Country ISO 3166-1 alpha-2 country code.
Country string `json:"country"`
// CreatedAt When the organization was created (ISO 8601).
CreatedAt time.Time `json:"created_at"`
// Id Unique organization identifier (`UUIDv7`).
Id openapi_types.UUID `json:"id"`
// Name Display name.
Name string `json:"name"`
}
OrganizationResponse Organization resource returned by the API.
type PaginatedAgents ¶
type PaginatedAgents struct {
// HasMore Whether more pages exist.
HasMore bool `json:"has_more"`
// Items The page of results.
Items []AgentResponse `json:"items"`
// NextCursor Opaque cursor for the next page.
NextCursor *string `json:"next_cursor,omitempty"`
}
PaginatedAgents Paginated list of agents.
type PaginatedApiKeys ¶
type PaginatedApiKeys struct {
HasMore bool `json:"hasMore"`
Items []ApiKeyResponse `json:"items"`
NextCursor *string `json:"nextCursor,omitempty"`
}
PaginatedApiKeys Paginated list of API keys. Single-page (no cursor) for now — the dashboard never paginates this list, but the typed container keeps the response shape consistent with the rest of the API surface.
type PaginatedApprovals ¶
type PaginatedApprovals struct {
HasMore bool `json:"hasMore"`
Items []Approval `json:"items"`
NextCursor *string `json:"nextCursor,omitempty"`
}
PaginatedApprovals Paginated list of approvals. Single-page (no cursor); UI hard-caps at 100.
type PaginatedAudit ¶
type PaginatedAudit struct {
HasMore bool `json:"hasMore"`
Items []AuditEntry `json:"items"`
NextCursor *string `json:"nextCursor,omitempty"`
}
PaginatedAudit defines model for PaginatedAudit.
type PaginatedComplianceAlerts ¶
type PaginatedComplianceAlerts struct {
HasMore bool `json:"hasMore"`
Items []ComplianceAlert `json:"items"`
NextCursor *string `json:"nextCursor,omitempty"`
}
PaginatedComplianceAlerts Paginated list of compliance alerts. Placeholder until the AML pipeline lands — returns an empty page today.
type PaginatedMandates ¶
type PaginatedMandates struct {
HasMore bool `json:"has_more"`
Items []MandateListItem `json:"items"`
NextCursor *string `json:"next_cursor,omitempty"`
}
PaginatedMandates Paginated list of mandates. Single-page (no cursor) for now — the dashboard never paginates this list, but the typed container keeps the response shape consistent with the rest of the API surface.
type PaginatedOrganizations ¶
type PaginatedOrganizations struct {
// HasMore Whether more pages exist.
HasMore bool `json:"has_more"`
// Items The page of results.
Items []OrganizationResponse `json:"items"`
// NextCursor Opaque cursor for the next page.
NextCursor *string `json:"next_cursor,omitempty"`
}
PaginatedOrganizations Paginated list of organizations.
type PaginatedPolicies ¶
type PaginatedPolicies struct {
// HasMore Whether more pages exist.
HasMore bool `json:"has_more"`
// Items The page of results.
Items []PolicyResponse `json:"items"`
// NextCursor Opaque cursor for the next page.
NextCursor *string `json:"next_cursor,omitempty"`
}
PaginatedPolicies Paginated list of policies.
type PaginatedTransactions ¶
type PaginatedTransactions struct {
// HasMore Whether more pages exist.
HasMore bool `json:"has_more"`
// Items The page of results.
Items []TransactionResponse `json:"items"`
// NextCursor Opaque cursor for the next page.
NextCursor *string `json:"next_cursor,omitempty"`
}
PaginatedTransactions Paginated list of transactions.
type PaginatedWallets ¶
type PaginatedWallets struct {
// HasMore Whether more pages exist.
HasMore bool `json:"has_more"`
// Items The page of results.
Items []WalletResponse `json:"items"`
// NextCursor Opaque cursor for the next page.
NextCursor *string `json:"next_cursor,omitempty"`
}
PaginatedWallets Paginated list of wallets.
type PaymentResponse ¶
type PaymentResponse struct {
// Id Payment intent identifier (`UUIDv7`).
Id openapi_types.UUID `json:"id"`
// LatencyMs Processing latency in milliseconds.
LatencyMs *int64 `json:"latency_ms,omitempty"`
// PaymentSignature The `PAYMENT-SIGNATURE` header for the retry request (present when approved/settled).
PaymentSignature *string `json:"payment_signature,omitempty"`
// Status Current payment status ("proposed", "approved", "signed", "settled", "failed").
Status string `json:"status"`
}
PaymentResponse Payment resource returned by the API.
type PayoutResponse ¶
type PayoutResponse struct {
Amount string `json:"amount"`
Currency string `json:"currency"`
DestinationAddress string `json:"destination_address"`
DestinationWalletId *openapi_types.UUID `json:"destination_wallet_id,omitempty"`
FailureReason *string `json:"failure_reason,omitempty"`
Id openapi_types.UUID `json:"id"`
MerchantId openapi_types.UUID `json:"merchant_id"`
Mode string `json:"mode"`
RequestedAt time.Time `json:"requested_at"`
SettledAt *time.Time `json:"settled_at,omitempty"`
Status string `json:"status"`
TriggeredBy string `json:"triggered_by"`
TxHash *string `json:"tx_hash,omitempty"`
}
PayoutResponse defines model for PayoutResponse.
type PolicyResponse ¶
type PolicyResponse struct {
// Active Whether this policy is currently active.
Active bool `json:"active"`
// AgentIds IDs of agents bound to this policy.
AgentIds []string `json:"agent_ids"`
// CreatedAt When the policy was created (ISO 8601).
CreatedAt time.Time `json:"created_at"`
// Description Policy description.
Description *string `json:"description,omitempty"`
// Id Policy identifier (`UUIDv7`).
Id openapi_types.UUID `json:"id"`
// Name Policy name.
Name string `json:"name"`
// Rules Policy rules.
Rules map[string]interface{} `json:"rules"`
}
PolicyResponse Policy resource returned by the API.
type PreviewBody ¶
type PreviewBody struct {
// Amount Stringified decimal (e.g. "0.01"). Parsed lazily — we only need
// it to short-circuit the obviously-empty case.
Amount string `json:"amount"`
Currency *string `json:"currency,omitempty"`
DestinationAddress *string `json:"destinationAddress,omitempty"`
DestinationId *openapi_types.UUID `json:"destinationId,omitempty"`
SourceId openapi_types.UUID `json:"sourceId"`
}
PreviewBody Inbound shape for `POST /v1/policies/preview`. Mirrors `web/src/app/_hooks/right/use-policy-preview.ts#PolicyPreviewIntent` — every field is camelCase coming from the dashboard's `api.post`.
`source_id` is deserialized for parity with the wallet-id contract but not yet used — wallet org-membership is enforced server-side at `POST /v1/transfers` time. `#[allow(dead_code)]` keeps the field visible in the API surface without tripping the unused-field lint.
type PreviewPolicyHTTPResponse ¶
type PreviewPolicyHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PreviewResponse
JSON401 *ProblemDetails
}
func ParsePreviewPolicyHTTPResponse ¶
func ParsePreviewPolicyHTTPResponse(rsp *http.Response) (*PreviewPolicyHTTPResponse, error)
ParsePreviewPolicyHTTPResponse parses an HTTP response from a PreviewPolicyWithResponse call
func (PreviewPolicyHTTPResponse) ContentType ¶
func (r PreviewPolicyHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (PreviewPolicyHTTPResponse) Status ¶
func (r PreviewPolicyHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (PreviewPolicyHTTPResponse) StatusCode ¶
func (r PreviewPolicyHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PreviewPolicyJSONRequestBody ¶
type PreviewPolicyJSONRequestBody = PreviewBody
PreviewPolicyJSONRequestBody defines body for PreviewPolicy for application/json ContentType.
type PreviewResponse ¶
type PreviewResponse struct {
Approvers *[]string `json:"approvers,omitempty"`
Decision string `json:"decision"`
EstimatedResponseTime *string `json:"estimatedResponseTime,omitempty"`
Reason string `json:"reason"`
}
PreviewResponse Shape returned to the Move Funds widget. Matches `PolicyPreviewResult` in the same hook file.
type ProblemDetails ¶
type ProblemDetails struct {
// Detail A human-readable explanation specific to this occurrence.
Detail string `json:"detail"`
// Status The HTTP status code.
Status int32 `json:"status"`
// Title A short human-readable summary of the problem.
Title string `json:"title"`
// Type A URI reference identifying the problem type (usually `about:blank`).
Type string `json:"type"`
}
ProblemDetails Standard error response following RFC 7807 Problem Details.
Every non-2xx response from the API uses this envelope so clients can handle errors uniformly.
type ProposePaymentHTTPResponse ¶
type ProposePaymentHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *PaymentResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
JSON403 *ProblemDetails
}
func ParseProposePaymentHTTPResponse ¶
func ParseProposePaymentHTTPResponse(rsp *http.Response) (*ProposePaymentHTTPResponse, error)
ParseProposePaymentHTTPResponse parses an HTTP response from a ProposePaymentWithResponse call
func (ProposePaymentHTTPResponse) ContentType ¶
func (r ProposePaymentHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ProposePaymentHTTPResponse) Status ¶
func (r ProposePaymentHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ProposePaymentHTTPResponse) StatusCode ¶
func (r ProposePaymentHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ProposePaymentJSONRequestBody ¶
type ProposePaymentJSONRequestBody = ProposePaymentRequest
ProposePaymentJSONRequestBody defines body for ProposePayment for application/json ContentType.
type ProposePaymentRequest ¶
type ProposePaymentRequest struct {
// MaxAmount Maximum amount the caller is willing to pay (optional cap).
MaxAmount *string `json:"max_amount,omitempty"`
// PaymentRequirements The x402 `PaymentRequirements` header value from the upstream 402.
PaymentRequirements string `json:"payment_requirements"`
// ResourceUrl The resource URL that returned 402.
ResourceUrl string `json:"resource_url"`
}
ProposePaymentRequest Request body for proposing an x402 payment.
The agent sends this after receiving a 402 response from a resource server. The gateway forwards it to the payments orchestrator for policy evaluation, signing, and on-chain settlement.
type ReadinessResponse ¶
type ReadinessResponse struct {
// Error Error detail (present only when status is "unavailable").
Error *string `json:"error,omitempty"`
// Status Service readiness status.
Status string `json:"status"`
}
ReadinessResponse Readiness check response.
type ReadyzHTTPResponse ¶
type ReadyzHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ReadinessResponse
JSON503 *ProblemDetails
}
func ParseReadyzHTTPResponse ¶
func ParseReadyzHTTPResponse(rsp *http.Response) (*ReadyzHTTPResponse, error)
ParseReadyzHTTPResponse parses an HTTP response from a ReadyzWithResponse call
func (ReadyzHTTPResponse) ContentType ¶
func (r ReadyzHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ReadyzHTTPResponse) Status ¶
func (r ReadyzHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ReadyzHTTPResponse) StatusCode ¶
func (r ReadyzHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RecentActivityHTTPResponse ¶
type RecentActivityHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *[]ActivityItem
JSON401 *ProblemDetails
}
func ParseRecentActivityHTTPResponse ¶
func ParseRecentActivityHTTPResponse(rsp *http.Response) (*RecentActivityHTTPResponse, error)
ParseRecentActivityHTTPResponse parses an HTTP response from a RecentActivityWithResponse call
func (RecentActivityHTTPResponse) ContentType ¶
func (r RecentActivityHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RecentActivityHTTPResponse) Status ¶
func (r RecentActivityHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (RecentActivityHTTPResponse) StatusCode ¶
func (r RecentActivityHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefundPaymentHTTPResponse ¶
type RefundPaymentHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RefundResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
JSON404 *ProblemDetails
JSON409 *ProblemDetails
}
func ParseRefundPaymentHTTPResponse ¶
func ParseRefundPaymentHTTPResponse(rsp *http.Response) (*RefundPaymentHTTPResponse, error)
ParseRefundPaymentHTTPResponse parses an HTTP response from a RefundPaymentWithResponse call
func (RefundPaymentHTTPResponse) ContentType ¶
func (r RefundPaymentHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RefundPaymentHTTPResponse) Status ¶
func (r RefundPaymentHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (RefundPaymentHTTPResponse) StatusCode ¶
func (r RefundPaymentHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RefundPaymentJSONRequestBody ¶
type RefundPaymentJSONRequestBody = RefundRequest
RefundPaymentJSONRequestBody defines body for RefundPayment for application/json ContentType.
type RefundRequest ¶
type RefundRequest struct {
// Amount Optional. If omitted, refund the full payment amount.
Amount *string `json:"amount,omitempty"`
// IdempotencyKey Required if not supplied via header. Stripe-canonical idempotency key.
// If both header and body are provided, header takes precedence.
IdempotencyKey *string `json:"idempotency_key,omitempty"`
// Reason Optional human-readable reason for the refund.
Reason *string `json:"reason,omitempty"`
}
RefundRequest defines model for RefundRequest.
type RefundResponse ¶
type RefundResponse struct {
Amount string `json:"amount"`
AppliedAt *time.Time `json:"applied_at,omitempty"`
Currency string `json:"currency"`
Id openapi_types.UUID `json:"id"`
MerchantId openapi_types.UUID `json:"merchant_id"`
Mode string `json:"mode"`
PaymentId openapi_types.UUID `json:"payment_id"`
Reason *string `json:"reason,omitempty"`
RequestedAt time.Time `json:"requested_at"`
Status string `json:"status"`
}
RefundResponse defines model for RefundResponse.
type RefundRow ¶
type RefundRow struct {
AmountMicro int64 `json:"amount_micro"`
Currency string `json:"currency"`
Id openapi_types.UUID `json:"id"`
PaymentId openapi_types.UUID `json:"payment_id"`
Reason *string `json:"reason,omitempty"`
RequestedAt time.Time `json:"requested_at"`
Status string `json:"status"`
}
RefundRow defines model for RefundRow.
type RefundsResponse ¶
type RefundsResponse struct {
NextCursor *string `json:"next_cursor,omitempty"`
Refunds []RefundRow `json:"refunds"`
}
RefundsResponse defines model for RefundsResponse.
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type ResolveEnsHTTPResponse ¶
type ResolveEnsHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ResolveEnsResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseResolveEnsHTTPResponse ¶
func ParseResolveEnsHTTPResponse(rsp *http.Response) (*ResolveEnsHTTPResponse, error)
ParseResolveEnsHTTPResponse parses an HTTP response from a ResolveEnsWithResponse call
func (ResolveEnsHTTPResponse) ContentType ¶
func (r ResolveEnsHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (ResolveEnsHTTPResponse) Status ¶
func (r ResolveEnsHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (ResolveEnsHTTPResponse) StatusCode ¶
func (r ResolveEnsHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ResolveEnsJSONRequestBody ¶
type ResolveEnsJSONRequestBody = ResolveEnsRequest
ResolveEnsJSONRequestBody defines body for ResolveEns for application/json ContentType.
type ResolveEnsRequest ¶
type ResolveEnsRequest struct {
Address string `json:"address"`
}
ResolveEnsRequest defines model for ResolveEnsRequest.
type ResolveEnsResponse ¶
type ResolveEnsResponse struct {
EnsName *string `json:"ens_name,omitempty"`
}
ResolveEnsResponse defines model for ResolveEnsResponse.
type RevokeApiKeyHTTPResponse ¶
type RevokeApiKeyHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseRevokeApiKeyHTTPResponse ¶
func ParseRevokeApiKeyHTTPResponse(rsp *http.Response) (*RevokeApiKeyHTTPResponse, error)
ParseRevokeApiKeyHTTPResponse parses an HTTP response from a RevokeApiKeyWithResponse call
func (RevokeApiKeyHTTPResponse) ContentType ¶
func (r RevokeApiKeyHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RevokeApiKeyHTTPResponse) Status ¶
func (r RevokeApiKeyHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (RevokeApiKeyHTTPResponse) StatusCode ¶
func (r RevokeApiKeyHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateAgentKeyHTTPResponse ¶
type RotateAgentKeyHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *RotateKeyResponse
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseRotateAgentKeyHTTPResponse ¶
func ParseRotateAgentKeyHTTPResponse(rsp *http.Response) (*RotateAgentKeyHTTPResponse, error)
ParseRotateAgentKeyHTTPResponse parses an HTTP response from a RotateAgentKeyWithResponse call
func (RotateAgentKeyHTTPResponse) ContentType ¶
func (r RotateAgentKeyHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (RotateAgentKeyHTTPResponse) Status ¶
func (r RotateAgentKeyHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (RotateAgentKeyHTTPResponse) StatusCode ¶
func (r RotateAgentKeyHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RotateKeyResponse ¶
type RotateKeyResponse struct {
// AgentId Agent ID whose key was rotated.
AgentId openapi_types.UUID `json:"agent_id"`
// ApiKey The new API key (shown only once -- store it securely).
ApiKey string `json:"api_key"`
// ApiKeyPrefix API key prefix for future identification.
ApiKeyPrefix string `json:"api_key_prefix"`
// RotatedAt When the new key was generated (ISO 8601).
RotatedAt time.Time `json:"rotated_at"`
}
RotateKeyResponse Response returned after rotating an agent's API key.
type SignupHTTPResponse ¶
type SignupHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *SignupResponse
JSON400 *ProblemDetails
JSON409 *ProblemDetails
}
func ParseSignupHTTPResponse ¶
func ParseSignupHTTPResponse(rsp *http.Response) (*SignupHTTPResponse, error)
ParseSignupHTTPResponse parses an HTTP response from a SignupWithResponse call
func (SignupHTTPResponse) ContentType ¶
func (r SignupHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (SignupHTTPResponse) Status ¶
func (r SignupHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (SignupHTTPResponse) StatusCode ¶
func (r SignupHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SignupJSONRequestBody ¶
type SignupJSONRequestBody = SignupRequest
SignupJSONRequestBody defines body for Signup for application/json ContentType.
type SignupRequest ¶
type SignupRequest struct {
// AgentName Display name for the default agent. Defaults to "default-agent".
AgentName *string `json:"agent_name,omitempty"`
// Country ISO 3166-1 alpha-2 country code (e.g. "ZA"). Defaults to "ZA".
Country *string `json:"country,omitempty"`
// OrgName Display name for the new organization (e.g. "Acme AI Labs").
OrgName string `json:"org_name"`
// WalletChain Chain to provision the default wallet on. Defaults to
// "base-sepolia". The address is derived from a fresh secp256k1 key
// the gateway encrypts and stores.
WalletChain *string `json:"wallet_chain,omitempty"`
}
SignupRequest defines model for SignupRequest.
type SignupResponse ¶
type SignupResponse struct {
AgentId openapi_types.UUID `json:"agent_id"`
// ApiKey The API key — shown ONCE, never again. Send as
// `Authorization: Bearer <api_key>`.
ApiKey string `json:"api_key"`
ApiKeyPrefix string `json:"api_key_prefix"`
// NextSteps Human-readable note about what to do next.
NextSteps string `json:"next_steps"`
OrgId openapi_types.UUID `json:"org_id"`
// WalletAddress On-chain address derived from the wallet's signing key. Fund this
// address with USDC + a tiny amount of native gas before making
// payments.
WalletAddress string `json:"wallet_address"`
WalletId openapi_types.UUID `json:"wallet_id"`
}
SignupResponse defines model for SignupResponse.
type StatsResponse ¶
type StatsResponse struct {
CallCount int64 `json:"call_count"`
Currency string `json:"currency"`
Range string `json:"range"`
// TotalRevenueMicro Transaction amounts in micro units (`amount * 1_000_000`).
TotalRevenueMicro int64 `json:"total_revenue_micro"`
}
StatsResponse defines model for StatsResponse.
type TestPaymentRequest ¶
type TestPaymentRequest struct {
EndpointId openapi_types.UUID `json:"endpoint_id"`
}
TestPaymentRequest defines model for TestPaymentRequest.
type TestPaymentTrace ¶
type TestPaymentTrace struct {
Decision string `json:"decision"`
EndpointId openapi_types.UUID `json:"endpoint_id"`
EndpointMethod string `json:"endpoint_method"`
EndpointUrl string `json:"endpoint_url"`
Notes []string `json:"notes"`
PriceAmount string `json:"price_amount"`
PriceCurrency string `json:"price_currency"`
SyntheticCredential string `json:"synthetic_credential"`
Timestamp time.Time `json:"timestamp"`
}
TestPaymentTrace defines model for TestPaymentTrace.
type TimePoint ¶
type TimePoint struct {
BucketStart time.Time `json:"bucket_start"`
TotalMicro int64 `json:"total_micro"`
}
TimePoint defines model for TimePoint.
type TimeSeriesPoint ¶
TimeSeriesPoint defines model for TimeSeriesPoint.
type TimeseriesResponse ¶
type TimeseriesResponse struct {
Points []TimePoint `json:"points"`
}
TimeseriesResponse defines model for TimeseriesResponse.
type TransactionResponse ¶
type TransactionResponse struct {
// AgentId Agent ID (if initiated by an agent).
AgentId *openapi_types.UUID `json:"agentId,omitempty"`
// Amount Transfer amount.
Amount string `json:"amount"`
// Chain Blockchain network.
Chain string `json:"chain"`
// CreatedAt When the transaction was created (ISO 8601).
CreatedAt time.Time `json:"createdAt"`
// Currency Currency.
Currency string `json:"currency"`
// FromAddress Sender address.
FromAddress string `json:"fromAddress"`
// Id Transaction identifier (`UUIDv7`).
Id openapi_types.UUID `json:"id"`
// Metadata Arbitrary metadata.
Metadata interface{} `json:"metadata"`
// OrganizationId Organization ID.
OrganizationId openapi_types.UUID `json:"organizationId"`
// PolicyEvaluationId Policy evaluation ID.
PolicyEvaluationId *openapi_types.UUID `json:"policyEvaluationId,omitempty"`
// Status Transaction status ("pending", "processing", "completed", "failed", "cancelled").
Status string `json:"status"`
// ToAddress Recipient address.
ToAddress string `json:"toAddress"`
// TxHash On-chain transaction hash.
TxHash *string `json:"txHash,omitempty"`
// Type Transaction type.
Type string `json:"type"`
// UpdatedAt When the transaction was last updated (ISO 8601).
UpdatedAt time.Time `json:"updatedAt"`
// WalletId Wallet ID.
WalletId openapi_types.UUID `json:"walletId"`
}
TransactionResponse Transaction resource returned by the API.
type UploadKybDocumentForm ¶
type UploadKybDocumentForm struct {
// DocumentType Document category (`incorporation`, `owner_id`, or `proof_of_address`).
DocumentType string `json:"document_type"`
// File Binary file contents.
File openapi_types.File `json:"file"`
}
UploadKybDocumentForm Multipart form body for `POST /v1/merchants/me/kyb/documents`.
Documentation-only marker type — the actual handler streams the multipart payload directly via `axum::extract::Multipart`. Fields: `document_type` (one of `incorporation`, `owner_id`, `proof_of_address`) and `file` (binary upload).
type UploadKybDocumentHTTPResponse ¶
type UploadKybDocumentHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *DocumentResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
}
func ParseUploadKybDocumentHTTPResponse ¶
func ParseUploadKybDocumentHTTPResponse(rsp *http.Response) (*UploadKybDocumentHTTPResponse, error)
ParseUploadKybDocumentHTTPResponse parses an HTTP response from a UploadKybDocumentWithResponse call
func (UploadKybDocumentHTTPResponse) ContentType ¶
func (r UploadKybDocumentHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (UploadKybDocumentHTTPResponse) Status ¶
func (r UploadKybDocumentHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (UploadKybDocumentHTTPResponse) StatusCode ¶
func (r UploadKybDocumentHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadKybDocumentMultipartRequestBody ¶
type UploadKybDocumentMultipartRequestBody = UploadKybDocumentForm
UploadKybDocumentMultipartRequestBody defines body for UploadKybDocument for multipart/form-data ContentType.
type VerifyPaymentHTTPResponse ¶
type VerifyPaymentHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *VerifyResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseVerifyPaymentHTTPResponse ¶
func ParseVerifyPaymentHTTPResponse(rsp *http.Response) (*VerifyPaymentHTTPResponse, error)
ParseVerifyPaymentHTTPResponse parses an HTTP response from a VerifyPaymentWithResponse call
func (VerifyPaymentHTTPResponse) ContentType ¶
func (r VerifyPaymentHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (VerifyPaymentHTTPResponse) Status ¶
func (r VerifyPaymentHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (VerifyPaymentHTTPResponse) StatusCode ¶
func (r VerifyPaymentHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type VerifyPaymentJSONRequestBody ¶
type VerifyPaymentJSONRequestBody = VerifyRequest
VerifyPaymentJSONRequestBody defines body for VerifyPayment for application/json ContentType.
type VerifyRequest ¶
type VerifyRequest struct {
// Credential Base64-encoded JSON: `{"scheme":"exact","authorization":{...},"signature":"0x..."}`.
// Extracted by the vendor SDK from `Authorization: Payment <credential>`.
Credential string `json:"credential"`
// ExpectedAmount Optional: amount the vendor expects (decimal string). If provided,
// verify checks transactions.amount matches.
ExpectedAmount *string `json:"expected_amount,omitempty"`
// ExpectedCurrency Optional: currency the vendor expects (e.g. "USDC").
ExpectedCurrency *string `json:"expected_currency,omitempty"`
// ExpectedUrl Optional: URL the vendor is protecting. Accepted but currently
// ignored — URL binding lands in P4.
ExpectedUrl *string `json:"expected_url,omitempty"`
}
VerifyRequest defines model for VerifyRequest.
type VerifyResponse ¶
type VerifyResponse struct {
AgentId openapi_types.UUID `json:"agent_id"`
Amount string `json:"amount"`
Currency string `json:"currency"`
PaymentId openapi_types.UUID `json:"payment_id"`
SettledAt *time.Time `json:"settled_at,omitempty"`
Status string `json:"status"`
TxHash *string `json:"tx_hash,omitempty"`
}
VerifyResponse defines model for VerifyResponse.
type WaitlistRequest ¶
type WaitlistRequest struct {
Chain string `json:"chain"`
}
WaitlistRequest defines model for WaitlistRequest.
type WaitlistResponse ¶
WaitlistResponse defines model for WaitlistResponse.
type WalletActionResponse ¶
type WalletActionResponse struct {
// Amount Amount involved in the action (if applicable).
Amount *string `json:"amount,omitempty"`
// Currency Currency code (if applicable).
Currency *string `json:"currency,omitempty"`
// Status Action status (e.g., `funding_initiated`, `withdrawal_initiated`, `frozen`).
Status string `json:"status"`
// WalletId Wallet ID.
WalletId openapi_types.UUID `json:"wallet_id"`
}
WalletActionResponse Response for wallet action endpoints (fund, withdraw, freeze).
type WalletResponse ¶
type WalletResponse struct {
// Address On-chain address (ERC-4337 smart account).
Address string `json:"address"`
// Balance Current USDC balance.
Balance string `json:"balance"`
// Chain Blockchain network.
Chain string `json:"chain"`
// CreatedAt When the wallet was created (ISO 8601).
CreatedAt time.Time `json:"createdAt"`
// Currency Currency.
Currency string `json:"currency"`
// Id Unique wallet identifier (`UUIDv7`).
Id openapi_types.UUID `json:"id"`
// Label Human-readable label.
Label string `json:"label"`
// OrganizationId Organization ID this wallet belongs to.
OrganizationId openapi_types.UUID `json:"organizationId"`
// Status Wallet status.
Status string `json:"status"`
// Type Wallet type.
Type string `json:"type"`
// UpdatedAt When the wallet was last updated (ISO 8601).
UpdatedAt time.Time `json:"updatedAt"`
}
WalletResponse Wallet resource returned by the API.
type WebhookResponse ¶
type WebhookResponse struct {
Description *string `json:"description,omitempty"`
Enabled bool `json:"enabled"`
EventTypes []string `json:"event_types"`
Id openapi_types.UUID `json:"id"`
// Secret Only present in the create response — never returned by GET.
Secret *string `json:"secret,omitempty"`
SecretPrefix *string `json:"secret_prefix,omitempty"`
Url string `json:"url"`
}
WebhookResponse defines model for WebhookResponse.
type WithdrawRequest ¶
type WithdrawRequest struct {
// Amount Amount to withdraw.
Amount string `json:"amount"`
// Currency Currency code (e.g., "USDC", "ZAR").
Currency string `json:"currency"`
// Destination Destination address or bank account reference.
Destination string `json:"destination"`
}
WithdrawRequest Request body for withdrawing from a wallet.
type WithdrawWalletHTTPResponse ¶
type WithdrawWalletHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON202 *WalletActionResponse
JSON400 *ProblemDetails
JSON401 *ProblemDetails
JSON404 *ProblemDetails
}
func ParseWithdrawWalletHTTPResponse ¶
func ParseWithdrawWalletHTTPResponse(rsp *http.Response) (*WithdrawWalletHTTPResponse, error)
ParseWithdrawWalletHTTPResponse parses an HTTP response from a WithdrawWalletWithResponse call
func (WithdrawWalletHTTPResponse) ContentType ¶
func (r WithdrawWalletHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (WithdrawWalletHTTPResponse) Status ¶
func (r WithdrawWalletHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (WithdrawWalletHTTPResponse) StatusCode ¶
func (r WithdrawWalletHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WithdrawWalletJSONRequestBody ¶
type WithdrawWalletJSONRequestBody = WithdrawRequest
WithdrawWalletJSONRequestBody defines body for WithdrawWallet for application/json ContentType.
type X402VerifyHTTPResponse ¶
type X402VerifyHTTPResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *X402VerifyResponse
JSON400 *ProblemDetails
}
func ParseX402VerifyHTTPResponse ¶
func ParseX402VerifyHTTPResponse(rsp *http.Response) (*X402VerifyHTTPResponse, error)
ParseX402VerifyHTTPResponse parses an HTTP response from a X402VerifyWithResponse call
func (X402VerifyHTTPResponse) ContentType ¶
func (r X402VerifyHTTPResponse) ContentType() string
ContentType is a convenience method to retrieve the Content-Type value from the HTTP response headers
func (X402VerifyHTTPResponse) Status ¶
func (r X402VerifyHTTPResponse) Status() string
Status returns HTTPResponse.Status
func (X402VerifyHTTPResponse) StatusCode ¶
func (r X402VerifyHTTPResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type X402VerifyJSONRequestBody ¶
type X402VerifyJSONRequestBody = X402VerifyRequest
X402VerifyJSONRequestBody defines body for X402Verify for application/json ContentType.
type X402VerifyRequest ¶
type X402VerifyRequest struct {
// PaymentRequirements The payment requirements from the 402 response.
PaymentRequirements map[string]interface{} `json:"payment_requirements"`
// PaymentSignature The `Payment-Signature` header value from the client.
PaymentSignature string `json:"payment_signature"`
// ResourceUrl The original resource URL that returned HTTP 402.
ResourceUrl string `json:"resource_url"`
}
X402VerifyRequest Request body for verifying an x402 payment.
type X402VerifyResponse ¶
type X402VerifyResponse struct {
// Status Settlement status ("settled", "pending", "failed").
Status string `json:"status"`
// TxHash On-chain transaction hash as settlement proof.
TxHash *string `json:"tx_hash,omitempty"`
// Verified Whether the payment was verified successfully.
Verified bool `json:"verified"`
}
X402VerifyResponse Response from x402 payment verification.