{"openapi":"3.1.0","info":{"title":"SET API","version":"2026-11-23","x-build-sha":"514c5be9","summary":"Onboard businesses, collect in dollars, euros, pounds, pesos and reais, settle to stablecoin or to the bank, and pay out to anyone.","description":"Call GET /v1/capabilities first: it says what this deployment has switched on and what this key can do today. An operation that a deployment switch gates lists the switch in x-set-switches (error, status, and the capabilities field that says whether it is on): close_off, close_watch_off, accounting_connectors_off, expanded_routes_off, self_custody_disabled, direct_deposit_disabled. One API for two account types, with one kind of key: a platform account collects and pays for its customers; a business account collects for its own goods or services (card payments, payment links, SET Invoices, refunds, saved payers, accounting connections). The account type is chosen at activation. x-set-account-type marks an operation only one account type may call; the other account type is refused with 403 (409 for sender wallets). GET /v1/ping and GET /v1/capabilities answer accountType (\"platform\" or \"business\") and plan; kind (\"platform\" or \"merchant\") is kept for existing clients. Server to server. Send your key as a Bearer token: set_live_… (production) or set_test_… (staging, the provider's sandbox). Every POST and PUT takes an Idempotency-Key. Errors are {error, message, requestId}; requestId equals the request-id header every answer carries. GET /v1/capabilities says what this key can do today. x-scope is the key scope an operation needs; x-scopes, where present, lists every scope it needs (an approval also needs read; an export also needs write). Field meanings: https://simpleeasytransactions.com/docs and docs/api.md.","contact":{"name":"SET","url":"https://simpleeasytransactions.com"},"x-set-disclosures":{"object":"disclosures","appliesTo":"Every stablecoin in the asset register, and every stablecoin SET moves.","statements":["Not legal tender.","Not issued, backed or guaranteed by the United States.","Not FDIC or NCUA insured.","SET pays no interest or yield."],"feeShare":"SET pays out no fee share. Where SET sets a fee share for a platform in writing, it is a credit against SET's own later fees, computed on transactions SET charged a fee for, never more than SET's fee on each, never on a balance or on how long anyone holds a stablecoin, and never paid to an end holder.","redemption":{"object":"redemption_terms","paths":[{"kind":"bank_payout","route":"POST /v1/payouts","what":"A payout to a bank account."},{"kind":"cash_out_address","route":"POST /v1/cash_out_addresses","what":"A deposit address that pays the stablecoin it receives to a bank account."}],"setFeeBps":"Per key: GET /v1/capabilities answers compliance.redemption.setFeeBps.","otherFees":"The provider's fees and the network's fees apply. They are not SET fees.","timing":{"lateAfterBusinessDays":2,"calendar":"US business days: weekdays the Federal Reserve is open, by New York date.","report":"GET /v1/reports/payout_timing"}}},"x-set-products":[{"product":"set-crypto-api-suite","name":"SET Crypto API Suite","activationFeeCents":79900,"oneTime":true,"description":"A key that reaches only the operations marked x-set-crypto-suite; any other answers 403 crypto_suite_call_not_included."}],"x-set-version":{"current":"2026-11-23","versions":["2026-11-09","2026-11-13","2026-11-23"],"description":"Each key follows the SET-Version current when it was issued; every answer carries SET-Version. Send SET-Version to follow another version SET has (an unknown one is 400 version_unsupported). Every answer to a key also carries RateLimit-Limit, RateLimit-Remaining and RateLimit-Reset (SET's count for the minute; the limiter is Cloudflare's)."}},"servers":[{"url":"https://wallet.simpleeasytransactions.com"}],"security":[{"apiKey":[]}],"tags":[{"name":"Keys"},{"name":"Analytics"},{"name":"Customers"},{"name":"Ways"},{"name":"Banks"},{"name":"Cash-Out Addresses"},{"name":"Senders"},{"name":"Virtual accounts"},{"name":"Returns"},{"name":"Static memos"},{"name":"Sandbox"},{"name":"Static templates"},{"name":"COP"},{"name":"Conversion Addresses"},{"name":"Wallets"},{"name":"Payouts"},{"name":"Transfers"},{"name":"Payable Email"},{"name":"Payment references"},{"name":"Invoices"},{"name":"Card payments"},{"name":"Accounting"},{"name":"Close"},{"name":"Events"},{"name":"Reports"},{"name":"Assets"},{"name":"Rewards"},{"name":"Cards"},{"name":"Metadata"},{"name":"Audit"},{"name":"Statements"},{"name":"Onboarding"},{"name":"Escrow"},{"name":"Prefunding"}],"paths":{"/v1/ping":{"get":{"operationId":"getPing","tags":["Keys"],"summary":"Who this key is","description":"accountType is \"platform\" or \"business\" and plan is the account's plan (set-api, or set-treasury-api); use them. kind (\"platform\" or \"merchant\") is kept for existing clients: \"merchant\" is a business account.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"platform":{"type":"string"},"name":{"type":"string"},"kind":{"type":"string"},"accountType":{"type":"string"},"plan":{"type":"string"},"key":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"livemode":{"type":"boolean"}},"additionalProperties":true},"example":{"platform":"ptr_sandbox_platform","name":"Sandbox Platform AG","kind":"platform","accountType":"platform","plan":"set-api","key":"set_test_oBJ","scopes":["read","write"],"livemode":false}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/analytics/volume":{"get":{"operationId":"getAnalyticsVolume","tags":["Analytics"],"summary":"Money in and out per period","description":"DB-2. One row per period (interval: day, week or month; a week starts on Monday), direction, currency and group (groupBy: type, currency, rail or customer), with count and amount. since and until: UTC dates (until exclusive), at most 366 days; the last 30 by default. Amounts are decimal strings, summed per currency and never across currencies; the rows are those GET /v1/balance_transactions lists.","x-scope":"read","parameters":[{"name":"since","in":"query","required":false,"schema":{"type":"string"}},{"name":"until","in":"query","required":false,"schema":{"type":"string"}},{"name":"interval","in":"query","required":false,"schema":{"type":"string"}},{"name":"groupBy","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"interval":{"type":"string"},"groupBy":{"type":"string"},"since":{"type":"string"},"until":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string"},"direction":{"type":"string"},"currency":{"type":"string"},"group":{"type":"string"},"count":{"type":"integer"},"amount":{"type":"string"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"analytics_volume","interval":"day","groupBy":"type","since":"2026-10-20","until":"2026-11-19","data":[{"period":"2026-11-18","direction":"in","currency":"eur","group":"deposit","count":1,"amount":"750.00"},{"period":"2026-11-18","direction":"in","currency":"usd","group":"deposit","count":3,"amount":"8000.00"},{"period":"2026-11-18","direction":"in","currency":"usdc","group":"cash_out_payment","count":3,"amount":"7250.00"},{"period":"2026-11-18","direction":"in","currency":"usdc","group":"conversion_payment","count":1,"amount":"300.00"}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/analytics/customers":{"get":{"operationId":"getAnalyticsCustomers","tags":["Analytics"],"summary":"Each customer's totals","description":"DB-2. Per customer: lastPaymentAt, verification, and per currency count, in, out and setFee. Card payments and refunds name no customer and are not here. since and until: UTC dates (until exclusive), at most 366 days; the last 30 by default. Amounts are decimal strings, summed per currency and never across currencies; the rows are those GET /v1/balance_transactions lists.","x-scope":"read","parameters":[{"name":"since","in":"query","required":false,"schema":{"type":"string"}},{"name":"until","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"since":{"type":"string"},"until":{"type":"string"},"note":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"customer":{"type":"string"},"lastPaymentAt":{"type":"string","format":"date-time"},"verification":{"type":"string"},"totals":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"count":{"type":"integer"},"in":{"type":"string"},"out":{"type":"string"},"setFee":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"analytics_customers","since":"2026-10-20","until":"2026-11-19","note":"Each customer's own rows only: card payments and refunds name no customer and are not here. The platform's own fee per row is on GET /v1/balance_transactions.","data":[{"customer":"cus_935b8d29c2134a9f96b0d595d43e1f46","lastPaymentAt":"2026-11-18T13:42:41.319Z","verification":"approved","totals":[{"currency":"eur","count":1,"in":"750.00","out":"0.00","setFee":"7.50"},{"currency":"usd","count":3,"in":"8000.00","out":"0.00","setFee":"10.00"},{"currency":"usdc","count":4,"in":"7550.00","out":"0.00","setFee":"75.50"}]}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/analytics/sales":{"get":{"operationId":"getAnalyticsSales","tags":["Analytics"],"summary":"Invoices: invoiced, received, outstanding, refunded","description":"DB-2. totals per currency (invoices, invoiced, received, outstanding for open invoices, refunded) and byState. since and until: UTC dates (until exclusive), at most 366 days; the last 30 by default. Amounts are decimal strings, summed per currency and never across currencies. Read from invoices and refunds, not balance transactions; received includes each payment's tag, so it can exceed invoiced.","x-scope":"read","parameters":[{"name":"since","in":"query","required":false,"schema":{"type":"string"}},{"name":"until","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"since":{"type":"string"},"until":{"type":"string"},"totals":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"invoices":{"type":"integer"},"invoiced":{"type":"string"},"received":{"type":"string"},"outstanding":{"type":"string"},"refunded":{"type":"string"}},"additionalProperties":true}},"byState":{"type":"array","items":{"type":"object","properties":{"state":{"type":"string"},"currency":{"type":"string"},"count":{"type":"integer"},"invoiced":{"type":"string"},"received":{"type":"string"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"analytics_sales","since":"2026-10-20","until":"2026-11-19","totals":[{"currency":"usd","invoices":2,"invoiced":"1450.00","received":"250.004741","outstanding":"1200.00","refunded":"0.00"}],"byState":[{"state":"open","currency":"usd","count":1,"invoiced":"1200.00","received":"0.00"},{"state":"paid","currency":"usd","count":1,"invoiced":"250.00","received":"250.004741"}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/analytics/states":{"get":{"operationId":"getAnalyticsStates","tags":["Analytics"],"summary":"Counts and amounts by state","description":"DB-2. Per type, state and currency: count and amount, for the needs-attention list. since and until: UTC dates (until exclusive), at most 366 days; the last 30 by default. Amounts are decimal strings, summed per currency and never across currencies; the rows are those GET /v1/balance_transactions lists.","x-scope":"read","parameters":[{"name":"since","in":"query","required":false,"schema":{"type":"string"}},{"name":"until","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"since":{"type":"string"},"until":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"direction":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"count":{"type":"integer"},"amount":{"type":"string"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"analytics_states","since":"2026-10-20","until":"2026-11-19","data":[{"type":"cash_out_payment","direction":"in","state":"payment_processed","currency":"usdc","count":3,"amount":"7250.00"},{"type":"conversion_payment","direction":"in","state":"payment_processed","currency":"usdc","count":1,"amount":"300.00"},{"type":"deposit","direction":"in","state":"payment_processed","currency":"eur","count":1,"amount":"750.00"},{"type":"deposit","direction":"in","state":"payment_processed","currency":"usd","count":3,"amount":"8000.00"}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/capabilities":{"get":{"operationId":"getCapabilities","tags":["Keys"],"summary":"What this key can do today","description":"Currencies with their collect and payout rails, features, limits and minimums for this key and deployment. accountType (\"platform\" or \"business\") and plan say which account this is; key.kind (\"platform\" or \"merchant\") is kept for existing clients. Every status is \"available\" or the exact error code the matching route answers (for example fednow_disabled, batched_settlement_unavailable, multichain_unavailable); withoutEndorsement is what a customer lacking the currency's endorsement gets. accountEnablement (MXN, BRL and COP; null otherwise) is what SET last saw of its own account, read every few hours: state \"enabled\" when a customer is approved for the currency, \"not_observed\" when none is yet (which does not mean it is off), \"not_checked\" before the first read; with observedAt and checkedAt. verification is a self-serve business's own state for a currency it asked for: \"approved\" or \"pending\", null otherwise. screening is \"available\" with sources [\"ofac_sdn\"]: SET screens every wallet it is given against OFAC's list of sanctioned digital-currency addresses, loaded daily, and screens each again when a new list loads. It reads \"screening_unavailable\" only while the list is more than 48 hours old and no other source can answer. \"not_screened\" appears only on a deployment where no list has ever loaded. screening.list is the list in use: publishedAt (the date OFAC published it), loadedAt and fresh (loaded within the last 48 hours); null before the first load; when no source can answer, a create that names a new wallet answers 503 screening_unavailable with Retry-After. compliance lists every control a compliance review asks about (screening, restrictions, legal orders, the asset register, Travel Rule evidence, audit log, retention, alerts, reports, incidents), each with its routes and events or its gap, plus the disclosures and redemption terms with SET's fee for this key (info.x-set-disclosures has the same statements). assetPolicy (GX-5) is SET's cutoff for stablecoins not recorded as GENIUS-permitted (nonPermittedAssetCutoff, null while none is set; inForce) and each asset's genius {permitted, source}, null until SET records its issuer's status; once the cutoff passes, a new object on an asset whose permitted is not true answers 400 asset_not_permitted. retiredAssets (W-3) says whether USDT and Tron are retired on this deployment (inForce; currencies, chains, code): while inForce, nothing new delivers, takes or holds USDT or opens on Tron (400 asset_retired), deliversTo and GET /v1/conversion_routes leave them out, and existing accounts, addresses and wallets keep working. limits.customers is how many live customers this business's keys may create (limit; null is no limit), how many it holds (used; null on a sandbox key) and where the limit comes from (source: business, default or none); a new live customer over it is refused with 403 account_limit_reached. Read-only; no provider call.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Capabilities"},"example":{"object":"capabilities","api":"set_api","livemode":false,"version":{"current":"2026-11-13","key":"2026-11-13"},"accountType":"platform","plan":"set-api","key":{"kind":"platform","scopes":["read","write"]},"rateLimit":{"requestsPerMinute":300,"writesPerMinute":120,"periodSeconds":60},"currencies":[{"currency":"usd","collect":{"rails":["ach","wire"],"deliversTo":["usdc-base","usdc-ethereum"],"status":"available"},"payout":{"rails":[{"rail":"ach","status":"available"},{"rail":"wire","status":"available"}],"status":"available"},"endorsement":"base","withoutEndorsement":"available","accountEnablement":null,"verification":null,"thirdPartyIndividuals":{"rule":"permitted_with_limits","limit":null,"providerWords":["Third-party payment from a family member's bank account, where you share a surname","Third-party Person-to-Person payment for an amount less than $4,000"],"note":null,"source":"The provider's rail-specific details, 3rd Party Deposits (read 2026-11-14)"}},{"currency":"eur","collect":{"rails":["sepa"],"deliversTo":["usdc-base","usdc-ethereum"],"status":"available"},"payout":{"rails":[{"rail":"sepa","status":"available"}],"status":"available"},"endorsement":"sepa","withoutEndorsement":"available","accountEnablement":null,"verification":null,"thirdPartyIndividuals":{"rule":"not_available","limit":null,"providerWords":["From Indivduals: Contact Account Manager"],"note":"Not available on self-serve: the provider's email to SET's owner says an account manager is not offered on self-serve.","source":"The provider's rail-specific details, 3rd Party Deposits (read 2026-11-14)"}}],"features":{"custodialWallets":{"status":"available"},"selfCustodyWallets":{"status":"self_custody_disabled"},"fednowPayouts":{"status":"fednow_disabled"},"fixedOutputPayouts":{"status":"fixed_output_payouts_disabled"},"payeeBankDetails":{"status":"payee_bank_details_disabled"},"expandedRoutes":{"status":"available","cashOutChains":["base","ethereum"]},"batchedSettlement":{"status":"batched_settlement_unavailable"},"multichainAddresses":{"status":"available"},"payableEmail":{"status":"payable_email_disabled"},"taxForms":{"status":"tax_forms_disabled"},"screening":{"status":"not_screened","sources":[],"list":null},"provider":{"status":"available","id":"primary","unavailable":[]},"platformFunds":{"status":"available"},"platformFee":{"status":"platform_fee_not_allowed","maxBps":null},"recipients":{"status":"available"},"payoutFallback":{"status":"available"},"savedPayers":{"status":"available"},"invoicePayers":{"status":"available"},"close":{"status":"close_off"},"closeWatch":{"status":"close_off"},"accountingConnectors":{"status":"accounting_connectors_off","providers":{"quickbooks":false,"xero":false},"tokenKey":"derived"},"treasury":{"plan":"set-treasury-api","status":"treasury_plan_required","features":{"cashPosition":{"status":"treasury_plan_required","route":"GET /v1/treasury/cash_position"},"bankFormatSettlement":{"status":"treasury_plan_required","route":"GET /v1/reports/settlement?format=camt054|bai2","formats":["camt.054.001.08","bai2"]},"bankFormatStatements":{"status":"treasury_plan_required","route":"GET /v1/statements/{id}/camt054 | /bai2","formats":["camt.054.001.08","bai2"]}}}},"limits":{"pageSize":{"default":50,"max":100},"payoutBatchItems":100,"additionalWebhookEndpoints":10,"metadata":{"keys":20,"valueLength":200},"allowedCidrsPerKey":20,"maxRateDriftBps":5000,"bodyBytes":{"json":16384,"payoutBatch":262144,"customerWithDocuments":12582912,"onboardingDocument":4194304},"idempotencyRetentionHours":24,"customers":{"limit":null,"used":null,"source":"none"}},"compliance":{"controls":[{"control":"screening","name":"Wallet screening","state":"in_place","routes":["GET /v1/capabilities"],"events":[]},{"control":"restrictions","name":"Restrictions on a party","state":"in_place","routes":["POST /v1/restrictions","GET /v1/restrictions"],"events":["restriction.placed","restriction.lifted"]}],"screening":{"status":"not_screened","sources":[],"withoutProvider":"Each wallet is recorded not_screened and nothing is held.","whenUnavailable":"A new recipient, sender, return, settlement or fallback wallet, or a new SET Hold, is refused with 503 screening_unavailable (retry); money already arriving is recorded not_screened. An address the list names is a hit however old the list is."},"restrictions":{"subjects":{"yours":["customer","recipient"],"set":["business","customer"]},"reasons":["legal_order","sanctions"],"refusal":"restricted","reasonShown":"Only on a restriction you placed."},"legalOrders":{"handling":"Each order SET receives is recorded with what it restricted and how long SET took to act. A freeze or seizure restricts the subject and holds any money that still arrives. SET cannot seize, burn or move a coin, and its operator cannot move a customer's money.","kinds":["seizure","freeze"],"inbound":"hold","recorded":true,"timeToActMeasured":true,"disclosedToKeys":false,"setCanSeize":false,"setCanBurn":false,"operatorCanMoveCustomerMoney":false},"assetRegister":{"route":"GET /v1/assets","assets":29,"withIssuer":21,"issuerStatusTracked":true,"issuerStatuses":["permitted","foreign_registered"]},"alerts":{"outflowAlert":{"routes":["GET /v1/outflow_alert","POST /v1/outflow_alert"],"events":["outflow.threshold_reached"]},"unknownSender":{"routes":["POST /v1/cash_out_payments/{id}/sender"],"events":["cash_out_payment.unknown_sender"]},"rateDriftGuard":{"currencies":["eur","gbp"],"maxBps":5000}},"retention":{"recordsYears":10,"basis":"SET-CMP-020 sections 4 and 9.4","webhookAttemptsDays":30,"auditLogTamperEvident":true,"verifyRoute":"GET /v1/audit_log/verify"},"disclosures":{"object":"disclosures","appliesTo":"Every stablecoin in the asset register, and every stablecoin SET moves.","statements":["Not legal tender."],"feeShare":"A platform's fee share is a part of SET's transaction fee, paid to the platform (SET's business customer). It is computed on transactions SET charged a fee for, never more than SET's fee on each, never on a balance or on how long anyone holds a stablecoin, and it is never paid to an end holder."},"redemption":{"object":"redemption_terms","paths":[{"kind":"bank_payout","route":"POST /v1/payouts","what":"A payout to a bank account."},{"kind":"cash_out_address","route":"POST /v1/cash_out_addresses","what":"A deposit address that pays the stablecoin it receives to a bank account."}],"setFeeBps":100,"otherFees":"The provider's fees and the network's fees apply. They are not SET fees.","timing":{"lateAfterBusinessDays":2,"calendar":"US business days: weekdays the Federal Reserve is open, by New York date.","report":"GET /v1/reports/payout_timing"}}},"assetPolicy":{"nonPermittedAssetCutoff":null,"inForce":false,"assets":[{"id":"usdc-base","genius":{"permitted":null,"source":null}},{"id":"usdc-ethereum","genius":{"permitted":null,"source":null}}]},"retention":{"recordsYears":10,"basis":"SET-CMP-020 sections 4 and 9.4","pruned":[{"table":"api_idempotency_keys","period":"24 hours, or at once when SET or the provider failed the request so it can be retried"},{"table":"api_request_counts","period":"the current 60-second window"}]},"minimums":{"payoutAfterFee":"1.00","copCollect":"100","cashOutRoutes":[{"currency":"usdc","chain":"base","rail":"ach","minimum":"1"},{"currency":"usdc","chain":"base","rail":"wire","minimum":"1"}]}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/changelog":{"get":{"operationId":"getChangelog","tags":["Keys"],"summary":"Dated changes to the API, newest first, and what is deprecated","description":"data: one entry per change a client could notice (date, api v1 or partner, kind added, changed, deprecated or removed, summary, routes, version for a breaking change). currentVersion and versions are the SET-Versions SET has. deprecations: each call SET will retire; while it answers, its answers carry Deprecation, Sunset (once a date is set) and Link rel=\"deprecation\" headers. since=YYYY-MM-DD narrows to entries on or after that day; api=v1 or partner to one API. Reads no table.","x-scope":"read","parameters":[{"name":"since","in":"query","required":false,"schema":{"type":"string"}},{"name":"api","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"currentVersion":{"type":"string"},"versions":{"type":"array","items":{"type":"string"}},"partnerVersion":{"type":"string"},"deprecations":{"type":"array"},"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"api":{"type":"array","items":{"type":"string"}},"kind":{"type":"string"},"summary":{"type":"string"},"routes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"changelog","currentVersion":"2026-11-13","versions":["2026-11-09","2026-11-13"],"partnerVersion":"2026-11-13","deprecations":[],"data":[{"date":"2026-11-18","api":["v1","partner"],"kind":"changed","summary":"Both OpenAPI documents now match the code: x-set-switches names each deployment switch refusal, x-scopes every scope needed, one success status where a POST has one; more x-set-account-type marks, path patterns, non-JSON content types and per-call chains. No route, body, answer or scope changed.","routes":["GET /v1/openapi.json","GET /api/partner/openapi.json"]},{"date":"2026-11-17","api":["v1"],"kind":"changed","summary":"The OpenAPI document files GET /v1/treasury/cash_position under the Wallets tag and the statement files (/camt054, /bai2, /camt053) under Close; the Treasury tag is gone. No path, body, answer, scope or plan check changed.","routes":["GET /v1/treasury/cash_position","GET /v1/statements/{id}/camt054"]}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/api_keys":{"get":{"operationId":"getApiKeys","tags":["Keys"],"summary":"The platform's keys","description":"Prefixes, scopes and labels; never a key. Each with expiresAt, expired, lastUsedAt (written at most once a minute) and rotatedTo.","x-scope":"read","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ApiKey"}}}}]},"example":{"object":"list","data":[{"id":"key_40ee47d73b96451cba62d5efaacb59da","object":"api_key","prefix":"set_test_3-A","scopes":["read"],"label":null,"allowedCidrs":[],"current":false,"livemode":false,"createdAt":"2026-11-18T21:29:03.187Z","revokedAt":"2026-08-10T21:29:03.188Z","expiresAt":null,"expired":false,"lastUsedAt":null,"rotatedTo":null},{"id":"key_cb3ab2fb626746b29ffa030b78fc9a66","object":"api_key","prefix":"set_test_Yvi","scopes":["read"],"label":null,"allowedCidrs":[],"current":false,"livemode":false,"createdAt":"2026-11-18T21:29:03.182Z","revokedAt":"2026-11-18T21:29:03.185Z","expiresAt":null,"expired":false,"lastUsedAt":null,"rotatedTo":null}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"post":{"operationId":"postApiKeys","tags":["Keys"],"summary":"Issue a key","description":"Shown once. Never broader than the calling key: each scope asked for is one the calling key has, or a narrower resource scope it covers (write covers payouts:write; payouts:write covers payouts:read). Resource scopes (Wave 2A) limit a key to one kind of object: customers, payouts (also payouts:approve), transfers, wallets, webhooks, reports (read) and close; a call outside every resource needs a coarse scope. <resource>:write also reads that resource. expiresAt: past it the key answers 401 api_key_expired.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"scopes":{"type":"array","items":{"type":"string","description":"direct_deposit: the same key also opens the Direct Deposit partner API (/api/partner/*). customers:read … close:write: resource scopes (worker/lib/api-scopes.ts).","enum":["read","write","approve","direct_deposit","customers:read","customers:write","payouts:read","payouts:write","payouts:approve","transfers:read","transfers:write","wallets:read","wallets:write","webhooks:read","webhooks:write","reports:read","close:read","close:write"]}},"label":{"type":"string"},"expiresAt":{"type":"string","description":"ISO 8601, at least a minute ahead; null or absent for no expiry.","format":"date-time"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"},"example":{"id":"key_f96df4ca965f47a8a39fc7e495489f65","object":"api_key","key":"set_test_…","prefix":"set_test_3ws","scopes":["read","write"],"label":null,"allowedCidrs":[],"livemode":false,"createdAt":"2026-11-18T21:31:06.720Z","expiresAt":null,"note":"Shown once. SET keeps only its SHA-256."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/api_keys/{key}/signing_key":{"post":{"operationId":"postApiKeysByKeySigningKey","tags":["Keys"],"summary":"Register the key's public key (request signing)","description":"B-14: one Ed25519 public key per key, as a JWK's x (base64url, 43 characters). From then on every write with this key (any method but GET and HEAD, here and on /api/partner) carries SET-Timestamp (unix seconds, within 300 seconds of SET's clock) and SET-Request-Signature (base64url Ed25519 of \"<SET-Timestamp>\\n<METHOD>\\n<path and query>\\n<hex SHA-256 of the body>\"), or answers 401 request_signature_required, request_signature_expired or request_signature_invalid. Idempotency-Key works as before. The signature and signingKeyId are kept on the write's audit row. A second registration answers 409 signing_key_exists: rotate the key to change it.","x-scope":"write","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","pattern":"^key_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"publicKey":{"type":"string","description":"Ed25519 public key, JWK x, base64url."}},"required":["publicKey"],"additionalProperties":true}}}},"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"key":{"type":"string"},"signingKeyId":{"type":"string"},"algorithm":{"type":"string"},"headers":{"type":"array","items":{"type":"string"}},"signs":{"type":"string"},"windowSeconds":{"type":"integer"}},"additionalProperties":true},"example":{"object":"api_key_signing_key","key":"key_5a6043545969aaff74a654e0f8eb64e4","signingKeyId":"rsk_3e16634667f7","algorithm":"Ed25519","headers":["SET-Timestamp","SET-Request-Signature"],"signs":"<SET-Timestamp>\n<METHOD>\n<path and query>\n<hex SHA-256 of the body>","windowSeconds":300}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/api_keys/{key}/rotate":{"post":{"operationId":"postApiKeysByKeyRotate","tags":["Keys"],"summary":"Rotate a key, with an overlap","description":"A new key with the old one's scopes, label, address ranges and SET-Version, shown once. The old key keeps working for overlapHours (0 to 72, default 24), then answers 401 api_key_expired. A key may rotate itself.","x-scope":"write","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","pattern":"^key_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"overlapHours":{"type":"integer","description":"0 to 72; 24 by default."},"expiresAt":{"type":"string","description":"The new key's expiry; null or absent for none.","format":"date-time"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"},"example":{"id":"key_3fca70a04d944cb2a604312e3e135a88","object":"api_key","key":"set_test_…","prefix":"set_test_cSX","scopes":["read","write"],"label":"server a","allowedCidrs":[],"livemode":false,"createdAt":"2026-11-18T21:29:00.413Z","expiresAt":null,"previous":{"id":"key_3368c1cb052047acb0cca08cc6b40cb7","object":"api_key","prefix":"set_test_Tuw","scopes":["read","write"],"label":"server a","allowedCidrs":[],"current":true,"livemode":false,"createdAt":"2026-11-18T21:29:00.409Z","revokedAt":null,"expiresAt":"2026-11-18T23:29:00.413Z","expired":false,"lastUsedAt":"2026-11-18T21:29:00.413Z","rotatedTo":"key_3fca70a04d944cb2a604312e3e135a88"},"note":"Shown once. SET keeps only its SHA-256. The previous key works until previous.expiresAt."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/api_keys/{key}/revoke":{"post":{"operationId":"postApiKeysByKeyRevoke","tags":["Keys"],"summary":"Revoke another key","x-scope":"write","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","pattern":"^key_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"},"example":{"id":"key_0968bd029ffb4811a57d60a022b8e688","object":"api_key","prefix":"set_test_TBt","scopes":["read"],"label":"Dashboard","allowedCidrs":[],"current":false,"livemode":false,"createdAt":"2026-11-18T21:26:20.134Z","revokedAt":"2026-11-18T21:26:20.148Z","expiresAt":null,"expired":false,"lastUsedAt":"2026-11-18T21:26:20.139Z","rotatedTo":null}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/api_keys/{key}/allowed_cidrs":{"post":{"operationId":"postApiKeysByKeyAllowedCidrs","tags":["Keys"],"summary":"Pin a key to your servers' addresses","description":"allowedCidrs: up to 20 IPv4 or IPv6 addresses or CIDR ranges; [] for any address. A request with the key from anywhere else is 403 ip_not_allowed. A key cannot shut itself out (409 would_lock_out).","x-scope":"write","parameters":[{"name":"key","in":"path","required":true,"schema":{"type":"string","pattern":"^key_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"allowedCidrs":{"type":"array","items":{"type":"string","examples":["203.0.113.0/24"]}}},"required":["allowedCidrs"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"},"example":{"id":"key_2d9a51a3aaa241f37d14b0d28a8fd140","object":"api_key","prefix":"set_test_g_W","scopes":["read","write"],"label":null,"allowedCidrs":["203.0.113.0/24","2001:db8::/32"],"current":true,"livemode":false,"createdAt":"2026-11-18T21:33:36.907Z","revokedAt":null,"expiresAt":null,"expired":false,"lastUsedAt":"2026-11-18T21:33:37.081Z","rotatedTo":null}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApiKey"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/tos_links":{"post":{"operationId":"postTosLinks","tags":["Customers"],"summary":"The provider's hosted terms page","description":"Returns signed_agreement_id on redirectUri.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"redirectUri":{"type":"string"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"returns":{"type":"string"},"sandbox":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"returns":{"type":"string"},"sandbox":{"type":"boolean"},"note":{"type":"string"}},"additionalProperties":true},"example":{"object":"tos_link","returns":"signed_agreement_id, as a query parameter on redirectUri (or the signedAgreementId postMessage in an iframe). Send it as signedAgreementId with POST /v1/customers.","sandbox":true,"note":"Sandbox: the provider's sandbox accepts any UUID as a signed agreement."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers":{"post":{"operationId":"postCustomers","tags":["Customers"],"summary":"Create a customer (hosted link, or KYB/KYC by API)","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string","description":"Your own id for the customer; \"self\" (or none) on a business account."},"type":{"type":"string","enum":["business","individual"]},"name":{"type":"string","description":"Hosted link: the legal name."},"email":{"type":"string","description":"Hosted link: where the provider's verification mail goes."},"redirectUri":{"type":"string","description":"https URL after the hosted pages."},"endorsements":{"type":"array","items":{"type":"string","enum":["base","sepa","faster_payments","spei","pix","cop"]}},"signedAgreementId":{"type":"string","description":"KYB/KYC by API: the id the provider's terms page returns (POST /v1/tos_links)."},"kyb":{"type":"object","description":"The business's details (type business). camelCase names, as listed; the provider's snake_case names are taken too, and so is the provider's own flag for money services conducted through its account (see SET Docs). Any other field is 400 field_not_used. Creating a customer needs at least businessLegalName, email and registeredAddress; the provider lists anything else it needs in requirementsDue.","properties":{"businessLegalName":{"description":"The provider's business_legal_name."},"transliteratedBusinessLegalName":{"description":"The provider's transliterated_business_legal_name."},"businessTradeName":{"description":"The provider's business_trade_name."},"transliteratedBusinessTradeName":{"description":"The provider's transliterated_business_trade_name."},"businessDescription":{"description":"The provider's business_description."},"hasForeignTaxRegistration":{"description":"The provider's has_foreign_tax_registration."},"email":{"description":"The provider's email."},"phone":{"description":"The provider's phone."},"businessType":{"description":"The provider's business_type."},"primaryWebsite":{"description":"The provider's primary_website."},"otherWebsites":{"description":"The provider's other_websites."},"registeredAddress":{"description":"The provider's registered_address."},"transliteratedRegisteredAddress":{"description":"The provider's transliterated_registered_address."},"physicalAddress":{"description":"The provider's physical_address."},"transliteratedPhysicalAddress":{"description":"The provider's transliterated_physical_address."},"isDao":{"description":"The provider's is_dao."},"complianceScreeningExplanation":{"description":"The provider's compliance_screening_explanation."},"associatedPersons":{"description":"The provider's associated_persons."},"endorsements":{"description":"The provider's endorsements."},"businessIndustry":{"description":"The provider's business_industry."},"publiclyTradedListings":{"description":"The provider's publicly_traded_listings."},"ownershipThreshold":{"description":"The provider's ownership_threshold."},"hasMaterialIntermediaryOwnership":{"description":"The provider's has_material_intermediary_ownership."},"estimatedAnnualRevenueUsd":{"description":"The provider's estimated_annual_revenue_usd."},"expectedMonthlyPaymentsUsd":{"description":"The provider's expected_monthly_payments_usd."},"expectedMonthlySwiftTransactionVolume":{"description":"The provider's expected_monthly_swift_transaction_volume."},"operatesInProhibitedCountries":{"description":"The provider's operates_in_prohibited_countries."},"accountPurpose":{"description":"The provider's account_purpose."},"accountPurposeOther":{"description":"The provider's account_purpose_other."},"highRiskActivitiesExplanation":{"description":"The provider's high_risk_activities_explanation."},"highRiskActivities":{"description":"The provider's high_risk_activities."},"sourceOfFunds":{"description":"The provider's source_of_funds."},"sourceOfFundsDescription":{"description":"The provider's source_of_funds_description."},"conductsMoneyServices":{"description":"The provider's conducts_money_services."},"conductsMoneyServicesDescription":{"description":"The provider's conducts_money_services_description."},"identifyingInformation":{"description":"The provider's identifying_information."},"documents":{"description":"The provider's documents."},"incorporationDate":{"description":"The provider's incorporation_date."},"verifiedBusinessFormationAt":{"description":"The provider's verified_business_formation_at."},"verifiedBusinessRegistryAt":{"description":"The provider's verified_business_registry_at."},"verifiedEvidenceOfGoodStandingAt":{"description":"The provider's verified_evidence_of_good_standing_at."},"verifiedOwnershipAt":{"description":"The provider's verified_ownership_at."},"regulatedActivity":{"description":"The provider's regulated_activity."},"actingAsIntermediary":{"description":"The provider's acting_as_intermediary."}},"required":["businessLegalName","email","registeredAddress"],"additionalProperties":true},"kyc":{"type":"object","description":"The person's details (type individual). camelCase names, as listed; the provider's snake_case names are taken too, and so is the provider's own flag for money services conducted through its account (see SET Docs). Any other field is 400 field_not_used. Creating a customer needs at least firstName, lastName and email.","properties":{"accountPurpose":{"description":"The provider's account_purpose."},"accountPurposeOther":{"description":"The provider's account_purpose_other."},"actingAsIntermediary":{"description":"The provider's acting_as_intermediary."},"birthDate":{"description":"The provider's birth_date."},"documents":{"description":"The provider's documents."},"email":{"description":"The provider's email."},"employmentStatus":{"description":"The provider's employment_status."},"endorsements":{"description":"The provider's endorsements."},"expectedMonthlyPaymentsUsd":{"description":"The provider's expected_monthly_payments_usd."},"firstName":{"description":"The provider's first_name."},"identifyingInformation":{"description":"The provider's identifying_information."},"lastName":{"description":"The provider's last_name."},"livenessCheckSelfies":{"description":"The provider's liveness_check_selfies."},"middleName":{"description":"The provider's middle_name."},"mostRecentOccupation":{"description":"The provider's most_recent_occupation."},"nationalities":{"description":"The provider's nationalities."},"nationality":{"description":"The provider's nationality."},"phone":{"description":"The provider's phone."},"placeOfBirth":{"description":"The provider's place_of_birth."},"residentialAddress":{"description":"The provider's residential_address."},"sourceOfFunds":{"description":"The provider's source_of_funds."},"transliteratedFirstName":{"description":"The provider's transliterated_first_name."},"transliteratedLastName":{"description":"The provider's transliterated_last_name."},"transliteratedMiddleName":{"description":"The provider's transliterated_middle_name."},"transliteratedResidentialAddress":{"description":"The provider's transliterated_residential_address."},"verifiedDatabaseAt":{"description":"The provider's verified_database_at."},"verifiedGovidAt":{"description":"The provider's verified_govid_at."},"verifiedSelfieAt":{"description":"The provider's verified_selfie_at."}},"required":["firstName","lastName","email"],"additionalProperties":true},"complianceProfile":{"$ref":"#/components/schemas/ComplianceProfile"},"metadata":{"$ref":"#/components/schemas/Metadata"}},"required":["type"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"},"example":{"id":"cus_c9c5f821c2b74d1eafeec5a739a1c977","object":"customer","externalId":"merchant-meta","type":"business","status":"not_started","tosLink":null,"kycLink":null,"requirementsDue":[],"rejectionReasons":[],"endorsements":{"base":"missing","sepa":"missing","faster_payments":"missing","spei":"missing","pix":"missing","cop":"missing"},"currencies":[],"livemode":false,"createdAt":"2026-11-18T21:26:18.103Z","updatedAt":"2026-11-18T21:26:18.103Z","closedAt":null,"sandbox":true,"message":"Sandbox: the provider's sandbox cannot complete a KYC link. Approve this test customer with POST /v1/sandbox/customers/{id}/approve.","metadata":{"platformRef":"m_0042","tier":"gold"}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getCustomers","tags":["Customers"],"summary":"List customers","x-scope":"read","parameters":[{"name":"externalId","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Customer"}}}}]},"example":{"object":"list","data":[{"id":"cus_f3378b2ee1b81997d5112dbee281f4a3","object":"customer","externalId":"cus_f3378b2ee1b81997d5112dbee281f4a3","type":"business","status":"not_started","tosLink":null,"kycLink":null,"requirementsDue":[],"rejectionReasons":[],"endorsements":{"base":"missing","sepa":"missing","faster_payments":"missing","spei":"missing","pix":"missing","cop":"missing"},"currencies":[],"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z","closedAt":null,"metadata":{}},{"id":"cus_fe9eb617558336e4e9de6db69bc519d8","object":"customer","externalId":"cus_fe9eb617558336e4e9de6db69bc519d8","type":"business","status":"not_started","tosLink":null,"kycLink":null,"requirementsDue":[],"rejectionReasons":[],"endorsements":{"base":"missing","sepa":"missing","faster_payments":"missing","spei":"missing","pix":"missing","cop":"missing"},"currencies":[],"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z","closedAt":null,"metadata":{}}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~cus_fe9eb617558336e4e9de6db69bc519d8"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/customers/{customer}":{"get":{"operationId":"getCustomersByCustomer","tags":["Customers"],"summary":"A customer, re-read from the provider","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"},"example":{"id":"cus_c9c5f821c2b74d1eafeec5a739a1c977","object":"customer","externalId":"merchant-meta","type":"business","status":"approved","tosLink":null,"kycLink":null,"requirementsDue":[],"rejectionReasons":[],"endorsements":{"base":"approved","sepa":"approved","faster_payments":"approved","spei":"approved","pix":"approved","cop":"approved"},"currencies":["usd","eur"],"livemode":false,"createdAt":"2026-11-18T21:26:18.103Z","updatedAt":"2026-11-18T21:26:18.173Z","closedAt":null,"sandbox":true,"metadata":{"platformRef":"m_0042","tier":"gold"}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/customers/{customer}/endorsements":{"post":{"operationId":"postCustomersByCustomerEndorsements","tags":["Customers"],"summary":"A link for a currency's endorsement","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"endorsement":{"type":"string","enum":["base","sepa","faster_payments","spei","pix","cop"]},"redirectUri":{"type":"string"}},"required":["endorsement"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"endorsement":{"type":"string"},"status":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"endorsement":"faster_payments","status":"missing","sandbox":false}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"endorsement":{"type":"string"},"status":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/kyb":{"post":{"operationId":"postCustomersByCustomerKyb","tags":["Customers"],"summary":"More or corrected KYB/KYC data","description":"kyb for a business customer, kyc for a person; only the fields sent change. complianceProfile (KYB reliance metadata) may come alone or with them; only its fields sent change.","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kyb":{"type":"object","description":"The business's details (type business). camelCase names, as listed; the provider's snake_case names are taken too, and so is the provider's own flag for money services conducted through its account (see SET Docs). Any other field is 400 field_not_used.","properties":{"businessLegalName":{"description":"The provider's business_legal_name."},"transliteratedBusinessLegalName":{"description":"The provider's transliterated_business_legal_name."},"businessTradeName":{"description":"The provider's business_trade_name."},"transliteratedBusinessTradeName":{"description":"The provider's transliterated_business_trade_name."},"businessDescription":{"description":"The provider's business_description."},"hasForeignTaxRegistration":{"description":"The provider's has_foreign_tax_registration."},"email":{"description":"The provider's email."},"phone":{"description":"The provider's phone."},"businessType":{"description":"The provider's business_type."},"primaryWebsite":{"description":"The provider's primary_website."},"otherWebsites":{"description":"The provider's other_websites."},"registeredAddress":{"description":"The provider's registered_address."},"transliteratedRegisteredAddress":{"description":"The provider's transliterated_registered_address."},"physicalAddress":{"description":"The provider's physical_address."},"transliteratedPhysicalAddress":{"description":"The provider's transliterated_physical_address."},"isDao":{"description":"The provider's is_dao."},"complianceScreeningExplanation":{"description":"The provider's compliance_screening_explanation."},"associatedPersons":{"description":"The provider's associated_persons."},"endorsements":{"description":"The provider's endorsements."},"businessIndustry":{"description":"The provider's business_industry."},"publiclyTradedListings":{"description":"The provider's publicly_traded_listings."},"ownershipThreshold":{"description":"The provider's ownership_threshold."},"hasMaterialIntermediaryOwnership":{"description":"The provider's has_material_intermediary_ownership."},"estimatedAnnualRevenueUsd":{"description":"The provider's estimated_annual_revenue_usd."},"expectedMonthlyPaymentsUsd":{"description":"The provider's expected_monthly_payments_usd."},"expectedMonthlySwiftTransactionVolume":{"description":"The provider's expected_monthly_swift_transaction_volume."},"operatesInProhibitedCountries":{"description":"The provider's operates_in_prohibited_countries."},"accountPurpose":{"description":"The provider's account_purpose."},"accountPurposeOther":{"description":"The provider's account_purpose_other."},"highRiskActivitiesExplanation":{"description":"The provider's high_risk_activities_explanation."},"highRiskActivities":{"description":"The provider's high_risk_activities."},"sourceOfFunds":{"description":"The provider's source_of_funds."},"sourceOfFundsDescription":{"description":"The provider's source_of_funds_description."},"conductsMoneyServices":{"description":"The provider's conducts_money_services."},"conductsMoneyServicesDescription":{"description":"The provider's conducts_money_services_description."},"identifyingInformation":{"description":"The provider's identifying_information."},"documents":{"description":"The provider's documents."},"incorporationDate":{"description":"The provider's incorporation_date."},"verifiedBusinessFormationAt":{"description":"The provider's verified_business_formation_at."},"verifiedBusinessRegistryAt":{"description":"The provider's verified_business_registry_at."},"verifiedEvidenceOfGoodStandingAt":{"description":"The provider's verified_evidence_of_good_standing_at."},"verifiedOwnershipAt":{"description":"The provider's verified_ownership_at."},"regulatedActivity":{"description":"The provider's regulated_activity."},"actingAsIntermediary":{"description":"The provider's acting_as_intermediary."}},"additionalProperties":true},"kyc":{"type":"object","description":"The person's details (type individual). camelCase names, as listed; the provider's snake_case names are taken too, and so is the provider's own flag for money services conducted through its account (see SET Docs). Any other field is 400 field_not_used.","properties":{"accountPurpose":{"description":"The provider's account_purpose."},"accountPurposeOther":{"description":"The provider's account_purpose_other."},"actingAsIntermediary":{"description":"The provider's acting_as_intermediary."},"birthDate":{"description":"The provider's birth_date."},"documents":{"description":"The provider's documents."},"email":{"description":"The provider's email."},"employmentStatus":{"description":"The provider's employment_status."},"endorsements":{"description":"The provider's endorsements."},"expectedMonthlyPaymentsUsd":{"description":"The provider's expected_monthly_payments_usd."},"firstName":{"description":"The provider's first_name."},"identifyingInformation":{"description":"The provider's identifying_information."},"lastName":{"description":"The provider's last_name."},"livenessCheckSelfies":{"description":"The provider's liveness_check_selfies."},"middleName":{"description":"The provider's middle_name."},"mostRecentOccupation":{"description":"The provider's most_recent_occupation."},"nationalities":{"description":"The provider's nationalities."},"nationality":{"description":"The provider's nationality."},"phone":{"description":"The provider's phone."},"placeOfBirth":{"description":"The provider's place_of_birth."},"residentialAddress":{"description":"The provider's residential_address."},"sourceOfFunds":{"description":"The provider's source_of_funds."},"transliteratedFirstName":{"description":"The provider's transliterated_first_name."},"transliteratedLastName":{"description":"The provider's transliterated_last_name."},"transliteratedMiddleName":{"description":"The provider's transliterated_middle_name."},"transliteratedResidentialAddress":{"description":"The provider's transliterated_residential_address."},"verifiedDatabaseAt":{"description":"The provider's verified_database_at."},"verifiedGovidAt":{"description":"The provider's verified_govid_at."},"verifiedSelfieAt":{"description":"The provider's verified_selfie_at."}},"additionalProperties":true},"complianceProfile":{"$ref":"#/components/schemas/ComplianceProfile"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"},"example":{"id":"cus_6bbada31a9024df9bbdd2d49510fc5a1","object":"customer","externalId":"psp-merchant-1","type":"business","status":"approved","tosLink":null,"kycLink":null,"requirementsDue":[],"rejectionReasons":[],"endorsements":{"base":"approved","sepa":"approved","faster_payments":"approved","spei":"approved","pix":"approved","cop":"approved"},"currencies":["usd","eur"],"livemode":false,"createdAt":"2026-11-18T21:26:16.597Z","updatedAt":"2026-11-18T21:26:16.613Z","closedAt":null,"sandbox":true,"metadata":{}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/customers/{customer}/associated_persons":{"post":{"operationId":"postCustomersByCustomerAssociatedPersons","tags":["Customers"],"summary":"Add an owner, director or signer","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"An owner, director or signer of a business customer (409 not_a_business otherwise). camelCase names, as listed; the provider's snake_case names are taken too, and so is the provider's own flag for money services conducted through its account (see SET Docs). Any other field is 400 field_not_used.","properties":{"attestedOwnershipStructureAt":{"description":"The provider's attested_ownership_structure_at."},"birthDate":{"description":"The provider's birth_date."},"documents":{"description":"The provider's documents."},"email":{"description":"The provider's email."},"firstName":{"description":"The provider's first_name."},"hasControl":{"description":"The provider's has_control."},"hasOwnership":{"description":"The provider's has_ownership."},"identifyingInformation":{"description":"The provider's identifying_information."},"isDirector":{"description":"The provider's is_director."},"isSigner":{"description":"The provider's is_signer."},"lastName":{"description":"The provider's last_name."},"middleName":{"description":"The provider's middle_name."},"nationalities":{"description":"The provider's nationalities."},"nationality":{"description":"The provider's nationality."},"ownershipPercentage":{"description":"The provider's ownership_percentage."},"phone":{"description":"The provider's phone."},"placeOfBirth":{"description":"The provider's place_of_birth."},"relationshipEstablishedAt":{"description":"The provider's relationship_established_at."},"residentialAddress":{"description":"The provider's residential_address."},"title":{"description":"The provider's title."},"transliteratedFirstName":{"description":"The provider's transliterated_first_name."},"transliteratedLastName":{"description":"The provider's transliterated_last_name."},"transliteratedMiddleName":{"description":"The provider's transliterated_middle_name."},"transliteratedResidentialAddress":{"description":"The provider's transliterated_residential_address."},"verifiedAccountAuthorizationAt":{"description":"The provider's verified_account_authorization_at."},"verifiedDatabaseAt":{"description":"The provider's verified_database_at."},"verifiedGovidAt":{"description":"The provider's verified_govid_at."},"verifiedSelfieAt":{"description":"The provider's verified_selfie_at."}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"customer":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"customer":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"associated_person","id":"ap_sim_0002","customer":"cus_6bbada31a9024df9bbdd2d49510fc5a1","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/customers/{customer}/tos_link":{"get":{"operationId":"getCustomersByCustomerTosLink","tags":["Customers"],"summary":"Terms link for an existing customer","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"redirectUri","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"url":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"tos_link","customer":"cus_4f0c6e2a9b1d4c7e8f3a5b6c7d8e9f01","url":"https://…","sandbox":false}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/customers/{customer}/rfis":{"get":{"operationId":"getCustomersByCustomerRfis","tags":["Customers"],"summary":"The provider's requests for information","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"id":{"type":"string"},"state":{"type":"string"},"requested_items":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"object":"rfi","customer":"cus_6bbada31a9024df9bbdd2d49510fc5a1","id":"rfi_sim_0001","state":"awaiting_response","requested_items":[{"field":"proof_of_address"}]}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/rfis/{rfi}/responses":{"post":{"operationId":"postRfisByRfiResponses","tags":["Customers"],"summary":"Answer an RFI","x-scope":"write","parameters":[{"name":"rfi","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"responses":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true}}},"required":["responses"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"id":{"type":"string"},"state":{"type":"string"},"requested_items":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"rfi","customer":"cus_6bbada31a9024df9bbdd2d49510fc5a1","id":"rfi_sim_0001","state":"under_review","requested_items":[{"field":"proof_of_address"}],"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"id":{"type":"string"},"state":{"type":"string"},"requested_items":{"type":"array","items":{"type":"object","properties":{"field":{"type":"string"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/close":{"post":{"operationId":"postCustomersByCustomerClose","tags":["Customers"],"summary":"Close a customer","description":"Deactivates its virtual accounts at the provider, retires its Cash-Out Addresses (in SET: the provider has no liquidation address deactivation), disables its recipients, then customer.closed. Before anything changes, each of the customer's wallets (held in custody by the provider) is listed with its balances in the answer and in customer.closed; while one holds money, or its balance cannot be read, the close is refused 409 wallet_balance_remaining (listing them) unless the body has acknowledgeWalletBalances: true, and then the answer and customer.closed carry walletBalancesAcknowledged: true. Closing never moves money: a balance stays the customer's at the provider. Repeatable: a customer already closed answers as before, without the wallets. Closing deletes no record: retention says what SET keeps, for 10 years from each record's date.","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"acknowledgeWalletBalances":{"type":"boolean","description":"true closes even while a wallet holds money or its balance cannot be read; the balance stays the customer's at the provider."}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"},"example":{"id":"cus_639bd3b41da04218b93f5b7b3ecbfa40","object":"customer","externalId":"close-unreadable","type":"business","status":"approved","closedAt":"2026-11-18T21:27:35.831Z","changed":true,"closed":{"virtualAccounts":[],"cashOutAddresses":[],"recipients":[]},"wallets":[{"id":"bw_sim_0002","chain":"base","balances":null,"balanceError":"provider_unavailable"}],"walletBalancesAcknowledged":true,"notes":["The provider offers no way to deactivate a liquidation address by API: a payment still sent to a retired Cash-Out Address is paid to the bank as before, and recorded."],"retention":{"object":"retention","recordsYears":10,"kept":["each payment's ids, states, amounts, dates and rail references","Travel Rule evidence"],"erased":[],"statement":"Closing a customer deletes no record. SET keeps each payment's ids, states, amounts, dates and rail references, Travel Rule evidence, restrictions, the audit log and its seals, the references and counterparty names a business uploaded to SET Close for 10 years from each record's date (SET-CMP-020 sections 4 and 9.4)."},"livemode":false,"sandbox":true,"metadata":{}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payment_setups":{"post":{"operationId":"postPaymentSetups","tags":["Ways"],"summary":"One call per way","description":"way: wallet, cash_out, bank or balance.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"way":{"type":"string","enum":["wallet","cash_out","bank","balance"]},"currency":{"type":"string","description":"A fiat currency.","enum":["usd","eur","gbp","mxn","brl","cop"]},"chain":{"type":"string","description":"A chain.","enum":["base","ethereum","solana"]},"asset":{"type":"string"},"address":{"type":"string"},"beneficiary":{"type":"object","properties":{},"additionalProperties":true},"bankAccount":{"oneOf":[{"type":"string"},{"type":"object","properties":{},"additionalProperties":true}]},"returnAddress":{"type":"string","description":"An address, or \"wallet\"."},"platformFeeBps":{"type":"integer"}},"required":["customer","way"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"way":{"type":"string"},"merchant":{"type":"object","properties":{"customer":{"type":"string"},"externalId":{"type":"string"},"type":{"type":"string"}},"additionalProperties":true},"payTo":{"type":"object","properties":{"method":{"type":"string"},"currency":{"type":"string"},"virtualAccount":{"type":"string"},"depositInstructions":{"type":"object","properties":{"currency":{"type":"string"},"rails":{"type":"array","items":{"type":"string"}},"bankName":{"type":"string"},"bankAddress":{"type":"string"},"beneficiaryName":{"type":"string"},"beneficiaryAddress":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"sortCode":{"description":"null in the example; holds a value when set."},"accountNumber":{"description":"null in the example; holds a value when set."},"clabe":{"description":"null in the example; holds a value when set."},"breBKey":{"description":"null in the example; holds a value when set."},"brCode":{"description":"null in the example; holds a value when set."},"depositMessage":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"paysTo":{"type":"object","properties":{"bankAccount":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"bankName":{"type":"string"},"last4":{"type":"string"},"cashOutAddress":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"bankAccount":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"currency":{"type":"string"},"bankName":{"type":"string"},"last4":{"type":"string"},"active":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"rails":{"type":"array","items":{"type":"string"}},"sandbox":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"cashOutAddress":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"bankAccount":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"rail":{"type":"string"},"payoutCurrency":{"type":"string"},"reference":{"description":"null in the example; holds a value when set."},"returnAddress":{"type":"string"},"returnAddressScreening":{"type":"string"},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"recipient":{"description":"null in the example; holds a value when set."},"settlement":{"type":"string"},"minimumPayout":{"type":"string"},"sandbox":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"virtualAccount":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"status":{"type":"string"},"currency":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"settlesTo":{"type":"object","properties":{"cashOutAddress":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"depositInstructions":{"type":"object","properties":{"currency":{"type":"string"},"rails":{"type":"array","items":{"type":"string"}},"bankName":{"type":"string"},"bankAddress":{"type":"string"},"beneficiaryName":{"type":"string"},"beneficiaryAddress":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"sortCode":{"description":"null in the example; holds a value when set."},"accountNumber":{"description":"null in the example; holds a value when set."},"clabe":{"description":"null in the example; holds a value when set."},"breBKey":{"description":"null in the example; holds a value when set."},"brCode":{"description":"null in the example; holds a value when set."},"depositMessage":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"way":{"type":"string"},"merchant":{"type":"object","properties":{"customer":{"type":"string"},"externalId":{"type":"string"},"type":{"type":"string"}},"additionalProperties":true},"payTo":{"type":"object","properties":{"method":{"type":"string"},"currency":{"type":"string"},"virtualAccount":{"type":"string"},"depositInstructions":{"type":"object","properties":{"currency":{"type":"string"},"rails":{"type":"array","items":{"type":"string"}},"bankName":{"type":"string"},"bankAddress":{"type":"string"},"beneficiaryName":{"type":"string"},"beneficiaryAddress":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"sortCode":{"description":"null in the example; holds a value when set."},"accountNumber":{"description":"null in the example; holds a value when set."},"clabe":{"description":"null in the example; holds a value when set."},"breBKey":{"description":"null in the example; holds a value when set."},"brCode":{"description":"null in the example; holds a value when set."},"depositMessage":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"paysTo":{"type":"object","properties":{"bankAccount":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"bankName":{"type":"string"},"last4":{"type":"string"},"cashOutAddress":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"bankAccount":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"currency":{"type":"string"},"bankName":{"type":"string"},"last4":{"type":"string"},"active":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"rails":{"type":"array","items":{"type":"string"}},"sandbox":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"cashOutAddress":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"bankAccount":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"rail":{"type":"string"},"payoutCurrency":{"type":"string"},"reference":{"description":"null in the example; holds a value when set."},"returnAddress":{"type":"string"},"returnAddressScreening":{"type":"string"},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"recipient":{"description":"null in the example; holds a value when set."},"settlement":{"type":"string"},"minimumPayout":{"type":"string"},"sandbox":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"virtualAccount":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"status":{"type":"string"},"currency":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"settlesTo":{"type":"object","properties":{"cashOutAddress":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"depositInstructions":{"type":"object","properties":{"currency":{"type":"string"},"rails":{"type":"array","items":{"type":"string"}},"bankName":{"type":"string"},"bankAddress":{"type":"string"},"beneficiaryName":{"type":"string"},"beneficiaryAddress":{"type":"string"},"iban":{"type":"string"},"bic":{"type":"string"},"sortCode":{"description":"null in the example; holds a value when set."},"accountNumber":{"description":"null in the example; holds a value when set."},"clabe":{"description":"null in the example; holds a value when set."},"breBKey":{"description":"null in the example; holds a value when set."},"brCode":{"description":"null in the example; holds a value when set."},"depositMessage":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"payment_setup","way":"bank","merchant":{"customer":"cus_dddddddddddddddddddddddddddddddd","externalId":"merchant-1","type":"business"},"payTo":{"method":"bank_transfer","currency":"eur","virtualAccount":"va_eur_8","depositInstructions":{"currency":"eur","rails":["sepa"],"bankName":"Banking Circle S.A.","bankAddress":"2 Boulevard de la Foire, L-1528 Luxembourg","beneficiaryName":"","beneficiaryAddress":"","iban":"LU280019400644750000","bic":"BCIRLULL","sortCode":null,"accountNumber":null,"clabe":null,"breBKey":null,"brCode":null,"depositMessage":null},"paysTo":{"bankAccount":"ea_eur_2","currency":"eur","rail":"sepa","bankName":"Commerzbank","last4":"3000","cashOutAddress":"la_usdc_base_sepa_3"}},"bankAccount":{"id":"ea_eur_2","object":"bank_account","customer":"cus_dddddddddddddddddddddddddddddddd","currency":"eur","bankName":"Commerzbank","last4":"3000","active":true,"livemode":true,"createdAt":"2026-11-18T21:26:16.503Z","rails":["sepa"],"sandbox":false,"metadata":{}},"cashOutAddress":{"id":"la_usdc_base_sepa_3","object":"cash_out_address","customer":"cus_dddddddddddddddddddddddddddddddd","bankAccount":"ea_eur_2","chain":"base","currency":"usdc","address":"0x4444444444444444444444444444444444444444","rail":"sepa","payoutCurrency":"eur","reference":null,"returnAddress":"0x3333333333333333333333333333333333333333","returnAddressScreening":"not_screened","developerFeePercent":"0.60","platformFeeBps":0,"state":"active","livemode":true,"createdAt":"2026-11-18T21:26:16.505Z","recipient":null,"settlement":"per_payment","minimumPayout":"1","sandbox":false,"metadata":{}},"virtualAccount":{"id":"va_eur_8","object":"virtual_account","customer":"cus_dddddddddddddddddddddddddddddddd","status":"activated","currency":"eur","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x4444444444444444444444444444444444444444","beneficiary":"cash_out_address","screening":"not_screened"},"settlesTo":{"cashOutAddress":"la_usdc_base_sepa_3"},"developerFeePercent":"0.00","platformFeeBps":0,"depositInstructions":{"currency":"eur","rails":["sepa"],"bankName":"Banking Circle S.A.","bankAddress":"2 Boulevard de la Foire, L-1528 Luxembourg","beneficiaryName":"","beneficiaryAddress":"","iban":"LU280019400644750000","bic":"BCIRLULL","sortCode":null,"accountNumber":null,"clabe":null,"breBKey":null,"brCode":null,"depositMessage":null},"livemode":true,"createdAt":"2026-11-18T21:26:16.507Z","sandbox":false,"metadata":{}},"sandbox":false}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/return_addresses":{"get":{"operationId":"getReturnAddresses","tags":["Ways"],"summary":"Your default return addresses","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"evm":{"type":"string"},"solana":{"type":"string"},"appliesTo":{"type":"object","properties":{"evm":{"type":"array","items":{"type":"string"}},"solana":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"screening":{"type":"object","properties":{"evm":{"type":"string"},"solana":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"return_addresses","evm":"0x3333333333333333333333333333333333333333","solana":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin","appliesTo":{"evm":["base","ethereum"],"solana":["solana"]},"screening":{"evm":"not_screened","solana":"not_screened"},"sandbox":false}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"post":{"operationId":"postReturnAddresses","tags":["Ways"],"summary":"Register your default return addresses","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"evm":{"type":"string"},"solana":{"type":"string"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"evm":{"type":"string"},"solana":{"type":"string"},"appliesTo":{"type":"object","properties":{"evm":{"type":"array","items":{"type":"string"}},"solana":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"screening":{"type":"object","properties":{"evm":{"type":"string"},"solana":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"return_addresses","evm":"0x3333333333333333333333333333333333333333","solana":"9xQeWvG816bUx9EPjHmaT23yvVM2ZWbrrpZb9PusVFin","appliesTo":{"evm":["base","ethereum"],"solana":["solana"]},"screening":{"evm":"not_screened","solana":"not_screened"},"sandbox":false}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"evm":{"type":"string"},"solana":{"type":"string"},"appliesTo":{"type":"object","properties":{"evm":{"type":"array","items":{"type":"string"}},"solana":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"screening":{"type":"object","properties":{"evm":{"type":"string"},"solana":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/bank_accounts":{"post":{"operationId":"postBankAccounts","tags":["Banks"],"summary":"Link a customer's own bank account","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"currency":{"type":"string","description":"A fiat currency.","enum":["usd","eur","gbp","mxn","brl","cop"]},"ownerName":{"type":"string"}},"required":["customer"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankAccount"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankAccount"},"example":{"id":"ea_sim_0004","object":"bank_account","customer":"cus_f761d0c104b24ba9aaf54aeb2cdf7aa2","currency":"cop","accountType":"co_bank_transfer","livemode":false,"createdAt":"2026-11-18T21:28:21.122Z","bankName":"Sandbox Bank (simulated)","last4":"····","active":true,"rails":["co_bank_transfer"],"payWith":{"rail":"co_bank_transfer"},"sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getBankAccounts","tags":["Banks"],"summary":"List bank accounts","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/BankAccount"}}}}]},"example":{"object":"list","data":[{"id":"ea_7635f5889809e2a35289213dbe278514","object":"bank_account","customer":"x_9f3b7bb93a9afa32","currency":"usd","bankName":null,"last4":null,"active":null,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","metadata":{}},{"id":"ea_e6ae31776d6751587f04993fa51304e5","object":"bank_account","customer":"x_a7d095b17f8ce0ca","currency":"usd","bankName":null,"last4":null,"active":null,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","metadata":{}}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~ea_e6ae31776d6751587f04993fa51304e5"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/bank_accounts/{id}":{"get":{"operationId":"getBankAccountsById","tags":["Banks"],"summary":"A bank account","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BankAccount"},"example":{"id":"51c0b9d4-…","object":"bank_account","customer":"cus_4f0c6e2a9b1d4c7e8f3a5b6c7d8e9f01","currency":"usd","bankName":"…","last4":"6789","active":true,"livemode":true,"createdAt":"2026-11-08T15:04:05.000Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/cash_out_addresses":{"post":{"operationId":"postCashOutAddresses","tags":["Cash-Out Addresses"],"summary":"Open a Cash-Out Address","description":"Pays the customer's bank (bankAccount) or a recipient's (recipient). chain \"evm\" opens one address on every EVM chain the provider supports (in beta): it takes no returnAddress, the provider returns under SET's crypto return policy, and the answer lists the networks the provider supports for the currency. arbitrum, avalanche_c_chain, celo, optimism and polygon take USDC where GET /v1/capabilities features.expandedRoutes is available (cashOutChains lists the chains this deployment offers; otherwise 400 chain_invalid); their returnAddress is an EVM address (\"wallet\" is refused), SET reads a payment's sender there in production, and a sandbox payment's sender is named without a proof. Where features.expandedRoutes is available, chain \"evm\" also takes currency \"any\", and a business with an asset policy may open one when the policy takes every pair the address can take (otherwise 403 asset_not_allowed naming the pairs, before any provider call or, for a pair the provider lists, after it, with nothing recorded); the answer carries pairs (each network and currency with its minimum), networksReadAt and the provider's warning.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"bankAccount":{"type":"string"},"recipient":{"type":"string"},"chain":{"type":"string","description":"base, ethereum, solana, or evm (one address on every EVM chain); arbitrum, avalanche_c_chain, celo, optimism or polygon where features.expandedRoutes is available. \"auto\": SET chooses the chain by the ranking of POST /v1/routes/quote, and the answer carries chainChoice {chosen, reason}.","enum":["base","ethereum","solana","arbitrum","avalanche_c_chain","celo","optimism","polygon","evm","auto"]},"currency":{"type":"string","description":"usdc (default) or eurc; any with chain evm where features.expandedRoutes is available: one address in every currency the provider lists for it.","enum":["usdc","eurc","any"]},"rail":{"type":"string"},"reference":{"type":"string"},"returnAddress":{"type":"string"},"platformFeeBps":{"type":"integer"},"settlement":{"type":"string","description":"\"per_payment\" (default) or \"batched\": through a batch settlement schedule (ach, wire, sepa, spei or bre_b).","enum":["per_payment","batched"]}},"required":["customer","chain"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashOutAddress"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashOutAddress"},"example":{"id":"la_sim_0011","object":"cash_out_address","customer":"cus_3b29b0cc88da4318af8eb618914f2d14","bankAccount":"ea_sim_0002","chain":"evm","currency":"any","address":"0x93f00c50ac765f848b4be13656c1723e29e3d533","rail":"ach","payoutCurrency":"usd","reference":null,"returnAddress":"0x0b0Dd340DFD8CbaBac3fb53bB3BBd4017582D745","returnAddressScreening":"not_screened","developerFeePercent":"1.00","platformFeeBps":0,"state":"active","livemode":false,"createdAt":"2026-11-18T21:28:04.745Z","recipient":null,"settlement":"per_payment","minimumPayout":"1","networks":["base","ethereum"],"pairs":[{"chain":"base","currency":"eurc","minimum":"1"},{"chain":"base","currency":"usdc","minimum":"1"}],"networksReadAt":"2026-11-18T21:28:04.745Z","warning":{"unlisted":"Send only a network and currency listed in pairs. The provider: funds sent in a currency it does not list \"may be unrecoverable\".","noReturnAddress":"This address takes no return address. The provider: for these addresses it does \"not support the return_instructions or return_address fields\"; a payment it cannot pay out returns under SET's crypto return policy.","label":"The provider calls its part of this feature beta."},"sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getCashOutAddresses","tags":["Cash-Out Addresses"],"summary":"List Cash-Out Addresses","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CashOutAddress"}}}}]},"example":{"object":"list","data":[{"id":"la_cf56f08b1bbfa841035c38b28d7daab8","object":"cash_out_address","customer":"x_516ed873c3e443df","bankAccount":"x_516ed873c3e443df","chain":"base","currency":"usdc","address":"x_516ed873c3e443df","rail":"ach","payoutCurrency":"usd","reference":null,"returnAddress":"x_516ed873c3e443df","returnAddressScreening":"not_screened","developerFeePercent":"x_516ed873c3e443df","platformFeeBps":0,"state":"active","livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","recipient":null,"settlement":"per_payment","metadata":{}},{"id":"la_ebd4471574222c5ed25760f975de398e","object":"cash_out_address","customer":"x_126824f3177281ba","bankAccount":"x_126824f3177281ba","chain":"base","currency":"usdc","address":"x_126824f3177281ba","rail":"ach","payoutCurrency":"usd","reference":null,"returnAddress":"x_126824f3177281ba","returnAddressScreening":"not_screened","developerFeePercent":"x_126824f3177281ba","platformFeeBps":0,"state":"active","livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","recipient":null,"settlement":"per_payment","metadata":{}}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~la_ebd4471574222c5ed25760f975de398e"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/routes/quote":{"post":{"operationId":"postRoutesQuote","tags":["Cash-Out Addresses"],"summary":"Every route that can turn a stablecoin into a bank payment, ranked","description":"Routes from SET's route table only, for the chains this key is offered. Ranked by these rules in this order: the customer may use it (known, not closed, verified) and your asset policy takes the asset; the amount meets the route's minimum; the lowest fee; then Base. Rail speed is not ranked: the provider publishes no settlement time per rail. Each route carries its minimum (in the payout currency), SET's fee, the net amount and its status: available, or the code a create would answer. chosen is the first available route and reason says why in one sentence. The per-currency endorsement is the provider's own check when an address is opened (notes.endorsement). Read-only; no provider call.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"currency":{"type":"string","description":"usdc (default) or eurc.","enum":["usdc","eurc"]},"amount":{"type":"string","description":"A positive decimal string in the stablecoin."},"rail":{"type":"string","description":"One payout rail; leave it out for every rail."},"customer":{"type":"string","description":"A customer, to check it may use the route."}},"required":["amount"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"rail":{"type":"string"},"chosen":{"type":"object","properties":{"currency":{"type":"string"},"chain":{"type":"string"},"rail":{"type":"string"},"payoutCurrency":{"type":"string"},"minimum":{"type":"string"},"setFeeBps":{"type":"integer"},"fee":{"type":"string"},"net":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true},"reason":{"type":"string"},"routes":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"chain":{"type":"string"},"rail":{"type":"string"},"payoutCurrency":{"type":"string"},"minimum":{"type":"string"},"setFeeBps":{"type":"integer"},"fee":{"type":"string"},"net":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}},"notes":{"type":"object","properties":{"endorsement":{"type":"string"},"railSpeed":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"route_quote","currency":"usdc","amount":"250.00","rail":"ach","chosen":{"currency":"usdc","chain":"base","rail":"ach","payoutCurrency":"usd","minimum":"1","setFeeBps":100,"fee":"2.50","net":"247.50","status":"available"},"reason":"base to ach: the customer may use it, the amount meets its 1 minimum, its fee is the lowest (tied with 7 other routes), and Base comes first when the rest are equal.","routes":[{"currency":"usdc","chain":"base","rail":"ach","payoutCurrency":"usd","minimum":"1","setFeeBps":100,"fee":"2.50","net":"247.50","status":"available"},{"currency":"usdc","chain":"arbitrum","rail":"ach","payoutCurrency":"usd","minimum":"1","setFeeBps":100,"fee":"2.50","net":"247.50","status":"available"}],"notes":{"endorsement":"checked_when_opened","railSpeed":"not_ranked"},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/deposit_options":{"post":{"operationId":"postDepositOptions","tags":["Cash-Out Addresses"],"summary":"Every way a customer can pay in, in one call","description":"Opens (or finds) the customer's chain \"evm\" address in currency \"any\" and a USDC address on Solana, each through POST /v1/cash_out_addresses and all its checks, and lists each other source SET's route table has for the rail (otherSources, each opened on its own). evm and solana each read status available with the address, or refused with the error and message; one refusal does not stop the other. 403 expanded_routes_off until GET /v1/capabilities features.expandedRoutes is available. 403 expanded_routes_off while the expanded routes is switched off for this deployment (GET /v1/capabilities features.expandedRoutes.status says which).","x-scope":"write","x-set-switches":[{"error":"expanded_routes_off","status":403,"capability":"features.expandedRoutes"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"bankAccount":{"type":"string"},"rail":{"type":"string"},"solanaReturnAddress":{"type":"string","description":"The Solana address a payment the provider cannot pay out returns to; or your registered Solana return address."}},"required":["customer","bankAccount"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"bankAccount":{"type":"string"},"rail":{"type":"string"},"evm":{"type":"object","properties":{"status":{"type":"string"},"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"bankAccount":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"rail":{"type":"string"},"payoutCurrency":{"type":"string"},"reference":{"description":"null in the example; holds a value when set."},"returnAddress":{"type":"string"},"returnAddressScreening":{"type":"string"},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"recipient":{"description":"null in the example; holds a value when set."},"settlement":{"type":"string"},"minimumPayout":{"type":"string"},"networks":{"type":"array"},"pairs":{"type":"array"},"networksReadAt":{"type":"string","format":"date-time"},"warning":{"type":"object","properties":{"unlisted":{"type":"string"},"noReturnAddress":{"type":"string"},"label":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"solana":{"type":"object","properties":{"status":{"type":"string"},"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"bankAccount":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"rail":{"type":"string"},"payoutCurrency":{"type":"string"},"reference":{"description":"null in the example; holds a value when set."},"returnAddress":{"type":"string"},"returnAddressScreening":{"type":"string"},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"recipient":{"description":"null in the example; holds a value when set."},"settlement":{"type":"string"},"minimumPayout":{"type":"string"},"sandbox":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"otherSources":{"type":"array","items":{"type":"object","properties":{"chain":{"type":"string"},"currency":{"type":"string"},"minimum":{"type":"string"},"open":{"type":"string"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"deposit_options","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","bankAccount":"ea_sim_0003","rail":"ach","evm":{"status":"available","id":"la_sim_0022","object":"cash_out_address","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","bankAccount":"ea_sim_0003","chain":"evm","currency":"any","address":"0x7129aecdf5e64d3966c3c4861fb9014dd75d5e52","rail":"ach","payoutCurrency":"usd","reference":null,"returnAddress":"0x0b0Dd340DFD8CbaBac3fb53bB3BBd4017582D745","returnAddressScreening":"not_screened","developerFeePercent":"1.00","platformFeeBps":0,"state":"active","livemode":false,"createdAt":"2026-11-18T13:42:45.737Z","recipient":null,"settlement":"per_payment","minimumPayout":"1","networks":[],"pairs":[],"networksReadAt":"2026-11-18T13:42:45.740Z","warning":{"unlisted":"Send only a network and currency listed in pairs. The provider: funds sent in a currency it does not list \"may be unrecoverable\".","noReturnAddress":"This address takes no return address. The provider: for these addresses it does \"not support the return_instructions or return_address fields\"; a payment it cannot pay out returns under SET's crypto return policy.","label":"The provider calls its part of this feature beta."},"sandbox":true,"metadata":{}},"solana":{"status":"available","id":"la_sim_0023","object":"cash_out_address","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","bankAccount":"ea_sim_0003","chain":"solana","currency":"usdc","address":"Fbewv4UTfPkMZZffJbqXmt4Hat4jQVCv46zARUsd5vcJ","rail":"ach","payoutCurrency":"usd","reference":null,"returnAddress":"DLEmFuWV6GXaBKE2KusUsKfcGNEA3x96oUQBSiU62LfQ","returnAddressScreening":"not_screened","developerFeePercent":"1.00","platformFeeBps":0,"state":"active","livemode":false,"createdAt":"2026-11-18T13:42:45.741Z","recipient":null,"settlement":"per_payment","minimumPayout":"1","sandbox":true,"metadata":{}},"otherSources":[{"chain":"base","currency":"usdc","minimum":"1","open":"POST /v1/cash_out_addresses"},{"chain":"ethereum","currency":"usdc","minimum":"1","open":"POST /v1/cash_out_addresses"}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/cash_out_addresses/{id}":{"get":{"operationId":"getCashOutAddressesById","tags":["Cash-Out Addresses"],"summary":"A Cash-Out Address","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashOutAddress"},"example":{"id":"la_sim_0005","object":"cash_out_address","customer":"cus_1347c89a5f004060b27fcba198673595","bankAccount":"ea_sim_0002","chain":"evm","currency":"usdc","address":"0xc9b8ba490a21d3be3fa5508946563fdf2a383fe8","rail":"ach","payoutCurrency":"usd","reference":null,"returnAddress":"0x0b0Dd340DFD8CbaBac3fb53bB3BBd4017582D745","returnAddressScreening":"not_screened","developerFeePercent":"1.00","platformFeeBps":0,"state":"active","livemode":false,"createdAt":"2026-11-18T21:28:07.854Z","recipient":null,"settlement":"per_payment","pairs":[{"chain":"base","currency":"usdc","minimum":"1"},{"chain":"ethereum","currency":"usdc","minimum":"1"}],"networksReadAt":"2026-11-18T21:28:07.864Z","warning":{"unlisted":"Send only a network and currency listed in pairs. The provider: funds sent in a currency it does not list \"may be unrecoverable\".","noReturnAddress":"This address takes no return address. The provider: for these addresses it does \"not support the return_instructions or return_address fields\"; a payment it cannot pay out returns under SET's crypto return policy.","label":"The provider calls its part of this feature beta."},"policyExcludes":["usdc-xdc"],"sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"post":{"operationId":"postCashOutAddressesById","tags":["Cash-Out Addresses"],"summary":"Pay another of the customer's banks","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"bankAccount":{"type":"string"}},"required":["bankAccount"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashOutAddress"},"example":{"id":"la_usdc_base_sepa","object":"cash_out_address","customer":"cus_eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee","bankAccount":"ea_eur_3","chain":"base","currency":"usdc","address":"0x4444444444444444444444444444444444444444","rail":"sepa","payoutCurrency":"eur","reference":null,"returnAddress":"0x2222222222222222222222222222222222222222","returnAddressScreening":"not_screened","developerFeePercent":"1.00","platformFeeBps":0,"state":"active","livemode":true,"createdAt":"2026-11-18T21:26:07.791Z","recipient":null,"settlement":"per_payment","sandbox":false,"metadata":{}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashOutAddress"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/cash_out_payments":{"get":{"operationId":"getCashOutPayments","tags":["Cash-Out Addresses"],"summary":"Payments into Cash-Out Addresses","description":"Newest first. Each carries railReference (components/schemas/RailReference): the bank rail's own reference once the provider reports it.","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"cashOutAddress","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdSince","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CashOutPayment"}}}}]},"example":{"object":"list","data":[{"id":"sim_drain_5dba9c46-0074-4720-9ebd-34a14578ff33","object":"cash_out_payment","cashOutAddress":"la_sim_0004","customer":"cus_efffc26105d04fd4b922841230c308ea","state":"funds_received","currency":"usdc","amount":"27.00","developerFee":"0.27","depositTxHash":null,"payoutCurrency":"usd","paidAmount":null,"exchangeRate":null,"paidToBank":false,"requestedAt":"2026-11-18T21:29:36.548Z","sentAt":null,"paidAt":null,"businessDaysToPaid":null,"late":false,"senderScreening":"not_screened","restriction":null,"railReference":null,"senderState":"none","sourceDeposit":null,"livemode":false,"createdAt":"2026-11-18T21:29:36.548Z","settledAt":null,"paymentReference":null},{"id":"sim_drain_3d3500cb-2816-4c70-8870-55cc2218e335","object":"cash_out_payment","cashOutAddress":"la_sim_0004","customer":"cus_efffc26105d04fd4b922841230c308ea","state":"funds_received","currency":"usdc","amount":"26.00","developerFee":"0.26","depositTxHash":null,"payoutCurrency":"usd","paidAmount":null,"exchangeRate":null,"paidToBank":false,"requestedAt":"2026-11-18T21:29:36.412Z","sentAt":null,"paidAt":null,"businessDaysToPaid":null,"late":false,"senderScreening":"under_review","restriction":null,"railReference":null,"senderState":"none","sourceDeposit":null,"livemode":false,"createdAt":"2026-11-18T21:29:36.412Z","settledAt":null,"paymentReference":null}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/cash_out_payments/{id}":{"get":{"operationId":"getCashOutPaymentsById","tags":["Cash-Out Addresses"],"summary":"A Cash-Out payment","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashOutPayment"},"example":{"id":"sim_drain_8e92a003-5634-4436-a7ae-21d45a804204","object":"cash_out_payment","cashOutAddress":"la_sim_0004","customer":"cus_04d5c55748be4c5189af83327e8b3ab6","state":"payment_processed","currency":"usdc","amount":"5000.00","developerFee":"50.00","depositTxHash":null,"payoutCurrency":"usd","paidAmount":"4950.00","exchangeRate":null,"paidToBank":true,"requestedAt":"2026-11-18T21:26:00.979Z","sentAt":"2026-11-18T21:26:01.001Z","paidAt":"2026-11-18T21:26:01.020Z","businessDaysToPaid":0,"late":false,"senderScreening":null,"restriction":null,"railReference":{"rail":"ach","traceNumber":"559504750561707","imad":null,"trackingNumber":null,"endToEndId":null,"simulated":true},"senderState":"simulated","sourceDeposit":"sim_dep_5c87f2f2-c277-46c4-9c9b-a417f516d708","livemode":false,"createdAt":"2026-11-18T21:26:00.979Z","settledAt":"2026-11-18T21:26:01.020Z","paymentReference":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/cash_out_payments/{id}/execute_trade":{"post":{"operationId":"postCashOutPaymentsByIdExecuteTrade","tags":["Cash-Out Addresses"],"summary":"Execute this payment's pending USDT trade (deprecated)","description":"Deprecated: USDT and Tron were retired on 2026-11-18 (owner, \"Remove USDT.\"; GET /v1/capabilities retiredAssets). Kept only for a USDT payment already waiting at the provider; nothing new creates one. There is no USDT switch and no 503 usdt_disabled answer: its refusals are those below. Your instruction to the provider to execute a USDT payment's pending trade \"at the current market rate\" (the provider's words): the bank then receives what that rate gives. SET never executes one on its own; it tells you with cash_out_payment.trade_pending. A repeat answers the trade as executed. 409 trade_not_pending; 403 expanded_routes_off until GET /v1/capabilities features.expandedRoutes is available. 403 expanded_routes_off while the expanded routes is switched off for this deployment (GET /v1/capabilities features.expandedRoutes.status says which).","deprecated":true,"x-scope":"write","x-set-switches":[{"error":"expanded_routes_off","status":403,"capability":"features.expandedRoutes"}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"payment":{"type":"string"},"cashOutAddress":{"type":"string"},"amount":{"type":"string"},"state":{"type":"string"},"since":{"type":"string","format":"date-time"},"executedAt":{"type":"string","format":"date-time"},"rate":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"pending_trade","payment":"sim_drain_1160bd12-1a1d-498f-9c7c-ae465aaa10a7","cashOutAddress":"la_sim_0022","amount":"25.00","state":"executed","since":"2026-11-18T13:42:45.780Z","executedAt":"2026-11-18T13:42:45.784Z","rate":"current_market","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/pending_trades":{"get":{"operationId":"getPendingTrades","tags":["Cash-Out Addresses"],"summary":"Payments waiting on a pending USDT trade (deprecated)","description":"Deprecated: USDT and Tron were retired on 2026-11-18 (owner, \"Remove USDT.\"; GET /v1/capabilities retiredAssets). Kept only for a USDT payment already waiting at the provider; nothing new creates one. There is no USDT switch and no 503 usdt_disabled answer: its refusal is the switch below. Oldest first, at most 100: each payment the provider holds with a USDT trade awaiting execution, since when, and its amount. Execute one with POST /v1/cash_out_payments/{id}/execute_trade. 403 expanded_routes_off until features.expandedRoutes is available. 403 expanded_routes_off while the expanded routes is switched off for this deployment (GET /v1/capabilities features.expandedRoutes.status says which).","deprecated":true,"x-scope":"read","x-set-switches":[{"error":"expanded_routes_off","status":403,"capability":"features.expandedRoutes"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/cash_out_payments/{id}/sender":{"get":{"operationId":"getCashOutPaymentsByIdSender","tags":["Senders"],"summary":"The message the paying wallet signs to prove its sender","description":"The wallet SET read as this payment's payer, and the exact message it signs (B-10). 400 sender_wallet_unknown when SET read no sending wallet for the payment (ownership stays asserted).","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"payment":{"type":"string"},"wallet":{"type":"string"},"chain":{"type":"string"},"message":{"type":"string"},"sign":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"sender_proof_message","payment":"sim_drain_16880bcd-386a-4bee-a488-83c50cd9f926","wallet":"0x87111b929d94a4f229c55ee914b79107911a2179","chain":"base","message":"SET API: the sender of this payment\n\nI control this wallet and sent this payment as the sender named with it.\nBusiness: ptr_sandbox_platform\nPayment: cash_out_payment sim_drain_16880bcd-386a-4bee-a488-83c50cd9f926\nWallet: 0x87111b929d94a4f229c55ee914b79107911a2179\nNetwork: base\nMode: test","sign":"personal_sign (EIP-191) from the wallet; EIP-1271 for a contract wallet; or personal_sign from its owner() for a contract that cannot sign.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"post":{"operationId":"postCashOutPaymentsByIdSender","tags":["Senders"],"summary":"Who paid (Travel Rule)","description":"Optional proof (B-10): {message, signature}, where message is what GET on this path returns and the signature is the paying wallet's (personal_sign EIP-191, EIP-1271 for a contract wallet, the contract's owner() signing for it, or Ed25519 on Solana). Without proof the sender is recorded as asserted; with a valid one, attested with its method (read it on …/travel_rule). A proof that does not hold answers 422 proof_not_from_wallet or proof_message_invalid, and nothing is sent; 400 sender_wallet_unknown when SET read no sending wallet for the payment; send the sender without proof and it reads asserted.","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sender"}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"submitted":{"type":"boolean"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"submitted":false,"senderState":"simulated","sandbox":true,"message":"Sandbox: simulated payment. Nothing was sent to the provider."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"submitted":{"type":"boolean"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/virtual_accounts":{"post":{"operationId":"postVirtualAccounts","tags":["Virtual accounts"],"summary":"Open a virtual account","description":"Deprecated assets: USDT and Tron were retired on 2026-11-18; where a deployment has switched the retirement on (GET /v1/capabilities retiredAssets.inForce), a new account that names USDT or Tron answers 400 asset_retired; existing ones keep working.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"currency":{"type":"string","description":"A fiat currency.","enum":["usd","eur","gbp","mxn","brl","cop"]},"asset":{"type":"string"},"address":{"type":"string"},"beneficiary":{"type":"object","properties":{},"additionalProperties":true},"settleTo":{"type":"object","properties":{"cashOutAddress":{"type":"string"},"wallet":{"type":"string"}},"additionalProperties":true},"platformFeeBps":{"type":"integer"}},"required":["customer"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualAccount"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualAccount"},"example":{"id":"va_sim_0009","object":"virtual_account","customer":"cus_06fba312137d45f396fd4ec7e1a07bae","status":"activated","currency":"eur","destination":{"asset":"eurc-base","chain":"base","currency":"eurc","address":"0x2222222222222222222222222222222222222222","beneficiary":"customer","screening":"not_screened"},"settlesTo":null,"developerFeePercent":"1.00","platformFeeBps":0,"depositInstructions":{"currency":"eur","rails":["sepa"],"bankName":"Sandbox Bank (simulated)","bankAddress":"1 Simulation Way, Sandbox City","beneficiaryAddress":"","iban":"LU00SAND00000000090000","bic":"SANDLULLXXX","sortCode":null,"accountNumber":null,"clabe":null,"breBKey":null,"brCode":null,"depositMessage":null},"livemode":false,"createdAt":"2026-11-18T21:26:22.959Z","sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getVirtualAccounts","tags":["Virtual accounts"],"summary":"List virtual accounts","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/VirtualAccount"}}}}]},"example":{"object":"list","data":[{"id":"va_004cca4df46c3b7057a2468f8c185770","object":"virtual_account","customer":"x_1bd0f03267fcf127","status":"activated","currency":"usd","destination":{"asset":"x_1bd0f03267fcf127","chain":null,"currency":null,"address":"x_1bd0f03267fcf127","beneficiary":"customer","screening":"not_screened"},"settlesTo":null,"developerFeePercent":"1.0","platformFeeBps":0,"depositInstructions":null,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","metadata":{}},{"id":"va_dc0ccce1a671a78f8f086bc42ad54618","object":"virtual_account","customer":"x_67ab2d25104a43f3","status":"activated","currency":"usd","destination":{"asset":"x_67ab2d25104a43f3","chain":null,"currency":null,"address":"x_67ab2d25104a43f3","beneficiary":"customer","screening":"not_screened"},"settlesTo":null,"developerFeePercent":"1.0","platformFeeBps":0,"depositInstructions":null,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","metadata":{}}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~va_dc0ccce1a671a78f8f086bc42ad54618"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/virtual_accounts/{id}":{"get":{"operationId":"getVirtualAccountsById","tags":["Virtual accounts"],"summary":"A virtual account with its deposit instructions","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualAccount"},"example":{"id":"va_sim_0005","object":"virtual_account","customer":"cus_8dff43dfc47e42d09651b554f69b3e00","status":"activated","currency":"usd","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x74c0ed6b12a7ecbc9fe27367d1fce25f34becfc7","beneficiary":"wallet","screening":"not_screened"},"settlesTo":{"wallet":"bw_sim_0003"},"developerFeePercent":"1.00","platformFeeBps":0,"depositInstructions":{"bankName":"Sandbox Bank (simulated)","bankAddress":"1 Simulation Way, Sandbox City","routingNumber":"000000000","accountNumber":"90000000005","beneficiaryName":"Alpine Goods LLC","beneficiaryAddress":"Simulated address","rails":["ach_push","wire"],"currency":"usd"},"livemode":false,"createdAt":"2026-11-18T21:26:19.703Z","sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/virtual_accounts/{id}/microdeposits":{"get":{"operationId":"getVirtualAccountsByIdMicrodeposits","tags":["Virtual accounts"],"summary":"Verification deposits","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"senderName":{"type":["string","null"]},"description":{"type":["string","null"]},"paymentRail":{"type":"string"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"vae_api_micro2","amount":"-0.07","currency":"usd","createdAt":"2026-11-05T09:05:00Z","senderName":null,"description":null,"paymentRail":"ach_push"},{"id":"vae_api_micro1","amount":"0.07","currency":"usd","createdAt":"2026-11-05T09:00:00Z","senderName":"Payroll Co","description":"VERIFY XYZ","paymentRail":"ach_push"}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/virtual_accounts/{id}/deactivate":{"post":{"operationId":"postVirtualAccountsByIdDeactivate","tags":["Virtual accounts"],"summary":"Deactivate","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualAccount"},"example":{"id":"7d1e0c2a-…","object":"virtual_account","customer":"cus_4f0c6e2a9b1d4c7e8f3a5b6c7d8e9f01","status":"deactivated","currency":"usd","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x…","beneficiary":{"type":"customer","walletType":"self_custodied","ownershipVerifiedAt":"2026-11-01T12:00:00Z"}},"settlesTo":null,"developerFeePercent":"0","depositInstructions":{"bankName":"…","bankRoutingNumber":"…","bankAccountNumber":"…","bankBeneficiaryName":"Merchant Inc.","paymentRails":["ach_push","wire","fednow"]},"livemode":true,"createdAt":"2026-11-08T15:04:05.000Z"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualAccount"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/virtual_accounts/{id}/reactivate":{"post":{"operationId":"postVirtualAccountsByIdReactivate","tags":["Virtual accounts"],"summary":"Reactivate","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualAccount"},"example":{"id":"7d1e0c2a-…","object":"virtual_account","customer":"cus_4f0c6e2a9b1d4c7e8f3a5b6c7d8e9f01","status":"activated","currency":"usd","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x…","beneficiary":{"type":"customer","walletType":"self_custodied","ownershipVerifiedAt":"2026-11-01T12:00:00Z"}},"settlesTo":null,"developerFeePercent":"0","depositInstructions":{"bankName":"…","bankRoutingNumber":"…","bankAccountNumber":"…","bankBeneficiaryName":"Merchant Inc.","paymentRails":["ach_push","wire","fednow"]},"livemode":true,"createdAt":"2026-11-08T15:04:05.000Z"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VirtualAccount"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/deposits":{"get":{"operationId":"getDeposits","tags":["Virtual accounts"],"summary":"Deposits","description":"Newest first. Each carries railReference (components/schemas/RailReference): the bank rail's own reference once the provider reports it.","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"virtualAccount","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdSince","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Deposit"}}}}]},"example":{"object":"list","data":[{"id":"dep_b810e42f4a0dafcc57caa4679e8bd994","object":"deposit","virtualAccount":"x_db6ef93976163825","customer":"x_db6ef93976163825","state":"payment_processed","currency":"usd","amount":null,"developerFee":null,"exchangeFee":null,"gasFee":null,"received":null,"asset":"x_db6ef93976163825","destinationAddress":"x_db6ef93976163825","txHash":null,"chainStatus":"confirmed","railReference":null,"delivered":false,"senderState":"none","restriction":null,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","settledAt":null},{"id":"dep_e59fddf96c3eb7e99c598eacaaec53cb","object":"deposit","virtualAccount":"x_e8fcff34e45f614e","customer":"x_e8fcff34e45f614e","state":"payment_processed","currency":"usd","amount":null,"developerFee":null,"exchangeFee":null,"gasFee":null,"received":null,"asset":"x_e8fcff34e45f614e","destinationAddress":"x_e8fcff34e45f614e","txHash":null,"chainStatus":"confirmed","railReference":null,"delivered":false,"senderState":"none","restriction":null,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","settledAt":null}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~dep_e59fddf96c3eb7e99c598eacaaec53cb"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/deposits/{id}":{"get":{"operationId":"getDepositsById","tags":["Virtual accounts"],"summary":"A deposit, with who sent it","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Deposit"},"example":{"id":"dep_api_0001","object":"deposit","virtualAccount":"va_api_base_usdc","customer":"cus_1e4b5714dd9b4bce8e75332434937276","state":"funds_received","currency":"usd","amount":"250.0","developerFee":"2.5","exchangeFee":null,"gasFee":null,"received":null,"asset":"usdc-base","destinationAddress":"0x2222222222222222222222222222222222222222","txHash":null,"chainStatus":"none","railReference":{"rail":"wire","traceNumber":null,"imad":"20261027ABCDEF1234","trackingNumber":null,"endToEndId":null},"delivered":false,"senderState":"none","restriction":null,"livemode":false,"createdAt":"2026-11-18T21:34:02.768Z","settledAt":null,"source":{"paymentRail":"wire","senderName":"Payer Corp","description":null,"senderBankRoutingNumber":null,"traceNumber":null,"imad":"20261027ABCDEF1234","reference":null,"senderAccountLast4":null,"senderBic":null,"senderSortCode":null,"uetr":null,"paymentScheme":null},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/deposits/{id}/sender":{"post":{"operationId":"postDepositsByIdSender","tags":["Senders"],"summary":"Who paid (Travel Rule)","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sender"}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"submitted":{"type":"boolean"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"submitted":false,"senderState":"simulated","sandbox":true,"message":"Sandbox: simulated payment. Nothing was sent to the provider."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"submitted":{"type":"boolean"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/deposits/{id}/return":{"post":{"operationId":"postDepositsByIdReturn","tags":["Returns"],"summary":"Send a dollar deposit back to its sender","description":"The provider returns ACH, FedNow and wire deposits to the original sender within 90 days, funded from the customer's own wallet, held in custody by the provider. ACH and FedNow: the whole amount; wire: up to it.","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","enum":["duplicate","fraudulent","requested_by_customer","requested_by_sender","unrecognized_sender","wrong_amount","compliance","other"]},"wallet":{"type":"string","description":"The customer's wallet held in custody by the provider (POST /v1/wallets); SET never holds its keys."},"sender":{"$ref":"#/components/schemas/Sender"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"}},"required":["reason","wallet","sender"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"deposit":{"type":"string"},"customer":{"type":"string"},"reason":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"depositRail":{"type":"string"},"wallet":{"type":"string"},"transfer":{"description":"null in the example; holds a value when set."},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"source":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"deposit":{"type":"string"},"customer":{"type":"string"},"reason":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"depositRail":{"type":"string"},"wallet":{"type":"string"},"transfer":{"description":"null in the example; holds a value when set."},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"source":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true},"example":{"id":"ret_eba5e169a84bf80e88a2b639aad73d70","object":"deposit_return","deposit":"sim_dep_28152104-bccb-4de9-a0ba-64fc3d0c90bf","customer":"cus_94071e85b76f411e968483a243ffcb0a","reason":"compliance","amount":"25.00","currency":"usd","depositRail":"ach_push","wallet":"bw_sim_0002","transfer":null,"state":"simulated","livemode":false,"createdAt":"2026-11-18T21:32:56.617Z","updatedAt":"2026-11-18T21:32:56.617Z","source":"https://simpleeasytransactions.com/docs/set-api/return-deposit","sandbox":true,"message":"Sandbox: simulated. No money moved; the provider was not asked."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getDepositsByIdReturn","tags":["Returns"],"summary":"A deposit's return, re-read from the provider","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"deposit":{"type":"string"},"customer":{"type":"string"},"reason":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"depositRail":{"type":"string"},"wallet":{"type":"string"},"transfer":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true},"example":{"id":"ret_5fdc8eb5662936b0ab4fcd9c9863b826","object":"deposit_return","deposit":"dep_bbe9249b71ac47c588fccbbefa65ae6e","customer":"cus_1d6e02b14df249e99b62ff0ea3ddaf90","reason":"unrecognized_sender","amount":"25.00","currency":"usd","depositRail":"unknown","wallet":"bw_sim_0002","transfer":"tr_sim_0005","state":"payment_processed","livemode":false,"createdAt":"2026-11-18T21:28:16.595Z","updatedAt":"2026-11-18T21:28:16.646Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/deposit_returns":{"get":{"operationId":"getDepositReturns","tags":["Returns"],"summary":"Deposit returns","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"deposit":{"type":"string"},"customer":{"type":"string"},"reason":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"depositRail":{"description":"null in the example; holds a value when set."},"wallet":{"type":"string"},"transfer":{"description":"null in the example; holds a value when set."},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"ret_2092850216d25538c5ddc540624181d4","object":"deposit_return","deposit":"x_e01be642345c0f1f","customer":"x_e01be642345c0f1f","reason":"duplicate","amount":"x_e01be642345c0f1f","currency":"x_e01be642345c0f1f","depositRail":null,"wallet":"x_e01be642345c0f1f","transfer":null,"state":"x_e01be642345c0f1f","livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z"},{"id":"ret_ce8937ca6c35737583be3e9198014027","object":"deposit_return","deposit":"x_708d78ada289841e","customer":"x_708d78ada289841e","reason":"duplicate","amount":"x_708d78ada289841e","currency":"x_708d78ada289841e","depositRail":null,"wallet":"x_708d78ada289841e","transfer":null,"state":"x_708d78ada289841e","livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~ret_ce8937ca6c35737583be3e9198014027"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/crypto_return_policies":{"get":{"operationId":"getCryptoReturnPolicies","tags":["Returns"],"summary":"Where the provider returns crypto it cannot deliver","description":"SET's static return addresses at the provider, and whether a multichain (chain \"evm\") address is covered for each currency.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"strategy":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"}},"additionalProperties":true}},"evmReturnsCovered":{"type":"object","properties":{"usdc":{"type":"boolean"},"eurc":{"type":"boolean"},"pyusd":{"type":"boolean"}},"additionalProperties":true},"source":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"crp_sim_0001","object":"crypto_return_policy","strategy":"static_address","chain":"base","currency":"usdc","address":"0x2222222222222222222222222222222222222222"}],"evmReturnsCovered":{"usdc":true,"eurc":false,"pyusd":false},"source":"https://simpleeasytransactions.com/docs/set-api/return-deposit","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/static_memos":{"post":{"operationId":"postStaticMemos","tags":["Static memos"],"summary":"A memo on a shared USD account","description":"Payers send wire or ACH with the memo; the provider delivers the stablecoin. No microdeposit verification. The provider deprecates static memos in favour of static templates but keeps supporting them.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"asset":{"type":"string"},"address":{"type":"string"},"beneficiary":{"type":"object","properties":{},"additionalProperties":true},"settleTo":{"type":"object","properties":{"wallet":{"type":"string"}},"additionalProperties":true},"platformFeeBps":{"type":"integer"}},"required":["customer"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"supportsMicrodeposits":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"depositInstructions":{"type":"object","properties":{"depositMessage":{"type":"string"},"bankName":{"type":"string"},"bankAddress":{"type":"string"},"routingNumber":{"type":"string"},"accountNumber":{"type":"string"},"beneficiaryAddress":{"type":"string"},"rails":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"deprecation":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"supportsMicrodeposits":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"depositInstructions":{"type":"object","properties":{"depositMessage":{"type":"string"},"bankName":{"type":"string"},"bankAddress":{"type":"string"},"routingNumber":{"type":"string"},"accountNumber":{"type":"string"},"beneficiaryAddress":{"type":"string"},"rails":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"deprecation":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"sm_sim_0005","object":"static_memo","customer":"cus_843c6d5d1da3487599eb1e5932910f62","memo":"SIMMEMO0005","currency":"usd","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0xc19b32d45c1a8c2a3af66d66363159b7c40b8ec0","wallet":"bw_sim_0002","beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"1.00","platformFeeBps":0,"state":"activated","supportsMicrodeposits":false,"livemode":false,"createdAt":"2026-11-18T21:28:19.021Z","depositInstructions":{"depositMessage":"SIMMEMO0005","bankName":"Sandbox Bank (simulated)","bankAddress":"1 Simulation Way, Sandbox City","routingNumber":"000000000","accountNumber":"900000000000","beneficiaryAddress":"Simulated address","rails":["ach_push","wire"]},"deprecation":"The provider marks static memos deprecated in favour of static templates; they \"will continue to be supported\". Static templates: POST /v1/static_templates.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getStaticMemos","tags":["Static memos"],"summary":"Static memos; match one by memo","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"memo","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"description":"null in the example; holds a value when set."},"currency":{"description":"null in the example; holds a value when set."},"address":{"type":"string"},"wallet":{"description":"null in the example; holds a value when set."},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"supportsMicrodeposits":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"sm_fea3edf6472dc5a2ceda5653d0481d26","object":"static_memo","customer":"x_b6b96dab03fdbd11","memo":"x_b6b96dab03fdbd11","currency":"usd","destination":{"asset":"x_b6b96dab03fdbd11","chain":null,"currency":null,"address":"x_b6b96dab03fdbd11","wallet":null,"beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"x_b6b96dab03fdbd11","platformFeeBps":0,"state":"x_b6b96dab03fdbd11","supportsMicrodeposits":false,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z"},{"id":"sm_fb3d0ce5b62c631bd72fc84f5b3043fc","object":"static_memo","customer":"x_71bc38069e0f0377","memo":"x_71bc38069e0f0377","currency":"usd","destination":{"asset":"x_71bc38069e0f0377","chain":null,"currency":null,"address":"x_71bc38069e0f0377","wallet":null,"beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"x_71bc38069e0f0377","platformFeeBps":0,"state":"x_71bc38069e0f0377","supportsMicrodeposits":false,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~sm_fb3d0ce5b62c631bd72fc84f5b3043fc"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_memos/{id}":{"get":{"operationId":"getStaticMemosById","tags":["Static memos"],"summary":"A static memo, with deposit instructions read from the provider","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"description":"null in the example; holds a value when set."},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"supportsMicrodeposits":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"depositInstructions":{"type":"object","properties":{"depositMessage":{"type":"string"},"bankName":{"type":"string"},"bankAddress":{"type":"string"},"routingNumber":{"type":"string"},"accountNumber":{"type":"string"},"beneficiaryAddress":{"type":"string"},"rails":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"deprecation":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"sm_sim_0004","object":"static_memo","customer":"cus_843c6d5d1da3487599eb1e5932910f62","memo":"SIMMEMO0004","currency":"usd","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x2222222222222222222222222222222222222222","wallet":null,"beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"1.00","platformFeeBps":0,"state":"activated","supportsMicrodeposits":false,"livemode":false,"createdAt":"2026-11-18T21:28:19.016Z","depositInstructions":{"depositMessage":"SIMMEMO0004","bankName":"Sandbox Bank (simulated)","bankAddress":"1 Simulation Way, Sandbox City","routingNumber":"000000000","accountNumber":"900000000000","beneficiaryAddress":"Simulated address","rails":["ach_push","wire"]},"deprecation":"The provider marks static memos deprecated in favour of static templates; they \"will continue to be supported\". Static templates: POST /v1/static_templates.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_memos/{id}/history":{"get":{"operationId":"getStaticMemosByIdHistory","tags":["Static memos"],"summary":"The memo's activity at the provider","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"staticMemo":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"developerFee":{"type":"string"},"received":{"type":"string"},"txHash":{"description":"null in the example; holds a value when set."},"senderState":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"settledAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"sim_smd_5674e329-495d-4a38-8740-3413b8d7893a","object":"static_memo_deposit","staticMemo":"sm_sim_0004","customer":"cus_843c6d5d1da3487599eb1e5932910f62","memo":"SIMMEMO0004","state":"payment_processed","currency":"usd","amount":"100.00","developerFee":"1.00","received":"99.00","txHash":null,"senderState":"simulated","livemode":false,"createdAt":"2026-11-18T21:28:19.029Z","settledAt":"2026-11-18T21:28:19.073Z"}],"sandbox":true,"message":"Sandbox: the provider's sandbox sends no static memo activity; these are SET's simulated deposits."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_memo_deposits":{"get":{"operationId":"getStaticMemoDeposits","tags":["Static memos"],"summary":"Deposits into static memos; match by memo","x-scope":"read","parameters":[{"name":"staticMemo","in":"query","required":false,"schema":{"type":"string"}},{"name":"memo","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdSince","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"staticMemo":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"amount":{"description":"null in the example; holds a value when set."},"developerFee":{"description":"null in the example; holds a value when set."},"received":{"description":"null in the example; holds a value when set."},"txHash":{"description":"null in the example; holds a value when set."},"senderState":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"settledAt":{"description":"null in the example; holds a value when set."},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"smd_226fa1bbbe0fcbb09c496588cce155a2","object":"static_memo_deposit","staticMemo":"x_5fe2c9d2cebe8627","customer":"x_5fe2c9d2cebe8627","memo":"x_5fe2c9d2cebe8627","state":"x_5fe2c9d2cebe8627","currency":"x_5fe2c9d2cebe8627","amount":null,"developerFee":null,"received":null,"txHash":null,"senderState":"none","livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","settledAt":null},{"id":"smd_f0b8c88a2b206ec2ac8e619bc34ede10","object":"static_memo_deposit","staticMemo":"x_91a2ee81b891db1c","customer":"x_91a2ee81b891db1c","memo":"x_91a2ee81b891db1c","state":"x_91a2ee81b891db1c","currency":"x_91a2ee81b891db1c","amount":null,"developerFee":null,"received":null,"txHash":null,"senderState":"none","livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","settledAt":null}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~smd_f0b8c88a2b206ec2ac8e619bc34ede10"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_memo_deposits/{id}":{"get":{"operationId":"getStaticMemoDepositsById","tags":["Static memos"],"summary":"A static memo deposit","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"staticMemo":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"developerFee":{"description":"null in the example; holds a value when set."},"received":{"description":"null in the example; holds a value when set."},"txHash":{"description":"null in the example; holds a value when set."},"senderState":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"settledAt":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true},"example":{"id":"smdep_0001","object":"static_memo_deposit","staticMemo":"sm_sim_0004","customer":"cus_cbcae5717aca4df5ad451991213669b7","memo":"SIMMEMO0004","state":"funds_received","currency":"usd","amount":"50.00","developerFee":null,"received":null,"txHash":null,"senderState":"none","livemode":false,"createdAt":"2026-11-18T21:28:20.036Z","settledAt":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_memo_deposits/{id}/sender":{"post":{"operationId":"postStaticMemoDepositsByIdSender","tags":["Senders"],"summary":"Who paid into a memo (Travel Rule)","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sender"}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"id":"sim_smd_5674e329-495d-4a38-8740-3413b8d7893a","senderState":"simulated","sandbox":true,"message":"Sandbox: simulated. Nothing was sent to the provider."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/sandbox/static_memo_deposits":{"post":{"operationId":"postSandboxStaticMemoDeposits","tags":["Sandbox"],"summary":"A simulated memo deposit","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"staticMemo":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"state":{"type":"string","enum":["funds_received","payment_submitted","payment_processed","refunded"]},"deposit":{"type":"string"}},"required":["staticMemo"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"id":"sim_smd_5674e329-495d-4a38-8740-3413b8d7893a","state":"payment_processed","outcome":"applied","sandbox":true,"message":"Sandbox: simulated memo deposit. No money moved."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_templates":{"post":{"operationId":"postStaticTemplates","tags":["Static templates"],"summary":"Standing deposit instructions with a reference (the provider's successor to static memos)","description":"USD (wire, ACH push), EUR (SEPA) or GBP (Faster Payments) in; each payment the provider matches becomes a static template transfer.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"currency":{"type":"string","enum":["usd","eur","gbp"]},"rail":{"type":"string","enum":["wire","ach_push","sepa","faster_payments"]},"asset":{"type":"string"},"address":{"type":"string"},"beneficiary":{"type":"object","properties":{},"additionalProperties":true},"settleTo":{"type":"object","properties":{"wallet":{"type":"string"}},"additionalProperties":true},"reference":{"type":"string"},"platformFeeBps":{"type":"integer"}},"required":["customer"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"description":"null in the example; holds a value when set."},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"depositInstructions":{"type":"object","properties":{"depositMessage":{"type":"string"},"rail":{"type":"string"},"currency":{"type":"string"},"bankName":{"type":"string"},"bankAddress":{"description":"null in the example; holds a value when set."},"routingNumber":{"description":"null in the example; holds a value when set."},"accountNumber":{"description":"null in the example; holds a value when set."},"iban":{"type":"string"},"bic":{"type":"string"},"sortCode":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"description":"null in the example; holds a value when set."},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"depositInstructions":{"type":"object","properties":{"depositMessage":{"type":"string"},"rail":{"type":"string"},"currency":{"type":"string"},"bankName":{"type":"string"},"bankAddress":{"description":"null in the example; holds a value when set."},"routingNumber":{"description":"null in the example; holds a value when set."},"accountNumber":{"description":"null in the example; holds a value when set."},"iban":{"type":"string"},"bic":{"type":"string"},"sortCode":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"tpl_sim_0006","object":"static_template","customer":"cus_94bde05d61b44e068e4fb5b40ea3bc95","memo":"SIMTPL0006","currency":"eur","rail":"sepa","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x2222222222222222222222222222222222222222","wallet":null,"beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"1.50","platformFeeBps":50,"state":"active","livemode":false,"createdAt":"2026-11-18T21:28:25.810Z","depositInstructions":{"depositMessage":"SIMTPL0006","rail":"sepa","currency":"eur","bankName":"Sandbox Bank (simulated)","bankAddress":null,"routingNumber":null,"accountNumber":null,"iban":"LU00SAND00000000060000","bic":"SANDLULLXXX","sortCode":null},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getStaticTemplates","tags":["Static templates"],"summary":"Static templates; match one by memo","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"memo","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"description":"null in the example; holds a value when set."},"currency":{"description":"null in the example; holds a value when set."},"address":{"type":"string"},"wallet":{"description":"null in the example; holds a value when set."},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"st_242f097fd0ed1b4c227af1450260592e","object":"static_template","customer":"x_a7e174714afe3974","memo":"x_a7e174714afe3974","currency":"usd","rail":"x_a7e174714afe3974","destination":{"asset":"x_a7e174714afe3974","chain":null,"currency":null,"address":"x_a7e174714afe3974","wallet":null,"beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"x_a7e174714afe3974","platformFeeBps":0,"state":"x_a7e174714afe3974","livemode":false,"createdAt":"2026-11-09T12:00:09.000Z"},{"id":"st_bc5190493feabd8f59c6d83e1f33273d","object":"static_template","customer":"x_dbda8c22e6bd8163","memo":"x_dbda8c22e6bd8163","currency":"usd","rail":"x_dbda8c22e6bd8163","destination":{"asset":"x_dbda8c22e6bd8163","chain":null,"currency":null,"address":"x_dbda8c22e6bd8163","wallet":null,"beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"x_dbda8c22e6bd8163","platformFeeBps":0,"state":"x_dbda8c22e6bd8163","livemode":false,"createdAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~st_bc5190493feabd8f59c6d83e1f33273d"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_templates/{id}":{"get":{"operationId":"getStaticTemplatesById","tags":["Static templates"],"summary":"A static template, with deposit instructions read from the provider","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"depositInstructions":{"type":"object","properties":{"depositMessage":{"type":"string"},"rail":{"type":"string"},"currency":{"type":"string"},"bankName":{"type":"string"},"bankAddress":{"description":"null in the example; holds a value when set."},"routingNumber":{"type":"string"},"accountNumber":{"type":"string"},"iban":{"description":"null in the example; holds a value when set."},"bic":{"description":"null in the example; holds a value when set."},"sortCode":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"tpl_sim_0005","object":"static_template","customer":"cus_15dd5bf2be46483b9d9e5ee3aedf5fc2","memo":"SIMTPL0005","currency":"usd","rail":"wire","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x2330c7b97ac613e3ed1cdedb040883aa9fdffa22","wallet":"bw_sim_0002","beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"1.00","platformFeeBps":0,"state":"active","livemode":false,"createdAt":"2026-11-18T21:28:23.537Z","depositInstructions":{"depositMessage":"SIMTPL0005","rail":"wire","currency":"usd","bankName":"Sandbox Bank (simulated)","bankAddress":null,"routingNumber":"000000000","accountNumber":"900000000000","iban":null,"bic":null,"sortCode":null},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_templates/{id}/cancel":{"post":{"operationId":"postStaticTemplatesByIdCancel","tags":["Static templates"],"summary":"Cancel a static template","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"tpl_sim_0005","object":"static_template","customer":"cus_15dd5bf2be46483b9d9e5ee3aedf5fc2","memo":"SIMTPL0005","currency":"usd","rail":"wire","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x2330c7b97ac613e3ed1cdedb040883aa9fdffa22","wallet":"bw_sim_0002","beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"1.00","platformFeeBps":0,"state":"canceled","livemode":false,"createdAt":"2026-11-18T21:28:23.537Z","sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_template_transfers":{"get":{"operationId":"getStaticTemplateTransfers","tags":["Static templates"],"summary":"Payments into static templates; match by memo","x-scope":"read","parameters":[{"name":"staticTemplate","in":"query","required":false,"schema":{"type":"string"}},{"name":"memo","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdSince","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"staticTemplate":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"amount":{"description":"null in the example; holds a value when set."},"developerFee":{"description":"null in the example; holds a value when set."},"received":{"description":"null in the example; holds a value when set."},"txHash":{"description":"null in the example; holds a value when set."},"senderState":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"settledAt":{"description":"null in the example; holds a value when set."},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"stt_c5d02927146caa3f880797c32ccd46dd","object":"static_template_transfer","staticTemplate":"x_0fff4367ece0f85a","customer":"x_0fff4367ece0f85a","memo":"x_0fff4367ece0f85a","state":"x_0fff4367ece0f85a","currency":"x_0fff4367ece0f85a","amount":null,"developerFee":null,"received":null,"txHash":null,"senderState":"none","livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","settledAt":null},{"id":"stt_dea32c92fbe9630f3c931098b2089cbf","object":"static_template_transfer","staticTemplate":"x_e0390c1835c3c8d0","customer":"x_e0390c1835c3c8d0","memo":"x_e0390c1835c3c8d0","state":"x_e0390c1835c3c8d0","currency":"x_e0390c1835c3c8d0","amount":null,"developerFee":null,"received":null,"txHash":null,"senderState":"none","livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","settledAt":null}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~stt_dea32c92fbe9630f3c931098b2089cbf"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_template_transfers/{id}":{"get":{"operationId":"getStaticTemplateTransfersById","tags":["Static templates"],"summary":"A payment into a static template","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"staticTemplate":{"type":"string"},"customer":{"type":"string"},"memo":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"developerFee":{"type":"string"},"received":{"type":"string"},"txHash":{"type":"string"},"senderState":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"settledAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true},"example":{"id":"tr_sim_inst_01","object":"static_template_transfer","staticTemplate":"tpl_sim_0004","customer":"cus_f8a272ab660e49559fbe5a0d74f6d12d","memo":"SIMTPL0004","state":"payment_processed","currency":"usd","amount":"250.00","developerFee":"2.5","received":"247.5","txHash":"0xabababababababababababababababababababababababababababababababab","senderState":"none","livemode":false,"createdAt":"2026-11-18T21:28:24.594Z","settledAt":"2026-11-18T21:28:24.632Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/static_template_transfers/{id}/sender":{"post":{"operationId":"postStaticTemplateTransfersByIdSender","tags":["Senders"],"summary":"Who paid into a template (Travel Rule)","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sender"}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"id":"sim_stt_37ac2922-f4ed-4bbd-b5d7-b062c37e15f8","senderState":"simulated","sandbox":true,"message":"Sandbox: simulated. Nothing was sent to the provider."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/sandbox/static_template_transfers":{"post":{"operationId":"postSandboxStaticTemplateTransfers","tags":["Sandbox"],"summary":"A simulated template payment","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"staticTemplate":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"state":{"type":"string","enum":["funds_received","payment_submitted","payment_processed","returned","refunded"]},"transfer":{"type":"string"}},"required":["staticTemplate"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"id":"sim_stt_37ac2922-f4ed-4bbd-b5d7-b062c37e15f8","state":"payment_processed","outcome":"applied","sandbox":true,"message":"Sandbox: simulated template payment. No money moved."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/cop_payins":{"post":{"operationId":"postCopPayins","tags":["COP"],"summary":"A COP payment by Colombian bank transfer (PSE)","description":"The payer pays at the provider's page (startUrl); the customer receives the stablecoin. Minimum 100 COP. PSE payments are non-returnable.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"amount":{"type":"string","description":"Pesos, for example \"250000\"."},"asset":{"type":"string"},"address":{"type":"string"},"beneficiary":{"type":"object","properties":{},"additionalProperties":true},"settleTo":{"type":"object","properties":{"wallet":{"type":"string"}},"additionalProperties":true},"redirectUrl":{"type":"string"},"expiresAt":{"type":"string"},"reference":{"type":"string"},"platformFeeBps":{"type":"integer"}},"required":["customer","amount","redirectUrl"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"rail":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"developerFee":{"description":"null in the example; holds a value when set."},"transfer":{"type":"string"},"state":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"received":{"description":"null in the example; holds a value when set."},"txHash":{"description":"null in the example; holds a value when set."},"returnable":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"},"startUrl":{"type":["string","null"],"description":"The provider's PSE page where the payer pays; null until the provider gives one.","format":"uri"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"rail":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"developerFee":{"description":"null in the example; holds a value when set."},"transfer":{"type":"string"},"state":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"received":{"description":"null in the example; holds a value when set."},"txHash":{"description":"null in the example; holds a value when set."},"returnable":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"},"startUrl":{"type":["string","null"],"description":"The provider's PSE page where the payer pays; null until the provider gives one.","format":"uri"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true},"example":{"id":"cpi_4de74e0d8cc2409dde326717c826a821","object":"cop_payin","customer":"cus_94bde05d61b44e068e4fb5b40ea3bc95","rail":"co_bank_transfer","currency":"cop","amount":"250000","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x180414de1868848bcbba7971a120cd9ac5247f28","wallet":"bw_sim_0002","beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"1.50","platformFeeBps":50,"developerFee":null,"transfer":"tr_sim_0007","state":"awaiting_funds","expiresAt":"2026-11-18T21:58:25.844Z","received":null,"txHash":null,"returnable":false,"livemode":false,"createdAt":"2026-11-18T21:28:25.844Z","updatedAt":"2026-11-18T21:28:25.844Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getCopPayins","tags":["COP"],"summary":"COP payments by bank transfer","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"rail":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"description":"null in the example; holds a value when set."},"currency":{"description":"null in the example; holds a value when set."},"address":{"type":"string"},"wallet":{"description":"null in the example; holds a value when set."},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"developerFee":{"description":"null in the example; holds a value when set."},"transfer":{"description":"null in the example; holds a value when set."},"state":{"type":"string"},"startUrl":{"type":["string","null"],"description":"The provider's PSE page where the payer pays; null until the provider gives one.","format":"uri"},"expiresAt":{"description":"null in the example; holds a value when set."},"received":{"description":"null in the example; holds a value when set."},"txHash":{"description":"null in the example; holds a value when set."},"returnable":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"cpi_67839ecfc96e21a2e7fb53e48ca4d7ee","object":"cop_payin","customer":"x_b09cdc5a790f4c69","rail":"co_bank_transfer","currency":"cop","amount":"x_b09cdc5a790f4c69","destination":{"asset":"x_b09cdc5a790f4c69","chain":null,"currency":null,"address":"x_b09cdc5a790f4c69","wallet":null,"beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"x_b09cdc5a790f4c69","platformFeeBps":0,"developerFee":null,"transfer":null,"state":"x_b09cdc5a790f4c69","startUrl":null,"expiresAt":null,"received":null,"txHash":null,"returnable":false,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z"},{"id":"cpi_d7a7cbb78031e57de9edffaa95e024b6","object":"cop_payin","customer":"x_e9d13dcb10ae13fc","rail":"co_bank_transfer","currency":"cop","amount":"x_e9d13dcb10ae13fc","destination":{"asset":"x_e9d13dcb10ae13fc","chain":null,"currency":null,"address":"x_e9d13dcb10ae13fc","wallet":null,"beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"x_e9d13dcb10ae13fc","platformFeeBps":0,"developerFee":null,"transfer":null,"state":"x_e9d13dcb10ae13fc","startUrl":null,"expiresAt":null,"received":null,"txHash":null,"returnable":false,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~cpi_d7a7cbb78031e57de9edffaa95e024b6"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/cop_payins/{id}":{"get":{"operationId":"getCopPayinsById","tags":["COP"],"summary":"A COP payment, re-read from the provider","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"rail":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"}},"additionalProperties":true},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"developerFee":{"type":"string"},"transfer":{"type":"string"},"state":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"received":{"type":"string"},"txHash":{"description":"null in the example; holds a value when set."},"returnable":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"},"startUrl":{"type":["string","null"],"description":"The provider's PSE page where the payer pays; null until the provider gives one.","format":"uri"},"railReference":{"$ref":"#/components/schemas/RailReference"}},"additionalProperties":true},"example":{"id":"cpi_4de74e0d8cc2409dde326717c826a821","object":"cop_payin","customer":"cus_94bde05d61b44e068e4fb5b40ea3bc95","rail":"co_bank_transfer","currency":"cop","amount":"250000","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x180414de1868848bcbba7971a120cd9ac5247f28","wallet":"bw_sim_0002","beneficiary":"customer","screening":"not_screened"},"developerFeePercent":"1.50","platformFeeBps":50,"developerFee":"3750.0","transfer":"tr_sim_0007","state":"payment_processed","expiresAt":"2026-11-18T21:58:25.844Z","received":"61.25","txHash":null,"returnable":false,"livemode":false,"createdAt":"2026-11-18T21:28:25.844Z","updatedAt":"2026-11-18T21:28:25.863Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payers":{"get":{"operationId":"getPayers","tags":["Senders"],"summary":"Saved payers","x-scope":"read","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"matchKind":{"type":"string"},"type":{"type":"string"},"name":{"description":"null in the example; holds a value when set."},"country":{"description":"null in the example; holds a value when set."},"createdAt":{"type":"string","format":"date-time"},"lastUsedAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string"},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"object":"payer","id":"payer_9efbe2cb9a3b6a450a144d387e1e2e65","matchKind":"wallet","type":"third_party","name":null,"country":null,"createdAt":"2026-11-09T12:00:09.000Z","lastUsedAt":null},{"object":"payer","id":"payer_d9697147449c32911754f23466b45a50","matchKind":"wallet","type":"third_party","name":null,"country":null,"createdAt":"2026-11-09T12:00:05.000Z","lastUsedAt":null}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~payer_d9697147449c32911754f23466b45a50","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"post":{"operationId":"postPayers","tags":["Senders"],"summary":"Save a payer","description":"By the wallet it pays from; a bank payer is saved from a payment instead (remember: true on …/sender).","x-scope":"write","x-set-account-type":"business","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string","description":"The address the payer pays from: 0x… (Base, Ethereum) or a Solana address.","pattern":"^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$"},"payer":{"type":"object","properties":{"type":{"type":"string","description":"business or individual; customer when the customer paid itself (then nothing else is read).","enum":["business","individual","customer"]},"name":{"type":"string","description":"The legal name."},"legalEntityIdentifier":{"type":"string","description":"type business only: an LEI or registration number."},"address":{"type":"object","properties":{"streetLine1":{"type":"string"},"streetLine2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string","description":"State, province or region."},"postalCode":{"type":"string"},"country":{"type":"string","description":"ISO 3166-1 alpha-3, for example USA.","pattern":"^[A-Z]{3}$"}},"required":["country"],"additionalProperties":true}},"required":["type"],"additionalProperties":true,"description":"Who the payer is.","if":{"properties":{"type":{"enum":["business","individual"]}},"required":["type"]},"then":{"required":["type","name","address"]}}},"required":["wallet","payer"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"matchKind":{"type":"string"},"alsoNamed":{"type":"integer"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"matchKind":{"type":"string"},"alsoNamed":{"type":"integer"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"pyr_0a811ef8986d9d10b88366cab35e3035","object":"payer","matchKind":"wallet","alsoNamed":0,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payers/{payer}":{"delete":{"operationId":"deletePayersByPayer","tags":["Senders"],"summary":"Forget a payer","x-scope":"write","parameters":[{"name":"payer","in":"path","required":true,"schema":{"type":"string","pattern":"^pyr_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object as it now stands (deleted: true, or no longer active). A repeat answers the same and changes nothing.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"deleted":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"pyr_0a811ef8986d9d10b88366cab35e3035","object":"payer","deleted":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/conversion_routes":{"get":{"operationId":"getConversionRoutes","tags":["Conversion Addresses"],"summary":"Allowed crypto-to-crypto routes","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"source":{"type":"string"},"destination":{"type":"string"},"minimumUsd":{"type":"string"}},"additionalProperties":true}},"checked":{"type":"string"},"source":{"type":"string"}},"additionalProperties":true},"example":{"object":"list","data":[{"source":"eurc-base","destination":"usdc-arbitrum","minimumUsd":"1.00"},{"source":"eurc-base","destination":"usdc-avalanche","minimumUsd":"1.00"}],"checked":"2026-11-18","source":"https://simpleeasytransactions.com/docs/set-api/list-conversion-routes"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/conversion_addresses":{"post":{"operationId":"postConversionAddresses","tags":["Conversion Addresses"],"summary":"Open a Conversion Address","description":"Deprecated assets: USDT and Tron were retired on 2026-11-18; where a deployment has switched the retirement on (GET /v1/capabilities retiredAssets.inForce), a new address that names USDT or Tron answers 400 asset_retired; existing ones keep working.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"chain":{"type":"string","description":"The chain the payer sends on (worker/routes/api-conversion.ts SOURCE_CHAINS); another answers 400 chain_invalid.","enum":["base","ethereum","solana","polygon","arbitrum","optimism","avalanche"]},"currency":{"type":"string"},"destination":{"type":"object","properties":{},"additionalProperties":true},"returnAddress":{"type":"string"}},"required":["customer","chain","destination"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversionAddress"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversionAddress"},"example":{"id":"la_sim_0006","object":"conversion_address","customer":"cus_3839dd48b16e44418a97c80f97392ae1","source":{"asset":"usdc-ethereum","chain":"ethereum","currency":"usdc"},"address":"0x778d6aa3b5a334dee60a8c6f68f320ddeeb25bc3","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x71cfa69008fe5bab161eaadba6182b7545e0b57b","beneficiary":"customer","screening":"not_screened","wallet":"bw_sim_0002"},"minimumUsd":"1.00","returnAddress":"0x5555555555555555555555555555555555555555","returnAddressScreening":"not_screened","developerFeePercent":"1.00","state":"active","livemode":false,"createdAt":"2026-11-18T21:28:22.379Z","sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getConversionAddresses","tags":["Conversion Addresses"],"summary":"List Conversion Addresses","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ConversionAddress"}}}}]},"example":{"object":"list","data":[{"id":"cla_73244bfaddecc167a00a2322bdf3c0c0","object":"conversion_address","customer":"x_b2ecb8ff1ff90e8d","source":{"asset":"x_b2ecb8ff1ff90e8d","chain":null,"currency":null},"address":"x_b2ecb8ff1ff90e8d","destination":{"asset":"x_b2ecb8ff1ff90e8d","chain":null,"currency":null,"address":"x_b2ecb8ff1ff90e8d","beneficiary":"customer","screening":"not_screened"},"minimumUsd":null,"returnAddress":"x_b2ecb8ff1ff90e8d","returnAddressScreening":"not_screened","developerFeePercent":"x_b2ecb8ff1ff90e8d","state":"x_b2ecb8ff1ff90e8d","livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","metadata":{}},{"id":"cla_faa507dfbd59d42e6c5f610f74545f66","object":"conversion_address","customer":"x_84d04058ee8351fd","source":{"asset":"x_84d04058ee8351fd","chain":null,"currency":null},"address":"x_84d04058ee8351fd","destination":{"asset":"x_84d04058ee8351fd","chain":null,"currency":null,"address":"x_84d04058ee8351fd","beneficiary":"customer","screening":"not_screened"},"minimumUsd":null,"returnAddress":"x_84d04058ee8351fd","returnAddressScreening":"not_screened","developerFeePercent":"x_84d04058ee8351fd","state":"x_84d04058ee8351fd","livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","metadata":{}}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~cla_faa507dfbd59d42e6c5f610f74545f66"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/conversion_addresses/{id}":{"get":{"operationId":"getConversionAddressesById","tags":["Conversion Addresses"],"summary":"A Conversion Address","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversionAddress"},"example":{"id":"la_sim_0006","object":"conversion_address","customer":"cus_3839dd48b16e44418a97c80f97392ae1","source":{"asset":"usdc-ethereum","chain":"ethereum","currency":"usdc"},"address":"0x778d6aa3b5a334dee60a8c6f68f320ddeeb25bc3","destination":{"asset":"usdc-base","chain":"base","currency":"usdc","address":"0x71cfa69008fe5bab161eaadba6182b7545e0b57b","beneficiary":"customer","screening":"not_screened","wallet":"bw_sim_0002"},"minimumUsd":"1.00","returnAddress":"0x5555555555555555555555555555555555555555","returnAddressScreening":"not_screened","developerFeePercent":"1.00","state":"active","livemode":false,"createdAt":"2026-11-18T21:28:22.379Z","sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/conversion_payments":{"get":{"operationId":"getConversionPayments","tags":["Conversion Addresses"],"summary":"Conversion payments","x-scope":"read","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/ConversionPayment"}}}}]},"example":{"object":"list","data":[{"senderScreening":null,"id":"cdr_81332c5bb3b13232a2c770e5c6417486","object":"conversion_payment","conversionAddress":"x_3e5c0ac48261bd3f","customer":"x_3e5c0ac48261bd3f","state":"x_3e5c0ac48261bd3f","currency":"x_3e5c0ac48261bd3f","amount":null,"developerFee":null,"exchangeRate":null,"received":null,"destinationCurrency":null,"destination":{"asset":"x_3e5c0ac48261bd3f","address":"x_3e5c0ac48261bd3f"},"depositTxHash":null,"txHash":null,"chainStatus":"none","delivered":false,"senderState":"none","livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","settledAt":null},{"senderScreening":null,"id":"cdr_d37b3206f7f99d7a434a94f46113b198","object":"conversion_payment","conversionAddress":"x_f8c26a73d7216014","customer":"x_f8c26a73d7216014","state":"x_f8c26a73d7216014","currency":"x_f8c26a73d7216014","amount":null,"developerFee":null,"exchangeRate":null,"received":null,"destinationCurrency":null,"destination":{"asset":"x_f8c26a73d7216014","address":"x_f8c26a73d7216014"},"depositTxHash":null,"txHash":null,"chainStatus":"none","delivered":false,"senderState":"none","livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","settledAt":null}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~cdr_d37b3206f7f99d7a434a94f46113b198"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/conversion_payments/{id}":{"get":{"operationId":"getConversionPaymentsById","tags":["Conversion Addresses"],"summary":"A Conversion payment","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConversionPayment"},"example":{"senderScreening":"not_screened","id":"sim_conv_4d2b02bb-6bd4-44a3-b4a2-003daabff3e7","object":"conversion_payment","conversionAddress":"la_sim_0013","customer":"cus_06fba312137d45f396fd4ec7e1a07bae","state":"payment_processed","currency":"usdc","amount":"300.00","developerFee":"3.00","exchangeRate":null,"received":null,"destinationCurrency":"eurc","destination":{"asset":"eurc-base","address":"0x2222222222222222222222222222222222222222"},"depositTxHash":null,"txHash":null,"chainStatus":"sandbox_not_applicable","delivered":false,"senderState":"none","livemode":false,"createdAt":"2026-11-18T21:26:23.109Z","settledAt":"2026-11-18T21:26:23.222Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/conversion_payments/{id}/sender":{"get":{"operationId":"getConversionPaymentsByIdSender","tags":["Senders"],"summary":"The message the paying wallet signs to prove its sender","description":"The wallet SET read as this payment's payer, and the exact message it signs (B-10). 400 sender_wallet_unknown when SET read no sending wallet for the payment (ownership stays asserted).","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"payment":{"type":"string"},"wallet":{"type":"string"},"chain":{"type":"string"},"message":{"type":"string"},"sign":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"sender_proof_message","payment":"sim_conv_6ac701cf-2611-4eae-bf10-301cb5b522d5","wallet":"0x87111b929d94a4f229c55ee914b79107911a2179","chain":"base","message":"SET API: the sender of this payment\n\nI control this wallet and sent this payment as the sender named with it.\nBusiness: ptr_sandbox_platform\nPayment: conversion_payment sim_conv_6ac701cf-2611-4eae-bf10-301cb5b522d5\nWallet: 0x87111b929d94a4f229c55ee914b79107911a2179\nNetwork: base\nMode: test","sign":"personal_sign (EIP-191) from the wallet; EIP-1271 for a contract wallet; or personal_sign from its owner() for a contract that cannot sign.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"post":{"operationId":"postConversionPaymentsByIdSender","tags":["Senders"],"summary":"Who paid (Travel Rule)","description":"Optional proof (B-10): {message, signature}, where message is what GET on this path returns and the signature is the paying wallet's (personal_sign EIP-191, EIP-1271 for a contract wallet, the contract's owner() signing for it, or Ed25519 on Solana). Without proof the sender is recorded as asserted; with a valid one, attested with its method (read it on …/travel_rule). A proof that does not hold answers 422 proof_not_from_wallet or proof_message_invalid, and nothing is sent; 400 sender_wallet_unknown when SET read no sending wallet for the payment; send the sender without proof and it reads asserted.","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sender"}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"submitted":{"type":"boolean"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"submitted":true,"senderState":"submitted","sandbox":false}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"submitted":{"type":"boolean"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets":{"post":{"operationId":"postWallets","tags":["Wallets"],"summary":"Open a wallet: custodial (the provider holds it) or self-custody (your own people and keys hold it)","description":"The provider holds the wallet in custody for the customer; in the provider's words, \"Custodial Wallets to hold, send, and receive crypto.\" SET never holds the wallet's keys. With custody \"self\" (spec 21, switched on per deployment): a wallet owned by your own team members, who each accept in their own SET Console, and optionally your own server's P-256 public key; SET's software does not sign for you. It answers state pending_acceptance and no address until every owner accepts and SET reads the wallet back as accepted. chain for \"self\": base, ethereum, arbitrum, polygon or solana. USDT and Tron are retired (2026-11-18): where the retirement is in force (GET /v1/capabilities retiredAssets.inForce), a new wallet that names USDT or Tron answers 400 asset_retired; existing ones keep working. Owners must be admin or finance members; at least one person always owns it. With custody \"self\": 503 self_custody_disabled while self-custody wallets is switched off for this deployment (GET /v1/capabilities features.selfCustodyWallets.status says which).","x-scope":"write","x-set-switches":[{"error":"self_custody_disabled","status":503,"capability":"features.selfCustodyWallets","when":"custody \"self\""}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"chain":{"type":"string","description":"A chain. Custodial: base, ethereum or solana. Self-custody: also arbitrum or polygon. Tron is retired."},"custody":{"type":"string","description":"custodial (default) or self","enum":["custodial","self"]},"owners":{"type":"object","properties":{"members":{"type":"array","items":{"type":"string","description":"A team member id, pmb_…"}},"publicKeys":{"type":"array","items":{"type":"string","description":"Your server's P-256 public key, base64 SPKI or PEM. Never a private key."}},"threshold":{"type":"integer","minimum":1}},"additionalProperties":true},"limits":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"string","enum":["usdc","eurc"]}},"perPayment":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"perDay":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"}},"additionalProperties":true}},"required":["customer","chain"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"},"example":{"id":"swl_b348a69e21c24e938f4eecc122e67f10","object":"wallet","custody":"self","customer":"cus_2718b6c836674349b1ccd93b2ffe2266","chain":"base","state":"pending_acceptance","address":null,"owners":{"members":[{"member":"pmb_ownera000000000001","acceptedAt":null},{"member":"pmb_ownerb000000000002","acceptedAt":null}],"publicKeys":[{"fingerprint":"trPj195Cl0lB1w=="}],"threshold":2},"limits":{"assets":["usdc"],"perPayment":"500.00","perDay":"2000.00"},"policy":null,"custodyNote":"SET's software does not sign for you. Each payment from this wallet is signed by its owners, in their own browser or with your own server key.","livemode":false,"createdAt":"2026-11-18T21:33:51.774Z","next":"Each owner accepts in their own SET Console (Crypto, Wallets). The wallet is created and its address shown after the last acceptance.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getWallets","tags":["Wallets"],"summary":"List wallets","description":"custody=self lists the self-custody wallets instead of the provider's. With custody=self: 503 self_custody_disabled while self-custody wallets is switched off for this deployment (GET /v1/capabilities features.selfCustodyWallets.status says which).","x-scope":"read","x-set-switches":[{"error":"self_custody_disabled","status":503,"capability":"features.selfCustodyWallets","when":"custody=self"}],"parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"custody","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Wallet"}}}}]},"example":{"object":"list","data":[{"id":"swl_b348a69e21c24e938f4eecc122e67f10","object":"wallet","custody":"self","customer":"cus_2718b6c836674349b1ccd93b2ffe2266","chain":"base","state":"pending_acceptance","address":null,"owners":{"members":[{"member":"pmb_ownera000000000001","acceptedAt":null},{"member":"pmb_ownerb000000000002","acceptedAt":null}],"publicKeys":[{"fingerprint":"trPj195Cl0lB1w=="}],"threshold":2},"limits":{"assets":["usdc"],"perPayment":"500.00","perDay":"2000.00"},"policy":null,"custodyNote":"SET's software does not sign for you. Each payment from this wallet is signed by its owners, in their own browser or with your own server key.","livemode":false,"createdAt":"2026-11-18T21:33:51.774Z"}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/owner_candidates":{"get":{"operationId":"getWalletsOwnerCandidates","tags":["Wallets"],"summary":"Who may own a self-custody wallet","description":"The account's admin and finance members, by member id and role only, and which of them is the caller (you: true, in the SET Console). 503 self_custody_disabled while self-custody wallets is switched off for this deployment (GET /v1/capabilities features.selfCustodyWallets.status says which).","x-scope":"read","x-set-switches":[{"error":"self_custody_disabled","status":503,"capability":"features.selfCustodyWallets"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"member":{"type":"string"},"role":{"type":"string"},"you":{"type":"boolean"}},"additionalProperties":true}},"you":{"description":"null in the example; holds a value when set."},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"member":"pmb_ownera000000000001","role":"admin","you":false},{"member":"pmb_ownerb000000000002","role":"finance","you":false}],"you":null,"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/payments":{"post":{"operationId":"postWalletsByIdPayments","tags":["Wallets"],"summary":"Pay from a self-custody wallet: SET checks, then proposes","description":"SET checks the wallet's own limits (assets, perPayment, perDay over 24 hours; 422 policy_refused), restrictions and screening, then proposes the transfer to the provider and answers 201 state awaiting_signature with intent.signingPayload: the bytes each owner signs. Nothing moves until enough owners sign (POST …/signatures). A repeated externalId answers 200 with the payment already made, without intent.signingPayload. 503 self_custody_disabled while self-custody wallets is switched off for this deployment (GET /v1/capabilities features.selfCustodyWallets.status says which).","x-scope":"write","x-set-switches":[{"error":"self_custody_disabled","status":503,"capability":"features.selfCustodyWallets"}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"asset":{"type":"string","enum":["usdc","eurc"]},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"destination":{"type":"string","description":"An address on the wallet's own chain."},"externalId":{"type":"string","description":"Your reference, unique per account."}},"required":["asset","amount","destination"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfCustodyPayment"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfCustodyPayment"},"example":{"id":"swp_a1a1b3bb13d54a5597b723d93ef247eb","object":"self_wallet_payment","wallet":"swl_de645e4d225546af96bd8c1455410b9a","kind":"transfer","asset":"usdc","amount":"250.00","destination":"0x7777777777777777777777777777777777777777","state":"awaiting_signature","txHash":null,"failureCode":null,"externalId":"inv-1042","intent":{"id":"in0000000000000000000004","expiresAt":"2026-11-18T14:42:46.033Z","signingPayload":{"bytesBase64":"eyJib2R5Ijp7ImFtb3VudF90eXBlIjoiZXhhY3RfaW5wdXQiLCJkZXN0aW5hdGlvbiI6eyJhZGRyZXNzIjoiMHg3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3In0sInNvdXJjZSI6eyJhbW91bnQiOiIyNTAuMDAiLCJhc3NldCI6InVzZGMiLCJjaGFpbiI6ImJhc2Vfc2Vwb2xpYSJ9fSwiaGVhZGVycyI6eyJwcml2eS1hcHAtaWQiOiJjbXRlc3RhcHAwMDAwMDAwMDAwMDAwMDAxIn0sImludGVudF9pZCI6ImluMDAwMDAwMDAwMDAwMDAwMDAwMDAwNCIsIm1ldGhvZCI6IlBPU1QiLCJ0aW1lc3RhbXAiOjE3OTUwMDkzNjYwMzMsInVybCI6Imh0dHBzOi8vYXBpLnByaXZ5LmlvL3YxL3dhbGxldHMvd2wwMDAwMDAwMDAwMDAwMDAwMDAwMDAzL3RyYW5zZmVyIiwidmVyc2lvbiI6MX0=","timestamp":1795009366033,"payload":{"version":1,"method":"POST","body":{"source":{"asset":"usdc","chain":"base_sepolia","amount":"250.00"},"destination":{"address":"0x7777777777777777777777777777777777777777"},"amount_type":"exact_input"},"timestamp":1795009366033,"intent_id":"in0000000000000000000004","headers":{}}}},"livemode":false,"createdAt":"2026-11-18T13:42:46.032Z","updatedAt":"2026-11-18T13:42:46.032Z","screening":"not_screened","next":"Each owner signs the signingPayload bytes (in the SET Console, or with your own server key) and posts the signature to …/signatures. Nothing moves until enough owners sign.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getWalletsByIdPayments","tags":["Wallets"],"summary":"A self-custody wallet's payments","description":"503 self_custody_disabled while self-custody wallets is switched off for this deployment (GET /v1/capabilities features.selfCustodyWallets.status says which).","x-scope":"read","x-set-switches":[{"error":"self_custody_disabled","status":503,"capability":"features.selfCustodyWallets"}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/SelfCustodyPayment"}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"swp_4976823477874883866699fc703b62d2","object":"self_wallet_payment","wallet":"swl_de645e4d225546af96bd8c1455410b9a","kind":"transfer","asset":"usdc","amount":"40.00","destination":"0x7777777777777777777777777777777777777777","state":"awaiting_signature","txHash":null,"failureCode":null,"externalId":"inv-1043","intent":{"id":"in0000000000000000000005","expiresAt":null},"livemode":false,"createdAt":"2026-11-18T13:42:46.036Z","updatedAt":"2026-11-18T13:42:46.036Z"},{"id":"swp_a1a1b3bb13d54a5597b723d93ef247eb","object":"self_wallet_payment","wallet":"swl_de645e4d225546af96bd8c1455410b9a","kind":"transfer","asset":"usdc","amount":"250.00","destination":"0x7777777777777777777777777777777777777777","state":"awaiting_signature","txHash":null,"failureCode":null,"externalId":"inv-1042","intent":{"id":"in0000000000000000000004","expiresAt":null},"livemode":false,"createdAt":"2026-11-18T13:42:46.032Z","updatedAt":"2026-11-18T13:42:46.032Z"}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/payments/{payment}":{"get":{"operationId":"getWalletsByIdPaymentsByPayment","tags":["Wallets"],"summary":"One payment, re-read from the provider","description":"While it waits for signatures, intent.signingPayload holds fresh bytes to sign (POST …/signatures takes them for 5 minutes, then 410 signature_expired). States: awaiting_signature, processing, executed, confirmed (read on chain by SET; today only for USDC on Base, elsewhere the last state is executed), failed, rejected, expired, dismissed. 503 self_custody_disabled while self-custody wallets is switched off for this deployment (GET /v1/capabilities features.selfCustodyWallets.status says which).","x-scope":"read","x-set-switches":[{"error":"self_custody_disabled","status":503,"capability":"features.selfCustodyWallets"}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"name":"payment","in":"path","required":true,"schema":{"type":"string","pattern":"^swp_[a-f0-9]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfCustodyPayment"},"example":{"id":"swp_a1a1b3bb13d54a5597b723d93ef247eb","object":"self_wallet_payment","wallet":"swl_de645e4d225546af96bd8c1455410b9a","kind":"transfer","asset":"usdc","amount":"250.00","destination":"0x7777777777777777777777777777777777777777","state":"awaiting_signature","txHash":null,"failureCode":null,"externalId":"inv-1042","intent":{"id":"in0000000000000000000004","expiresAt":"2026-11-18T14:42:46.033Z","signingPayload":{"bytesBase64":"eyJib2R5Ijp7ImFtb3VudF90eXBlIjoiZXhhY3RfaW5wdXQiLCJkZXN0aW5hdGlvbiI6eyJhZGRyZXNzIjoiMHg3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3In0sInNvdXJjZSI6eyJhbW91bnQiOiIyNTAuMDAiLCJhc3NldCI6InVzZGMiLCJjaGFpbiI6ImJhc2Vfc2Vwb2xpYSJ9fSwiaGVhZGVycyI6eyJwcml2eS1hcHAtaWQiOiJjbXRlc3RhcHAwMDAwMDAwMDAwMDAwMDAxIn0sImludGVudF9pZCI6ImluMDAwMDAwMDAwMDAwMDAwMDAwMDAwNCIsIm1ldGhvZCI6IlBPU1QiLCJ0aW1lc3RhbXAiOjE3OTUwMDkzNjYwMzgsInVybCI6Imh0dHBzOi8vYXBpLnByaXZ5LmlvL3YxL3dhbGxldHMvd2wwMDAwMDAwMDAwMDAwMDAwMDAwMDAzL3RyYW5zZmVyIiwidmVyc2lvbiI6MX0=","timestamp":1795009366038,"payload":{"version":1,"method":"POST","body":{"source":{"asset":"usdc","chain":"base_sepolia","amount":"250.00"},"destination":{"address":"0x7777777777777777777777777777777777777777"},"amount_type":"exact_input"},"timestamp":1795009366038,"intent_id":"in0000000000000000000004","headers":{}}}},"livemode":false,"createdAt":"2026-11-18T13:42:46.032Z","updatedAt":"2026-11-18T13:42:46.032Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/payments/{payment}/signatures":{"post":{"operationId":"postWalletsByIdPaymentsByPaymentSignatures","tags":["Wallets"],"summary":"Post an owner's signature","description":"Needs the approve scope. Answers 200 with the payment. An owner's base64 P-256 signature over the signingPayload bytes, with that payload's timestamp. SET relays it to the provider unchanged and never signs; the provider checks the signer is an owner and the threshold. 410 signature_expired after 5 minutes. 503 self_custody_disabled while self-custody wallets is switched off for this deployment (GET /v1/capabilities features.selfCustodyWallets.status says which).","x-scope":"approve","x-scopes":["read","approve"],"x-scope-mode":"all","x-set-switches":[{"error":"self_custody_disabled","status":503,"capability":"features.selfCustodyWallets"}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"name":"payment","in":"path","required":true,"schema":{"type":"string","pattern":"^swp_[a-f0-9]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"signature":{"type":"string"},"timestamp":{"type":"integer"}},"required":["signature","timestamp"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SelfCustodyPayment"},"example":{"id":"swp_a1a1b3bb13d54a5597b723d93ef247eb","object":"self_wallet_payment","wallet":"swl_de645e4d225546af96bd8c1455410b9a","kind":"transfer","asset":"usdc","amount":"250.00","destination":"0x7777777777777777777777777777777777777777","state":"executed","txHash":"0x9e77786397ca616b8e91ddff5c037dd48ac7f30b6e81d20e729e883ffcb4c194","failureCode":null,"externalId":"inv-1042","intent":{"id":"in0000000000000000000004","expiresAt":null},"livemode":false,"createdAt":"2026-11-18T13:42:46.032Z","updatedAt":"2026-11-18T13:42:46.045Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/acceptance":{"post":{"operationId":"postWalletsByIdAcceptance","tags":["Wallets"],"summary":"Accept ownership of a self-custody wallet","description":"Needs the approve scope. Made by the named owner, signed in to the SET Console as themselves: no API key can make this call succeed, whatever its scopes (403 acceptance_needs_a_person); the Console receives 200 with the wallet. After the last owner accepts, SET creates the wallet at the provider, owned by the owners, and reads it back: a difference answers state frozen and no address. 503 self_custody_disabled while self-custody wallets is switched off for this deployment (GET /v1/capabilities features.selfCustodyWallets.status says which).","x-scope":"approve","x-scopes":["read","approve"],"x-scope-mode":"all","x-set-switches":[{"error":"self_custody_disabled","status":503,"capability":"features.selfCustodyWallets"}],"parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"},"example":{"id":"swl_de645e4d225546af96bd8c1455410b9a","object":"wallet","custody":"self","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","chain":"base","state":"active","address":"0xe8df58f2177db54cfad9761a87b1d2b9bbdf24a0","owners":{"members":[{"member":"pmb_ownera000000000001","acceptedAt":"2026-11-18T13:42:46.024Z"}],"publicKeys":[{"fingerprint":"WbpKSvNR8iPbjg=="}],"threshold":1},"limits":{"assets":["usdc"],"perPayment":"500.00","perDay":"2000.00"},"policy":{"readBack":"matches","mismatch":null},"custodyNote":"SET's software does not sign for you. Each payment from this wallet is signed by its owners, in their own browser or with your own server key.","livemode":false,"createdAt":"2026-11-18T13:42:46.015Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}":{"get":{"operationId":"getWalletsById","tags":["Wallets"],"summary":"A wallet with its balances","description":"balances are the provider's, read now. Sandbox (staging): also simulatedBalance, what simulated deposits delivered to the wallet less simulated payouts from it; payouts draw on it, and a payout it covers is simulated (advance it with POST /v1/sandbox/payouts/{id}/advance).","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Wallet"},"example":{"id":"swl_c3a9c7aa09e54ee1848b49cd795749ee","object":"wallet","custody":"self","customer":"cus_c67cb0adf9ff44688dfea8eb76621888","chain":"base","state":"active","address":"0x5555555555555555555555555555555555555553","owners":{"members":[{"member":"pmb_ownera000000000001","acceptedAt":"2026-11-18T21:34:00.041Z"}],"publicKeys":[],"threshold":1},"limits":{"assets":["usdc"],"perPayment":null,"perDay":null},"policy":{"readBack":"matches","mismatch":null},"custodyNote":"SET's software does not sign for you. Each payment from this wallet is signed by its owners, in their own browser or with your own server key.","livemode":false,"createdAt":"2026-11-18T21:34:00.030Z","balances":[{"currency":"usdc","balance":"12.50","source":"chain"}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/activity":{"get":{"operationId":"getWalletsByIdActivity","tags":["Wallets"],"summary":"The provider's history for the wallet","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"type":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"routeType":{"description":"null in the example; holds a value when set."},"createdAt":{"type":"string","format":"date-time"},"senderState":{"type":"string"},"senderScreening":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"wev_sim_0003","object":"wallet_activity","wallet":"bw_sim_0002","type":"direct_deposit","amount":"12.00","currency":"usdc","routeType":null,"createdAt":"2026-11-18T21:26:36.899Z","senderState":"submitted","senderScreening":"not_screened"}]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/activity/{eventId}/sender":{"post":{"operationId":"postWalletsByIdActivityByEventIdSender","tags":["Senders"],"summary":"Who sent a direct deposit","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"name":"eventId","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Sender"}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"submitted":{"type":"boolean"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"submitted":true,"senderState":"submitted","sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"submitted":{"type":"boolean"},"senderState":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/withdrawals":{"post":{"operationId":"postWalletsByIdWithdrawals","tags":["Wallets"],"summary":"Withdraw to the customer's own bank","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"bankAccount":{"type":"string"}},"required":["amount","bankAccount"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"bankAccount":{"type":"string"},"amount":{"type":"string"},"fee":{"type":"string"},"state":{"type":"string"},"sweep":{"description":"null in the example; holds a value when set."},"receiptAmount":{"description":"null in the example; holds a value when set."},"railReference":{"$ref":"#/components/schemas/RailReference"},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":"string","format":"date-time"},"paidAt":{"description":"null in the example; holds a value when set."},"businessDaysToPaid":{"description":"null in the example; holds a value when set."},"late":{"type":"boolean"},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"bankAccount":{"type":"string"},"amount":{"type":"string"},"fee":{"type":"string"},"state":{"type":"string"},"sweep":{"description":"null in the example; holds a value when set."},"receiptAmount":{"description":"null in the example; holds a value when set."},"railReference":{"$ref":"#/components/schemas/RailReference"},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":"string","format":"date-time"},"paidAt":{"description":"null in the example; holds a value when set."},"businessDaysToPaid":{"description":"null in the example; holds a value when set."},"late":{"type":"boolean"},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"example":{"id":"wwd_ffb0b596231b4704ab5f4993d6560cec","object":"wallet_withdrawal","wallet":"bw_sim_0002","bankAccount":"ea_sim_0004","amount":"100.00","fee":"1.00","state":"payment_submitted","sweep":null,"receiptAmount":null,"railReference":null,"requestedAt":"2026-11-18T21:34:16.601Z","sentAt":"2026-11-18T21:34:16.602Z","paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:34:16.601Z","updatedAt":"2026-11-18T21:34:16.602Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getWalletsByIdWithdrawals","tags":["Wallets"],"summary":"Withdrawals","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"bankAccount":{"type":"string"},"amount":{"type":"string"},"fee":{"type":"string"},"state":{"type":"string"},"sweep":{"description":"null in the example; holds a value when set."},"receiptAmount":{"description":"null in the example; holds a value when set."},"railReference":{"$ref":"#/components/schemas/RailReference"},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"description":"null in the example; holds a value when set."},"paidAt":{"description":"null in the example; holds a value when set."},"businessDaysToPaid":{"description":"null in the example; holds a value when set."},"late":{"type":"boolean"},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"wd_61b1318eea475432dfe06329ff85854a","object":"wallet_withdrawal","wallet":"bw_12cf407f67272bc104f4af2f21cbc88a","bankAccount":"x_d13b82cd3ef06025","amount":"x_d13b82cd3ef06025","fee":"x_d13b82cd3ef06025","state":"x_d13b82cd3ef06025","sweep":null,"receiptAmount":null,"railReference":null,"requestedAt":"2026-11-09T12:00:09.000Z","sentAt":null,"paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z"},{"id":"wd_dd29642ee50ed3fb9d1e934a0493b018","object":"wallet_withdrawal","wallet":"bw_12cf407f67272bc104f4af2f21cbc88a","bankAccount":"x_d48bccf90f3fe1c4","amount":"x_d48bccf90f3fe1c4","fee":"x_d48bccf90f3fe1c4","state":"x_d48bccf90f3fe1c4","sweep":null,"receiptAmount":null,"railReference":null,"requestedAt":"2026-11-09T12:00:05.000Z","sentAt":null,"paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~wd_dd29642ee50ed3fb9d1e934a0493b018"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/treasury":{"get":{"operationId":"getWalletsByIdTreasury","tags":["Wallets"],"summary":"Treasury rule","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"wallet":{"type":"string"},"active":{"type":"boolean"},"schedule":{"description":"null in the example; holds a value when set."},"threshold":{"type":"string"},"keep":{"type":"string"},"keepShare":{"type":"string"},"allocations":{"type":"array","items":{"type":"object","properties":{"bankAccount":{"type":"string"},"share":{"type":"string"}},"additionalProperties":true}},"nextSweepAt":{"description":"null in the example; holds a value when set."},"lastSweptAt":{"type":"string","format":"date-time"},"lastResult":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"livemode":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"treasury_rule","wallet":"bw_sim_0004","active":true,"schedule":null,"threshold":"500.00","keep":"100.00","keepShare":"0","allocations":[{"bankAccount":"ea_sim_0002","share":"70"},{"bankAccount":"ea_sim_0003","share":"30"}],"nextSweepAt":null,"lastSweptAt":"2026-11-18T21:26:30.919Z","lastResult":"in_flight","updatedAt":"2026-11-18T21:26:30.984Z","livemode":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"put":{"operationId":"putWalletsByIdTreasury","tags":["Wallets"],"summary":"Set the treasury rule","description":"Idempotent upsert: a PUT replaces the wallet's whole treasury rule, so the same body again leaves the same rule. Each call records a treasury_rule.updated event and counts the next scheduled sweep from now. Accepts an optional Idempotency-Key (replays with Idempotent-Replayed: true for the same body, or answers 422 idempotency_key_reused if reused with a different body).","x-idempotent":true,"x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"schedule":{"type":"string","enum":["daily","weekly","monthly"]},"threshold":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"keep":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"keepShare":{"type":"string","description":"Optional: a percent (0 to 99.99) of what is above keep that stays in the wallet as USDC; the rest is swept. Default 0."},"allocations":{"type":"array","items":{"type":"object","properties":{"bankAccount":{"type":"string"},"share":{"type":"integer"}},"additionalProperties":true}}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"wallet":{"type":"string"},"active":{"type":"boolean"},"schedule":{"description":"null in the example; holds a value when set."},"threshold":{"type":"string"},"keep":{"type":"string"},"keepShare":{"type":"string"},"allocations":{"type":"array","items":{"type":"object","properties":{"bankAccount":{"type":"string"},"share":{"type":"string"}},"additionalProperties":true}},"nextSweepAt":{"description":"null in the example; holds a value when set."},"lastSweptAt":{"description":"null in the example; holds a value when set."},"lastResult":{"description":"null in the example; holds a value when set."},"updatedAt":{"type":"string","format":"date-time"},"livemode":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"treasury_rule","wallet":"bw_sim_0004","active":true,"schedule":null,"threshold":"500.00","keep":"100.00","keepShare":"20","allocations":[{"bankAccount":"ea_sim_0002","share":"70"},{"bankAccount":"ea_sim_0003","share":"30"}],"nextSweepAt":null,"lastSweptAt":null,"lastResult":null,"updatedAt":"2026-11-18T21:34:33.873Z","livemode":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"delete":{"operationId":"deleteWalletsByIdTreasury","tags":["Wallets"],"summary":"Turn the treasury rule off","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object as it now stands (deleted: true, or no longer active). A repeat answers the same and changes nothing.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"wallet":{"type":"string"},"active":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"treasury_rule","wallet":"bw_sim_0004","active":false}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/sweeps":{"post":{"operationId":"postWalletsByIdSweeps","tags":["Wallets"],"summary":"Sweep now","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"allocations":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true}}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"amount":{"type":"string"},"result":{"type":"string"},"withdrawals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"bankAccount":{"type":"string"},"amount":{"type":"string"},"fee":{"type":"string"},"state":{"type":"string"},"sweep":{"type":"string"},"receiptAmount":{"description":"null in the example; holds a value when set."},"railReference":{"$ref":"#/components/schemas/RailReference"},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":"string","format":"date-time"},"paidAt":{"description":"null in the example; holds a value when set."},"businessDaysToPaid":{"description":"null in the example; holds a value when set."},"late":{"type":"boolean"},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"amount":{"type":"string"},"result":{"type":"string"},"withdrawals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"bankAccount":{"type":"string"},"amount":{"type":"string"},"fee":{"type":"string"},"state":{"type":"string"},"sweep":{"type":"string"},"receiptAmount":{"description":"null in the example; holds a value when set."},"railReference":{"$ref":"#/components/schemas/RailReference"},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":"string","format":"date-time"},"paidAt":{"description":"null in the example; holds a value when set."},"businessDaysToPaid":{"description":"null in the example; holds a value when set."},"late":{"type":"boolean"},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"trs_f496f0a947df45fb9185af877afbabac","object":"treasury_sweep","wallet":"bw_sim_0004","amount":"300.00","result":"swept","withdrawals":[{"id":"wwd_79c08b5a35984971815d30aa1fa546a5","object":"wallet_withdrawal","wallet":"bw_sim_0004","bankAccount":"ea_sim_0002","amount":"180.00","fee":"1.80","state":"payment_submitted","sweep":"trs_f496f0a947df45fb9185af877afbabac","receiptAmount":null,"railReference":null,"requestedAt":"2026-11-18T21:26:32.005Z","sentAt":"2026-11-18T21:26:32.005Z","paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:26:32.005Z","updatedAt":"2026-11-18T21:26:32.005Z"},{"id":"wwd_dabb296155b848ab834afba0e1a4acdd","object":"wallet_withdrawal","wallet":"bw_sim_0004","bankAccount":"ea_sim_0003","amount":"120.00","fee":"1.20","state":"payment_submitted","sweep":"trs_f496f0a947df45fb9185af877afbabac","receiptAmount":null,"railReference":null,"requestedAt":"2026-11-18T21:26:32.006Z","sentAt":"2026-11-18T21:26:32.006Z","paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:26:32.006Z","updatedAt":"2026-11-18T21:26:32.006Z"}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/recipients":{"post":{"operationId":"postRecipients","tags":["Payouts"],"summary":"Create a recipient (a third party)","description":"destination.detailsFrom \"payee\" (EUR or GBP banks, once SET switches it on): no bank details now; the payee enters their own from POST /v1/recipients/{recipient}/payee_details_link. An EUR (IBAN) or GBP bank recipient gets the provider's payee name check: destination.payeeCheck.matchLevel is match, close_match, no_match, error or pending (GET reads a pending one again). requireMatch: true refuses a no_match with 422 payee_name_mismatch, and holds payouts until the level is match or close_match.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"externalId":{"type":"string"},"party":{"type":"object","properties":{"type":{"type":"string","enum":["business","individual","platform"]},"name":{"type":"string"},"address":{"type":"object","properties":{"country":{"type":"string","description":"ISO 3166-1 alpha-3."}},"additionalProperties":true}},"additionalProperties":true},"destination":{"type":"object","properties":{"kind":{"type":"string","enum":["bank","wallet","custodial_wallet","email"]},"fallbackWallet":{"type":"object","properties":{"chain":{"type":"string","enum":["base","ethereum","solana"]},"address":{"type":"string","description":"The recipient's own wallet, as the recipient gave it."},"walletType":{"type":"string","description":"\"external\" when an exchange or provider holds it.","enum":["external"]}},"required":["chain","address"],"additionalProperties":true}},"additionalProperties":true}},"required":["customer","party","destination"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recipient"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recipient"},"example":{"id":"rcp_71a8bd2d20544741bf1223b151de1972","object":"recipient","customer":"cus_2d6c91f6e17d41ef81d8e70556dd72b4","externalId":null,"type":"business","country":"DEU","destination":{"kind":"bank","currency":"eur","rail":"sepa","payeeCheck":{"matchLevel":"close_match","reasonCode":"MBAM","checkedAt":"2026-11-18T21:31:31.177Z","required":false},"bankAccount":"ea_sim_0003","fallbackWallet":null},"state":"active","livemode":false,"createdAt":"2026-11-18T21:31:31.160Z","bankName":"Sandbox Bank (simulated)","last4":"3000","payeeCheckName":"Simulated Holder Ltd","sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getRecipients","tags":["Payouts"],"summary":"List recipients","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Recipient"}}}}]},"example":{"object":"list","data":[{"id":"rcp_e651017bd711e2d241f63f87d84d7b44","object":"recipient","customer":"x_0900404fd221a738","externalId":null,"type":"platform","country":"x_0900404fd221a738","destination":{"kind":"bank","currency":"x_0900404fd221a738","rail":"x_0900404fd221a738","bankAccount":null,"fallbackWallet":null},"state":"active","livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","metadata":{}},{"id":"rcp_e7cc6980524e83313406cf3c17e2c007","object":"recipient","customer":"x_62dccee3017c25c3","externalId":null,"type":"platform","country":"x_62dccee3017c25c3","destination":{"kind":"bank","currency":"x_62dccee3017c25c3","rail":"x_62dccee3017c25c3","bankAccount":null,"fallbackWallet":null},"state":"active","livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","metadata":{}}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~rcp_e7cc6980524e83313406cf3c17e2c007"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/recipients/{recipient}":{"get":{"operationId":"getRecipientsByRecipient","tags":["Payouts"],"summary":"A recipient","x-scope":"read","parameters":[{"name":"recipient","in":"path","required":true,"schema":{"type":"string","pattern":"^rcp_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recipient"},"example":{"id":"rcp_863c369887574ce3a1f23b133036776a","object":"recipient","customer":"cus_814d9f702b6b4c5d93dab5e902b88dd7","externalId":null,"type":"business","country":"DEU","destination":{"kind":"bank","currency":"eur","rail":"sepa","payeeCheck":{"matchLevel":"match","reasonCode":null,"checkedAt":"2026-11-18T21:31:29.545Z","required":false},"detailsFrom":"payee","detailsGiven":true,"detailsGivenAt":"2026-11-18T21:31:29.556Z","bankAccount":"ea_sim_0004","fallbackWallet":null},"state":"active","livemode":false,"createdAt":"2026-11-18T21:31:29.311Z","name":"Müller Werkzeug GmbH","sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/recipients/{recipient}/disable":{"post":{"operationId":"postRecipientsByRecipientDisable","tags":["Payouts"],"summary":"Disable a recipient","x-scope":"write","parameters":[{"name":"recipient","in":"path","required":true,"schema":{"type":"string","pattern":"^rcp_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recipient"},"example":{"id":"rcp_6b1d0f3e9a2c4e5f8a7b6c5d4e3f2a10","object":"recipient","state":"disabled"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Recipient"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/recipients/{recipient}/payee_details_link":{"post":{"operationId":"postRecipientsByRecipientPayeeDetailsLink","tags":["Payouts"],"summary":"A link for the payee to enter their own bank details","description":"For a recipient created with destination { kind: bank, currency: eur or gbp, detailsFrom: payee }, which has no bank account until the payee gives it (payouts to it answer 409 payee_details_missing). Answers a single-use url, valid 14 days; send it to the payee yourself. A newer link closes the older. The payee's page checks the IBAN, or sort code and account number, that the account is in the recipient's country and held in the party's name, then sends it to the provider; you see detailsGiven and the payee check on the recipient (event recipient.payee_details_given), never the details. 403 payee_bank_details_disabled until SET switches it on; 409 details_not_from_payee, details_already_given or recipient_disabled.","x-scope":"write","parameters":[{"name":"recipient","in":"path","required":true,"schema":{"type":"string","pattern":"^rcp_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"recipient":{"type":"string"},"url":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"payee_details_link","recipient":"rcp_f02b11188e28497686757275f71b012a","url":"https://wallet-staging.simpleeasytransactions.com/payee-details/dh9hTmqhIJLfQfWOXS0SHVloht1NxM7RlByhCG5sYuo","expiresAt":"2026-12-02T13:42:45.902Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payouts":{"post":{"operationId":"postPayouts","tags":["Payouts"],"summary":"Pay a recipient from a custodial or self-custody wallet","description":"destinationAmount (switched on per deployment, GET /v1/capabilities fixedOutputPayouts): what an EUR, GBP, MXN, BRL or COP bank receives, exactly, instead of amount. The provider sets the USDC taken, with a 1% buffer; what it did not need is credited against SET's fee on the customer's next payouts (fxExcess, payout.fx_excess_owed; feeCredit on the payout that used it). The payout can be underfunded if the rate moves past the buffer (underfundedBy): the issuer tops it up with POST /v1/payouts/{payout}/fund. From a self-custody wallet (swl_…): pays a wallet recipient on the same network, or a bank recipient through that recipient's active Cash-Out Address on the wallet's network (409 cash_out_address_missing if none is open; 403 destination_refused when screening refuses the destination), answering awaiting_signature for the owners to sign.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string"},"recipient":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"reference":{"type":"string"},"externalId":{"type":"string"},"platformFeeBps":{"type":"integer"},"fallback":{"type":"string","description":"\"wallet\": if the provider refuses the bank side or the bank returns the payout, SET pays the same amount in USDC to the recipient's destination.fallbackWallet, once, and sends payout.rerouted. Bank recipients with a fallbackWallet only. Default \"none\".","enum":["none","wallet"]},"maxRateDriftBps":{"type":"integer","description":"Bank payouts in EUR, GBP, MXN, BRL or COP: SET keeps the provider's buy rate now and holds the payout for review (hit rate_drift) if it has moved further than this many basis points when the payout is sent. 1 to 5000."},"quoteId":{"type":"string","description":"A locked quote (POST /v1/quotes lock true) for this customer, currency and exact amount: used once, before it expires, in the same write as the payout. 400 quote_mismatch, 409 quote_not_locked, quote_expired, quote_already_used or quote_not_applicable (a payout waiting for approval or a time)."}},"required":["wallet","recipient","amount"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Payout"},{"$ref":"#/components/schemas/SelfCustodyPayment"}],"discriminator":{"propertyName":"object","mapping":{"payout":"#/components/schemas/Payout","self_wallet_payment":"#/components/schemas/SelfCustodyPayment"}}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"oneOf":[{"$ref":"#/components/schemas/Payout"},{"$ref":"#/components/schemas/SelfCustodyPayment"}],"discriminator":{"propertyName":"object","mapping":{"payout":"#/components/schemas/Payout","self_wallet_payment":"#/components/schemas/SelfCustodyPayment"}}},"example":{"id":"swp_f66adec0aa104f409018b83c21d089f5","object":"self_wallet_payment","wallet":"swl_cf7917dedad04210a825ea3b838a2abf","kind":"payout","asset":"usdc","amount":"40.00","destination":"0x7777777777777777777777777777777777777777","state":"awaiting_signature","txHash":null,"failureCode":null,"externalId":"po-self-1","intent":{"id":"in0000000000000000000004","expiresAt":"2026-11-18T22:34:02.214Z","signingPayload":{"bytesBase64":"eyJib2R5Ijp7ImFtb3VudF90eXBlIjoiZXhhY3RfaW5wdXQiLCJkZXN0aW5hdGlvbiI6eyJhZGRyZXNzIjoiMHg3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3Nzc3In0sInNvdXJjZSI6eyJhbW91bnQiOiI0MC4wMCIsImFzc2V0IjoidXNkYyIsImNoYWluIjoiYmFzZV9zZXBvbGlhIn19LCJoZWFkZXJzIjp7InByaXZ5LWFwcC1pZCI6ImNtdGVzdGFwcDAwMDAwMDAwMDAwMDAwMDEifSwiaW50ZW50X2lkIjoiaW4wMDAwMDAwMDAwMDAwMDAwMDAwMDA0IiwibWV0aG9kIjoiUE9TVCIsInRpbWVzdGFtcCI6MTc5NTAzNzY0MjIxNSwidXJsIjoiaHR0cHM6Ly9hcGkucHJpdnkuaW8vdjEvd2FsbGV0cy93bDAwMDAwMDAwMDAwMDAwMDAwMDAwMDMvdHJhbnNmZXIiLCJ2ZXJzaW9uIjoxfQ==","timestamp":1795037642215,"payload":{"version":1,"method":"POST","body":{"source":{"asset":"usdc","chain":"base_sepolia","amount":"40.00"},"destination":{"address":"0x7777777777777777777777777777777777777777"},"amount_type":"exact_input"},"timestamp":1795037642215,"intent_id":"in0000000000000000000004","headers":{}}}},"livemode":false,"createdAt":"2026-11-18T21:34:02.213Z","updatedAt":"2026-11-18T21:34:02.213Z","recipient":"rcp_4c768194aecc45d69aa4ce3f57c9bcc3","next":"Each owner signs intent.signingPayload and posts the signature to POST /v1/wallets/{wallet}/payments/{id}/signatures.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getPayouts","tags":["Payouts"],"summary":"List payouts","description":"Newest first. Each carries railReference (components/schemas/RailReference): the bank rail's own reference once the provider reports it. Null for payouts on chain. state= lists one state only (for example pending_approval).","x-scope":"read","parameters":[{"name":"wallet","in":"query","required":false,"schema":{"type":"string"}},{"name":"recipient","in":"query","required":false,"schema":{"type":"string"}},{"name":"batch","in":"query","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Payout"}}}}]},"example":{"object":"list","data":[{"id":"po_127dfa99e0df48cdaa6fcdb3a83d2e56","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_0993e9b0d5ad4f509101141c0cdb3a7d","customer":"cus_5c5fd3d3e2704d639ab464ef7d516b54","batch":null,"externalId":null,"amount":"100.00","fee":"3.00","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usdc","rail":"base","state":"payment_submitted","receiptAmount":null,"txHash":null,"toAddress":"0x3333333333333333333333333333333333333333","chainStatus":"none","railReference":null,"delivered":false,"paidToBank":false,"approval":"none","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"wallet","fallback":"none","fallbackOf":"po_5cf728917e63456d9eb7f16243284a25","fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:34:48.803Z","sentAt":"2026-11-18T21:34:48.806Z","paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:34:48.803Z","updatedAt":"2026-11-18T21:34:48.806Z","metadata":{}},{"id":"po_5cf728917e63456d9eb7f16243284a25","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_0993e9b0d5ad4f509101141c0cdb3a7d","customer":"cus_5c5fd3d3e2704d639ab464ef7d516b54","batch":null,"externalId":null,"amount":"100.00","fee":"3.00","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usd","rail":"ach","state":"create_failed","receiptAmount":null,"txHash":null,"toAddress":null,"chainStatus":"none","railReference":null,"delivered":false,"paidToBank":false,"approval":"none","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"bank","fallback":"wallet","fallbackOf":null,"fallbackPayout":"po_127dfa99e0df48cdaa6fcdb3a83d2e56","fallbackProblem":null,"requestedAt":"2026-11-18T21:34:48.787Z","sentAt":null,"paidAt":null,"businessDaysToPaid":null,"late":false,"problem":"deactivated_external_account","livemode":false,"createdAt":"2026-11-18T21:34:48.787Z","updatedAt":"2026-11-18T21:34:48.803Z","metadata":{}}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payouts/dry_run":{"post":{"operationId":"postPayoutsDryRun","tags":["Payouts"],"summary":"Check a payout without making it","description":"The body of POST /v1/payouts, run through every check the real call makes: key and scope, restrictions, asset policy, recipient, amount and fee, payout controls and limits, the wallet's spendable balance, and the Travel Rule data (opened, checked, and the provider's transfer body built). Nothing is written to the ledger and nothing is sent to the provider. A refusal is the one POST /v1/payouts would give, with the same code. 200 answers what the payout would be: the fee breakdown, netAmount (what leaves for the recipient after SET's fee) and, for a bank payout in another currency, fx: the provider's indicative rate now, rateLocked: false (the rate is set when the payout is sent). Covers the wallets the provider holds for your customers (POST /v1/wallets), paying bank and wallet recipients; a self-custody wallet or a Payable Email recipient answers 400 dry_run_not_supported. An Idempotency-Key is read as on every POST and changes nothing.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string"},"recipient":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"destinationAmount":{"type":"string"},"reference":{"type":"string"},"externalId":{"type":"string"},"platformFeeBps":{"type":"integer"},"fallback":{"type":"string","enum":["none","wallet"]},"maxRateDriftBps":{"type":"integer"},"approval":{"type":"string","enum":["required"]},"scheduleAt":{"type":"string","format":"date-time"}},"required":["wallet","recipient"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","const":"payout_dry_run"},"wouldCreate":{"type":"boolean","description":"true: POST /v1/payouts with this body would be accepted now."},"state":{"type":"string","description":"The state the payout would start in.","enum":["queued","pending_approval","scheduled"]},"wallet":{"type":"string"},"recipient":{"type":"string"},"customer":{"type":"string"},"externalId":{"type":["string","null"]},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"currency":{"type":"string","const":"usdc"},"payoutCurrency":{"type":"string"},"rail":{"type":"string"},"destinationAmount":{"type":["string","null"]},"fee":{"type":"string","description":"SET's fee, the platform's share included, less any fee credit."},"fees":{"type":"object","properties":{"setFeeBps":{"type":"integer"},"platformFeeBps":{"type":"integer"},"platformFee":{"type":["string","null"]},"feeCredit":{"type":["string","null"]},"total":{"type":"string"}},"additionalProperties":true},"netAmount":{"type":"string","description":"amount less fee: what leaves for the recipient, in USD."},"fx":{"anyOf":[{"type":"object","properties":{"from":{"type":"string"},"to":{"type":"string"},"rate":{"type":"string","description":"The provider's sell rate now: destination currency per USD, its fee included."},"estimatedDestinationAmount":{"type":"string"},"rateLocked":{"type":"boolean"},"readAt":{"type":"string","format":"date-time"}},"additionalProperties":true},{"type":"null"}]},"rateLocked":{"type":"boolean","description":"Always false: a dry run locks no rate."},"maxRateDriftBps":{"type":["integer","null"]},"travelRule":{"type":"object","properties":{"originator":{"type":"string","const":"complete"},"beneficiary":{"type":"string","const":"complete"},"beneficiaryFields":{"type":"array","items":{"type":"string","description":"A field name the beneficiary carries; never its value."}}},"additionalProperties":true},"approval":{"type":"string"},"scheduledAt":{"type":["string","null"]},"balance":{"type":"object","properties":{"sufficient":{"type":"boolean"}},"additionalProperties":true},"checkedAt":{"type":"string","format":"date-time"},"livemode":{"type":"boolean"},"sandbox":{"type":"boolean"}},"required":["object","wouldCreate","amount","fee","netAmount","rateLocked","travelRule"],"additionalProperties":true},"example":{"object":"payout_dry_run","wouldCreate":true,"state":"queued","wallet":"bw_sim_0002","recipient":"rcp_ab8239d2c690444c830c6b07cc129e43","customer":"cus_7673d621baf04adca2496e3b70127f9d","externalId":null,"amount":"20.00","currency":"usdc","payoutCurrency":"usdc","rail":"base","destinationAmount":null,"fee":"0.20","fees":{"setFeeBps":100,"platformFeeBps":0,"platformFee":null,"feeCredit":null,"total":"0.20"},"netAmount":"19.80","fx":null,"rateLocked":false,"maxRateDriftBps":null,"travelRule":{"originator":"complete","beneficiary":"complete","beneficiaryFields":["address","is_self","legal_entity_identifier","name"]},"approval":"none","scheduledAt":null,"balance":{"sufficient":true},"checkedAt":"2026-11-20T19:07:32.206Z","livemode":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payouts/{payout}/proof_of_payment":{"get":{"operationId":"getPayoutsByPayoutProofOfPayment","tags":["Payouts"],"summary":"Proof of payment","description":"What proves the payout was paid, read from the ledger: status and paid, amount, paidAt, destinationTxHash (a payout to a wallet), railReference (the bank rail's own reference: ACH trace number, Fedwire IMAD, tracking number or FedNow end-to-end id) and providerRef (the provider's transfer id). No name, address or bank number. When SET signs records, the answer carries SET-Signature-Ed25519 over the raw body, verified as a webhook is (sdk/webhooks verifySetEd25519Signature, key at /.well-known/set-signing-keys.json). Another business's payout, or one of the other mode, is 404 payout_unknown.","x-scope":"read","parameters":[{"name":"payout","in":"path","required":true,"schema":{"type":"string","pattern":"^po_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","const":"proof_of_payment"},"id":{"type":"string"},"payout":{"type":"string"},"status":{"type":"string"},"paid":{"type":"boolean","description":"A bank payout: the provider reported payment_processed. A payout to a wallet: delivered, the chain confirmed it (live)."},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"currency":{"type":"string","const":"usdc"},"payoutCurrency":{"type":"string"},"receiptAmount":{"type":["string","null"]},"fee":{"type":"string"},"rail":{"type":"string"},"leg":{"type":"string","enum":["bank","wallet"]},"paidAt":{"type":["string","null"]},"sentAt":{"type":["string","null"]},"destinationTxHash":{"type":["string","null"]},"chainStatus":{"type":"string"},"railReference":{"$ref":"#/components/schemas/RailReference"},"providerRef":{"type":["string","null"]},"wallet":{"type":"string"},"recipient":{"type":"string"},"customer":{"type":"string"},"externalId":{"type":["string","null"]},"issuedAt":{"type":"string","format":"date-time"},"livemode":{"type":"boolean"},"sandbox":{"type":"boolean"}},"required":["object","id","status","paid","amount","currency"],"additionalProperties":true},"example":{"object":"proof_of_payment","id":"po_31957666374c431892ec0c5cb7bc6201","payout":"po_31957666374c431892ec0c5cb7bc6201","status":"payment_submitted","paid":false,"amount":"20.00","currency":"usdc","payoutCurrency":"usdc","receiptAmount":null,"fee":"0.20","rail":"base","leg":"wallet","paidAt":null,"sentAt":"2026-11-20T19:07:32.213Z","destinationTxHash":null,"chainStatus":"none","railReference":null,"providerRef":"tr_sim_0004","wallet":"bw_sim_0002","recipient":"rcp_ab8239d2c690444c830c6b07cc129e43","customer":"cus_7673d621baf04adca2496e3b70127f9d","externalId":null,"issuedAt":"2026-11-20T19:07:32.216Z","livemode":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payouts/{payout}":{"get":{"operationId":"getPayoutsByPayout","tags":["Payouts"],"summary":"A payout","x-scope":"read","parameters":[{"name":"payout","in":"path","required":true,"schema":{"type":"string","pattern":"^po_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"},"example":{"id":"po_1a7ba6a8baee4cd38051f34a24ec5def","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_5adcebf7511a4a628d79158fc6b261db","customer":"cus_4fa3396429984075a94bc5309503d11f","batch":null,"externalId":"rehearsal-test1-bank","amount":"10.00","fee":"0.10","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usd","rail":"ach","state":"payment_processed","receiptAmount":"9.90","txHash":null,"toAddress":null,"chainStatus":"none","railReference":{"rail":"ach","traceNumber":"215975874768711","imad":null,"trackingNumber":null,"endToEndId":null,"simulated":true},"delivered":false,"paidToBank":true,"approval":"approved","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"bank","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:32:55.922Z","sentAt":"2026-11-18T21:32:56.438Z","paidAt":"2026-11-18T21:32:56.492Z","businessDaysToPaid":0,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:32:55.882Z","updatedAt":"2026-11-18T21:32:56.492Z","sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payouts/{payout}/fund":{"post":{"operationId":"postPayoutsByPayoutFund","tags":["Payouts"],"summary":"Top up an underfunded payout","description":"From the payout's own wallet, on the issuer's key. amount defaults to underfundedBy and may be more; what the conversion does not need comes back as fee credit. Once per shortfall: payout.funding_sent.","x-scope":"write","parameters":[{"name":"payout","in":"path","required":true,"schema":{"type":"string","pattern":"^po_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"}},"additionalProperties":true}}}},"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"},"example":{"id":"po_bc58b9c0a33d445eb34b5fcfa77cac2c","object":"payout","wallet":"bw_sim_0024","recipient":"rcp_6780057797464d088c27c4b25f05eed5","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","batch":null,"externalId":null,"amount":"958.54","fee":"9.39","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"eur","rail":"sepa","state":"underfunded","receiptAmount":null,"txHash":null,"toAddress":null,"chainStatus":"none","railReference":null,"delivered":false,"paidToBank":false,"approval":"none","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":"850.00","underfundedBy":null,"fxExcess":{"owed":null,"state":null},"feeCredit":null,"leg":"bank","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T13:42:45.983Z","sentAt":"2026-11-18T13:42:45.985Z","paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T13:42:45.983Z","updatedAt":"2026-11-18T13:42:45.999Z","funding":{"id":"pof_5e30c3b5d28e42388a49dee85c5fbb2e","amount":"10.00","transfer":"tr_sim_0028"},"sandbox":true,"metadata":{}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payout_batches":{"post":{"operationId":"postPayoutBatches","tags":["Payouts"],"summary":"Prefunded payouts: up to 100 from one wallet","description":"Up to 100 items from one custodial or self-custody wallet (swl_…). From a self-custody wallet, each item pays a wallet recipient on the same network or a bank recipient through that recipient's active Cash-Out Address on the wallet's network (409 cash_out_address_missing if none is open; 403 destination_refused when screening refuses the destination), returning one payment per item to sign.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string"},"externalId":{"type":"string"},"items":{"type":"array","items":{"type":"object","properties":{"recipient":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"externalId":{"type":"string"},"platformFeeBps":{"type":"integer"},"maxRateDriftBps":{"type":"integer","description":"Per item, as on POST /v1/payouts: bank payouts in EUR, GBP, MXN, BRL or COP. SET keeps the provider's buy rate when the batch is created and holds the item for review (hit rate_drift) if it has moved further than this before the item is sent, or cannot be read."},"fallback":{"type":"string","description":"\"wallet\": if the provider refuses the bank side or the bank returns the payout, SET pays the same amount in USDC to the recipient's destination.fallbackWallet, once, and sends payout.rerouted. Bank recipients with a fallbackWallet only. Default \"none\".","enum":["none","wallet"]}},"additionalProperties":true}}},"required":["wallet","items"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutBatch"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutBatch"},"example":{"id":"pob_8a8a5664362c45bab96114a945e4c695","object":"payout_batch","wallet":"bw_sim_0002","externalId":"run-1","itemCount":3,"total":"60.00","state":"submitted","counts":{"payment_submitted":3},"items":[{"id":"po_284ce31c086c4cd7b5c781e0c5ff27b7","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_f94812f18b594e869ff61af4e3654c07","customer":"cus_8b54dc8089304cc989737363a0a5eb8e","batch":"pob_8a8a5664362c45bab96114a945e4c695","externalId":"run-1-0","amount":"10.00","fee":"0.10","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usdc","rail":"base","state":"payment_submitted","receiptAmount":null,"txHash":null,"toAddress":"0x1111111111111111111111111111111111111111","chainStatus":"none","railReference":null,"delivered":false,"paidToBank":false,"approval":"none","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"wallet","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:26:23.172Z","sentAt":"2026-11-18T21:26:23.176Z","paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:26:23.172Z","updatedAt":"2026-11-18T21:26:23.176Z","metadata":{}},{"id":"po_3d73c9496bae480dbff10111a14e5b32","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_2a6dd65013dc43eda61a86c3e6628322","customer":"cus_8b54dc8089304cc989737363a0a5eb8e","batch":"pob_8a8a5664362c45bab96114a945e4c695","externalId":"run-1-1","amount":"20.00","fee":"0.20","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usdc","rail":"base","state":"payment_submitted","receiptAmount":null,"txHash":null,"toAddress":"0x3333333333333333333333333333333333333333","chainStatus":"none","railReference":null,"delivered":false,"paidToBank":false,"approval":"none","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"wallet","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:26:23.172Z","sentAt":"2026-11-18T21:26:23.181Z","paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:26:23.172Z","updatedAt":"2026-11-18T21:26:23.181Z","metadata":{}}],"livemode":false,"createdAt":"2026-11-18T21:26:23.172Z","updatedAt":"2026-11-18T21:26:23.186Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payout_batches/{batch}":{"get":{"operationId":"getPayoutBatchesByBatch","tags":["Payouts"],"summary":"A batch, its items and counts","x-scope":"read","parameters":[{"name":"batch","in":"path","required":true,"schema":{"type":"string","pattern":"^pob_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutBatch"},"example":{"id":"pob_8a8a5664362c45bab96114a945e4c695","object":"payout_batch","wallet":"bw_sim_0002","externalId":"run-1","itemCount":3,"total":"60.00","state":"completed","counts":{"payment_processed":3},"items":[{"id":"po_284ce31c086c4cd7b5c781e0c5ff27b7","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_f94812f18b594e869ff61af4e3654c07","customer":"cus_8b54dc8089304cc989737363a0a5eb8e","batch":"pob_8a8a5664362c45bab96114a945e4c695","externalId":"run-1-0","amount":"10.00","fee":"0.10","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usdc","rail":"base","state":"payment_processed","receiptAmount":"9.90","txHash":null,"toAddress":"0x1111111111111111111111111111111111111111","chainStatus":"sandbox_not_applicable","railReference":null,"delivered":false,"paidToBank":false,"approval":"none","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"wallet","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:26:23.172Z","sentAt":"2026-11-18T21:26:23.176Z","paidAt":"2026-11-18T21:26:23.248Z","businessDaysToPaid":0,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:26:23.172Z","updatedAt":"2026-11-18T21:26:23.248Z","metadata":{}},{"id":"po_3d73c9496bae480dbff10111a14e5b32","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_2a6dd65013dc43eda61a86c3e6628322","customer":"cus_8b54dc8089304cc989737363a0a5eb8e","batch":"pob_8a8a5664362c45bab96114a945e4c695","externalId":"run-1-1","amount":"20.00","fee":"0.20","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usdc","rail":"base","state":"payment_processed","receiptAmount":"19.80","txHash":null,"toAddress":"0x3333333333333333333333333333333333333333","chainStatus":"sandbox_not_applicable","railReference":null,"delivered":false,"paidToBank":false,"approval":"none","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"wallet","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:26:23.172Z","sentAt":"2026-11-18T21:26:23.181Z","paidAt":"2026-11-18T21:26:23.259Z","businessDaysToPaid":0,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:26:23.172Z","updatedAt":"2026-11-18T21:26:23.259Z","metadata":{}}],"livemode":false,"createdAt":"2026-11-18T21:26:23.172Z","updatedAt":"2026-11-18T21:26:23.278Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/transfers":{"post":{"operationId":"postTransfers","tags":["Transfers"],"summary":"A one-off transfer: a wire in to USDC, or a wallet to SWIFT","description":"wire_to_usdc answers with the provider's deposit instructions, including the deposit message the wire must carry.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["wire_to_usdc","wallet_to_swift"]},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"customer":{"type":"string","description":"wire_to_usdc: the customer the wire is for."},"to":{"type":"object","properties":{"wallet":{"type":"string","description":"The customer's wallet held in custody by the provider."},"asset":{"type":"string","enum":["usdc-base","usdc-ethereum","usdc-solana"]},"address":{"type":"string"},"beneficiary":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"wallet":{"type":"string","description":"wallet_to_swift: the wallet, held in custody by the provider, paid from."},"bankAccount":{"type":"string","description":"The customer's own USD bank account."},"recipient":{"type":"string","description":"A USD bank recipient."},"swiftReference":{"type":"string","description":"Up to 4 lines of 35: a-z A-Z 0-9 / - ? : ( ) . , ' + and space."},"chargeBearer":{"type":"string","enum":["sha","our","ben"]},"externalId":{"type":"string"},"platformFeeBps":{"type":"integer"}},"required":["kind","amount"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Transfer"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Transfer"},"example":{"id":"tr_1450bba8212340968394da92c5c7ac89","object":"transfer","kind":"wire_to_usdc","customer":"cus_a1f90f69cf4346eeac4ee8cd91989ffe","externalId":"invoice-114","amount":"2500.00","currency":"usd","fee":"25.00","platformFeeBps":0,"source":{"kind":"wire","currency":"usd"},"destination":{"kind":"wallet","currency":"usdc","chain":"base","address":"0xeb024946854ac426d0dc7c0567226b409f6b6aa5","screening":"not_screened","wallet":"bw_sim_0002"},"state":"awaiting_funds","receiptAmount":null,"txHash":null,"problem":null,"depositInstructions":{"payment_rail":"wire","currency":"usd","amount":"2500.00","deposit_message":"BRG1SIM","bank_name":"Simulated Bank","bank_routing_number":"101019644","bank_account_number":"900000001"},"livemode":false,"createdAt":"2026-11-18T21:26:21.226Z","updatedAt":"2026-11-18T21:26:21.227Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getTransfers","tags":["Transfers"],"summary":"List transfers","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"kind","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Transfer"}}}}]},"example":{"object":"list","data":[{"id":"tr_a38565ed630c421daaf0ebab1efae354","object":"transfer","kind":"wire_to_usdc","customer":"cus_a1f90f69cf4346eeac4ee8cd91989ffe","externalId":null,"amount":"100.00","currency":"usd","fee":"1.00","platformFeeBps":0,"source":{"kind":"wire","currency":"usd"},"destination":{"kind":"address","currency":"usdc","chain":"base","address":"0x2222222222222222222222222222222222222222","screening":"not_screened"},"state":"awaiting_funds","receiptAmount":null,"txHash":null,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:26:21.252Z","updatedAt":"2026-11-18T21:26:21.253Z"},{"id":"tr_1450bba8212340968394da92c5c7ac89","object":"transfer","kind":"wire_to_usdc","customer":"cus_a1f90f69cf4346eeac4ee8cd91989ffe","externalId":"invoice-114","amount":"2500.00","currency":"usd","fee":"25.00","platformFeeBps":0,"source":{"kind":"wire","currency":"usd"},"destination":{"kind":"wallet","currency":"usdc","chain":"base","address":"0xeb024946854ac426d0dc7c0567226b409f6b6aa5","screening":"not_screened","wallet":"bw_sim_0002"},"state":"payment_processed","receiptAmount":"2475.00","txHash":"0xabababababababababababababababababababababababababababababababab","problem":null,"livemode":false,"createdAt":"2026-11-18T21:26:21.226Z","updatedAt":"2026-11-18T21:26:21.238Z"}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/transfers/{transfer}":{"get":{"operationId":"getTransfersByTransfer","tags":["Transfers"],"summary":"A transfer, re-read from the provider","x-scope":"read","parameters":[{"name":"transfer","in":"path","required":true,"schema":{"type":"string","pattern":"^tr_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Transfer"},"example":{"id":"tr_1450bba8212340968394da92c5c7ac89","object":"transfer","kind":"wire_to_usdc","customer":"cus_a1f90f69cf4346eeac4ee8cd91989ffe","externalId":"invoice-114","amount":"2500.00","currency":"usd","fee":"25.00","platformFeeBps":0,"source":{"kind":"wire","currency":"usd"},"destination":{"kind":"wallet","currency":"usdc","chain":"base","address":"0xeb024946854ac426d0dc7c0567226b409f6b6aa5","screening":"not_screened","wallet":"bw_sim_0002"},"state":"awaiting_funds","receiptAmount":null,"txHash":null,"problem":null,"depositInstructions":{"payment_rail":"wire","currency":"usd","amount":"2500.00","deposit_message":"BRG1SIM","bank_name":"Simulated Bank","bank_routing_number":"101019644","bank_account_number":"900000001"},"livemode":false,"createdAt":"2026-11-18T21:26:21.226Z","updatedAt":"2026-11-18T21:26:21.227Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/transfers/{transfer}/execute":{"post":{"operationId":"postTransfersByTransferExecute","tags":["Transfers"],"summary":"Execute a pending USDT trade at the market rate (deprecated)","description":"Deprecated: USDT and Tron were retired on 2026-11-18 (owner, \"Remove USDT.\"; GET /v1/capabilities retiredAssets). Kept only for a USDT payment already waiting at the provider; nothing new creates one. There is no USDT switch and no 503 usdt_disabled answer: 409 transfer_not_executable for a transfer with no pending trade; 400 asset_not_permitted once SET's cutoff for stablecoins not recorded as permitted has passed (GET /v1/capabilities assetPolicy), whenever the transfer was made. The provider refuses a transfer with no pending trade.","deprecated":true,"x-scope":"write","parameters":[{"name":"transfer","in":"path","required":true,"schema":{"type":"string","pattern":"^tr_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Transfer"},"example":{"id":"tr_cc7f4d7e2fb24a8b8347dfacca8df213","object":"transfer","kind":"wallet_to_swift","customer":"cus_952214b534da42d99a53360bf0abea60","externalId":null,"amount":"900.00","currency":"usd","fee":"9.00","platformFeeBps":0,"source":{"kind":"wallet","wallet":"bw_sim_0002"},"destination":{"kind":"swift","currency":"usd","bankAccount":"ea_sim_0003"},"state":"payment_submitted","receiptAmount":null,"txHash":null,"problem":null,"requestedAt":"2026-11-18T21:26:23.593Z","sentAt":"2026-11-18T21:26:23.593Z","paidAt":null,"businessDaysToPaid":null,"late":false,"livemode":false,"createdAt":"2026-11-18T21:26:23.593Z","updatedAt":"2026-11-18T21:26:23.593Z","executed":true,"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Transfer"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/funds_requests":{"get":{"operationId":"getFundsRequests","tags":["Transfers"],"summary":"Funds requests banks raised against a customer's deposits","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"startingAfter","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"deposit":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"paymentRail":{"type":"string"},"fraud":{"type":"boolean"},"noticeDate":{"type":"string"},"imad":{"type":"string"},"traceNumber":{"description":"null in the example; holds a value when set."},"bankTransactionId":{"description":"null in the example; holds a value when set."},"createdAt":{"type":"string","format":"date-time"},"depositCreatedAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","customer":"cus_952214b534da42d99a53360bf0abea60","data":[{"id":"fr_sim_0001","object":"funds_request","deposit":"dep_sim_0001","amount":"500.00","currency":"usd","paymentRail":"wire","fraud":false,"noticeDate":"2026-11-05","imad":"20261105MMQFMP2K000001","traceNumber":null,"bankTransactionId":null,"createdAt":"2026-11-05T10:00:00Z","depositCreatedAt":null}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payable_emails":{"post":{"operationId":"postPayableEmails","tags":["Payable Email"],"summary":"Where to pay this email (both account types)","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"email":{"type":"string"},"chain":{"type":"string","description":"base or ethereum always. arbitrum, optimism and polygon (where a payment into a wallet SET created may be claimed) only while GET /v1/capabilities features.expandedRoutes is available; otherwise 400 chain_invalid.","enum":["base","ethereum","arbitrum","optimism","polygon"]}},"required":["email"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"},"asset":{"type":"string"},"destination":{"type":"string"},"setFee":{"type":"object","properties":{"bps":{"type":"integer"},"address":{"type":"string"},"amountUsdc":{"description":"null in the example; holds a value when set."},"note":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"},"asset":{"type":"string"},"destination":{"type":"string"},"setFee":{"type":"object","properties":{"bps":{"type":"integer"},"address":{"type":"string"},"amountUsdc":{"description":"null in the example; holds a value when set."},"note":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"payable_email","payeeId":"pye_iwMR9hI47xx_IaTjIeT35m_F","status":"claimable","chain":"base","address":"0x9999999999999999999999999999999999999999","asset":"USDC","destination":"wallet","setFee":{"bps":75,"address":"0x0b0Dd340DFD8CbaBac3fb53bB3BBd4017582D745","amountUsdc":null,"note":"Add SET's fee (0.75% of the payment) as one more USDC transfer to 0x0b0Dd340DFD8CbaBac3fb53bB3BBd4017582D745, from the wallet that pays, in the same transaction or alone in a later one (report it with feeTxHash). The payee receives the full amount. SET records the payment only once the fee has reached SET."},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payable_emails/{payee}":{"get":{"operationId":"getPayableEmailsByPayee","tags":["Payable Email"],"summary":"The payee's status now (both account types); a direct payee who chose their wallet answers destination wallet","x-scope":"read","parameters":[{"name":"payee","in":"path","required":true,"schema":{"type":"string","pattern":"^pye_[A-Za-z0-9_-]{16,40}$"}},{"name":"chain","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"},"asset":{"type":"string"},"destination":{"type":"string"},"setFee":{"type":"object","properties":{"bps":{"type":"integer"},"address":{"type":"string"},"amountUsdc":{"description":"null in the example; holds a value when set."},"note":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"payable_email","payeeId":"pye_8vk-pxGtGJwb5URzjkS-Z3Ks","status":"claimable","chain":"base","address":"0x9999999999999999999999999999999999999999","asset":"USDC","destination":"wallet","setFee":{"bps":75,"address":"0x0b0Dd340DFD8CbaBac3fb53bB3BBd4017582D745","amountUsdc":null,"note":"Add SET's fee (0.75% of the payment) as one more USDC transfer to 0x0b0Dd340DFD8CbaBac3fb53bB3BBd4017582D745, from the wallet that pays, in the same transaction or alone in a later one (report it with feeTxHash). The payee receives the full amount. SET records the payment only once the fee has reached SET."},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payable_emails/payments":{"post":{"operationId":"postPayableEmailsPayments","tags":["Payable Email"],"summary":"Report a payment you sent on chain from a registered sender wallet (a platform account); a payment into a wallet SET created needs SET's 0.75% fee beside it (or later, feeTxHash), else 409 set_fee_missing","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"payeeId":{"type":"string"},"chain":{"type":"string"},"txHash":{"type":"string"},"feeTxHash":{"type":"string"}},"required":["payeeId","txHash"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"payment":{"type":"object","properties":{"paymentId":{"type":"string"},"payeeId":{"type":"string"},"chain":{"type":"string"},"amountUsdc":{"type":"string"},"txHash":{"type":"string"},"state":{"type":"string"},"reference":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"payment":{"type":"object","properties":{"paymentId":{"type":"string"},"payeeId":{"type":"string"},"chain":{"type":"string"},"amountUsdc":{"type":"string"},"txHash":{"type":"string"},"state":{"type":"string"},"reference":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"additionalProperties":true},"example":{"payment":{"paymentId":"pay_3ffa14db-09dd-48d0-bd4f-31a2d9a1d36a","payeeId":"pye_UG8RG-VZ4PVGDERAquZSMBaX","chain":"base","amountUsdc":"40.00","txHash":"0x8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d8d","state":"in_wallet","reference":null,"sandbox":true,"createdAt":"2026-11-18T21:33:44.807Z","updatedAt":"2026-11-18T21:33:44.807Z"}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/senders":{"get":{"operationId":"getSenders","tags":["Payable Email"],"summary":"The wallets you pay from that SET credits to you (a platform account; a business account once SET switches business senders on)","description":"Newest first; pages with limit and createdBefore (nextCreatedBefore). 503 direct_deposit_disabled while SET Direct Deposit (sender wallets are its register) is switched off for this deployment.","x-scope":"read","x-set-account-type":"platform","x-set-switches":[{"error":"direct_deposit_disabled","status":503,"capability":null}],"parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"},"source":{"type":"string"},"proof":{"type":"string"},"label":{"type":"string"},"screening":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"object":"sender","chain":"solana","address":"DLEmFuWV6GXaBKE2KusUsKfcGNEA3x96oUQBSiU62LfQ","source":"signature","proof":"ed25519","label":"Solana payouts","screening":"not_screened","createdAt":"2026-11-18T13:42:45.821Z"},{"object":"sender","chain":"base","address":"0xdd839f7ffd4769bf8093b7534735941e989192d6","source":"signature","proof":"eoa","label":"Treasury hot wallet","screening":"not_screened","createdAt":"2026-11-18T13:42:45.817Z"}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"post":{"operationId":"postSenders","tags":["Payable Email"],"summary":"Register a wallet you pay from, with its signature (personal_sign, EIP-1271 or Solana signMessage)","description":"201 with the sender; a wallet already registered answers 200 (registered: false). While GET /v1/capabilities features.expandedRoutes is available, one EOA signature on an EVM chain also registers the wallet on every other EVM chain SET reads senders on. 503 direct_deposit_disabled while SET Direct Deposit (sender wallets are its register) is switched off for this deployment.","x-scope":"write","x-set-account-type":"platform","x-set-switches":[{"error":"direct_deposit_disabled","status":503,"capability":null}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","description":"base, ethereum or solana; arbitrum, avalanche_c_chain, celo, optimism or polygon while GET /v1/capabilities features.expandedRoutes is available (otherwise 400 chain_invalid).","enum":["base","ethereum","solana","arbitrum","avalanche_c_chain","celo","optimism","polygon"]},"address":{"type":"string"},"issuedAt":{"type":"string","description":"The issuedAt GET /v1/senders/message answered."},"signature":{"type":"string"},"label":{"type":"string"}},"required":["chain","address","issuedAt","signature"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"},"source":{"type":"string"},"proof":{"type":"string"},"label":{"type":"string"},"screening":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"registered":{"type":"boolean"},"lateAttribution":{"type":"object","properties":{"credited":{"type":"integer"},"queued":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"},"source":{"type":"string"},"proof":{"type":"string"},"label":{"type":"string"},"screening":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"registered":{"type":"boolean"},"lateAttribution":{"type":"object","properties":{"credited":{"type":"integer"},"queued":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true},"example":{"object":"sender","chain":"base","address":"0xdd839f7ffd4769bf8093b7534735941e989192d6","source":"signature","proof":"eoa","label":"Treasury hot wallet","screening":"not_screened","createdAt":"2026-11-18T13:42:45.817Z","registered":true,"lateAttribution":{"credited":0,"queued":0}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/senders/message":{"get":{"operationId":"getSendersMessage","tags":["Payable Email"],"summary":"The text a wallet signs to prove it is yours","description":"chain and address are both required (400 chain_invalid, 400 address_invalid). 503 direct_deposit_disabled while SET Direct Deposit (sender wallets are its register) is switched off for this deployment.","x-scope":"read","x-set-account-type":"platform","x-set-switches":[{"error":"direct_deposit_disabled","status":503,"capability":null}],"parameters":[{"name":"chain","in":"query","required":true,"schema":{"type":"string"}},{"name":"address","in":"query","required":true,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"issuedAt":{"type":"string","format":"date-time"},"message":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"signWith":{"type":"string"}},"additionalProperties":true},"example":{"chain":"base","address":"0xdd839f7ffd4769bf8093b7534735941e989192d6","issuedAt":"2026-11-18T13:42:45.790Z","message":"SET Direct Deposit: register a sender wallet\n\nI control this wallet and pay SET Direct Deposit payouts from it as the business below.\nPartner: ptr_sandbox_platform\nWallet: 0xdd839f7ffd4769bf8093b7534735941e989192d6\nNetwork: base\nMode: test\nIssued at: 2026-11-18T13:42:45.790Z","expiresAt":"2026-11-18T14:42:45.790Z","signWith":"personal_sign (EIP-191) from the wallet; EIP-1271 for a contract wallet such as a Safe; or, for a contract that cannot sign (an escrow or stream contract), personal_sign from its owner (the address its owner() returns)"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/senders/{chain}/{address}":{"delete":{"operationId":"deleteSendersByChainByAddress","tags":["Payable Email"],"summary":"Remove a sender wallet","description":"Payouts already credited stay credited. 503 direct_deposit_disabled while SET Direct Deposit (sender wallets are its register) is switched off for this deployment.","x-scope":"write","x-set-account-type":"platform","x-set-switches":[{"error":"direct_deposit_disabled","status":503,"capability":null}],"parameters":[{"name":"chain","in":"path","required":true,"description":"The sender's chain: base, ethereum or solana.","schema":{"type":"string","enum":["base","ethereum","solana"]}},{"name":"address","in":"path","required":true,"description":"The sender's address: 0x and 40 hex characters, or a base58 Solana address.","schema":{"type":"string","pattern":"^(0x[0-9a-fA-F]{40}|[1-9A-HJ-NP-Za-km-z]{32,44})$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The sender as removed ({object: \"sender\", chain, address, removed: true}). A repeat answers 404 sender_unknown and changes nothing.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"},"removed":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"sender","chain":"base","address":"0xdd839f7ffd4769bf8093b7534735941e989192d6","removed":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payable_emails/batch":{"post":{"operationId":"postPayableEmailsBatch","tags":["Payable Email"],"summary":"Resolve up to 20 emails as one batch, to pay with one multisend (both account types)","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","description":"base or ethereum always. arbitrum, optimism and polygon (where a payment into a wallet SET created may be claimed) only while GET /v1/capabilities features.expandedRoutes is available; otherwise 400 chain_invalid.","enum":["base","ethereum","arbitrum","optimism","polygon"]},"items":{"type":"array","maxItems":20,"items":{"type":"object","properties":{"email":{"type":"string"},"amount":{"type":"string"},"reference":{"type":"string"}},"required":["email"],"additionalProperties":true}}},"required":["items"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"chain":{"type":"string"},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"summary":{"type":"object","properties":{"items":{"type":"integer"},"direct":{"type":"integer"},"claimable":{"type":"integer"},"notPayableYet":{"type":"integer"},"belowMinimum":{"type":"integer"},"errors":{"type":"integer"}},"additionalProperties":true},"items":{"type":"array","items":{"type":"object","properties":{"position":{"type":"integer"},"reference":{"type":"string"},"amount":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"address":{"type":"string"},"destination":{"type":"string"},"error":{"description":"null in the example; holds a value when set."},"payments":{"type":"array"}},"additionalProperties":true}},"payTo":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"amountUsdc":{"type":"string"},"reference":{"type":"string"},"destination":{"type":"string"}},"additionalProperties":true}},"note":{"type":"string"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"chain":{"type":"string"},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"summary":{"type":"object","properties":{"items":{"type":"integer"},"direct":{"type":"integer"},"claimable":{"type":"integer"},"notPayableYet":{"type":"integer"},"belowMinimum":{"type":"integer"},"errors":{"type":"integer"}},"additionalProperties":true},"items":{"type":"array","items":{"type":"object","properties":{"position":{"type":"integer"},"reference":{"type":"string"},"amount":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"address":{"type":"string"},"destination":{"type":"string"},"error":{"description":"null in the example; holds a value when set."},"payments":{"type":"array"}},"additionalProperties":true}},"payTo":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"amountUsdc":{"type":"string"},"reference":{"type":"string"},"destination":{"type":"string"}},"additionalProperties":true}},"note":{"type":"string"}},"additionalProperties":true},"example":{"object":"payable_batch","id":"pbt_aa8a188f874f4186b23f69b8fb232cd1","chain":"base","sandbox":true,"createdAt":"2026-11-18T21:31:13.527Z","summary":{"items":2,"direct":0,"claimable":2,"notPayableYet":0,"belowMinimum":0,"errors":0},"items":[{"position":0,"reference":"same-1","amount":"12.00","payeeId":"pye_FBxHRlrBkch2oM-LuLLolIdG","status":"claimable","address":"0x8888888888888888888888888888888888888881","destination":"wallet","error":null,"payments":[]},{"position":1,"reference":"same-2","amount":"8.50","payeeId":"pye_hnWkdyoXJxkkkOV4FxKN3WkW","status":"claimable","address":"0x8888888888888888888888888888888888888882","destination":"wallet","error":null,"payments":[]}],"payTo":[{"address":"0x8888888888888888888888888888888888888881","amountUsdc":"12.00","reference":"same-1","destination":"wallet"},{"address":"0x8888888888888888888888888888888888888882","amountUsdc":"8.50","reference":"same-2","destination":"wallet"}],"note":"Pay only the addresses above, from a wallet you registered, in one transaction: the last line, where there is one, is SET's fee on the payments into wallets. Payments to `claimable` wallets are reported with POST /api/partner/payments/batch and recorded only once SET's fee has reached SET, in the same transaction or alone in a later one (feeTxHash); payments to `direct` Cash-Out Addresses are tracked from the chain."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payable_emails/batch/{batch}":{"get":{"operationId":"getPayableEmailsBatchByBatch","tags":["Payable Email"],"summary":"A batch with every item's status; format=csv or format=safe for the multisend list","x-scope":"read","parameters":[{"name":"batch","in":"path","required":true,"schema":{"type":"string","pattern":"^pbt_[0-9a-f]{32}$"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"chain":{"type":"string"},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"summary":{"type":"object","properties":{"items":{"type":"integer"},"direct":{"type":"integer"},"claimable":{"type":"integer"},"notPayableYet":{"type":"integer"},"belowMinimum":{"type":"integer"},"errors":{"type":"integer"}},"additionalProperties":true},"items":{"type":"array","items":{"type":"object","properties":{"position":{"type":"integer"},"reference":{"type":"string"},"amount":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"address":{"type":"string"},"destination":{"type":"string"},"error":{"description":"null in the example; holds a value when set."},"payments":{"type":"array"}},"additionalProperties":true}},"payTo":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"amountUsdc":{"type":"string"},"reference":{"type":"string"},"destination":{"type":"string"}},"additionalProperties":true}},"note":{"type":"string"},"approval":{"type":"string"}},"additionalProperties":true},"example":{"object":"payable_batch","id":"pbt_aa8a188f874f4186b23f69b8fb232cd1","chain":"base","sandbox":true,"createdAt":"2026-11-18T21:31:13.527Z","summary":{"items":2,"direct":0,"claimable":2,"notPayableYet":0,"belowMinimum":0,"errors":0},"items":[{"position":0,"reference":"same-1","amount":"12.00","payeeId":"pye_FBxHRlrBkch2oM-LuLLolIdG","status":"claimable","address":"0x8888888888888888888888888888888888888881","destination":"wallet","error":null,"payments":[]},{"position":1,"reference":"same-2","amount":"8.50","payeeId":"pye_hnWkdyoXJxkkkOV4FxKN3WkW","status":"claimable","address":"0x8888888888888888888888888888888888888882","destination":"wallet","error":null,"payments":[]}],"payTo":[{"address":"0x8888888888888888888888888888888888888881","amountUsdc":"12.00","reference":"same-1","destination":"wallet"},{"address":"0x8888888888888888888888888888888888888882","amountUsdc":"8.50","reference":"same-2","destination":"wallet"}],"note":"Pay only the addresses above, from a wallet you registered, in one transaction: the last line, where there is one, is SET's fee on the payments into wallets. Payments to `claimable` wallets are reported with POST /api/partner/payments/batch and recorded only once SET's fee has reached SET, in the same transaction or alone in a later one (feeTxHash); payments to `direct` Cash-Out Addresses are tracked from the chain.","approval":"none"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payable_emails/batch/{batch}/items":{"post":{"operationId":"postPayableEmailsBatchByBatchItems","tags":["Payable Email"],"summary":"Add up to 20 more emails to a batch, up to 5,000 in all","x-scope":"write","parameters":[{"name":"batch","in":"path","required":true,"schema":{"type":"string","pattern":"^pbt_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"items":{"type":"array","maxItems":20,"items":{"type":"object","properties":{"email":{"type":"string"},"amount":{"type":"string"},"reference":{"type":"string"}},"required":["email"],"additionalProperties":true}}},"required":["items"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"chain":{"type":"string"},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"summary":{"type":"object","properties":{"items":{"type":"integer"},"direct":{"type":"integer"},"claimable":{"type":"integer"},"notPayableYet":{"type":"integer"},"belowMinimum":{"type":"integer"},"errors":{"type":"integer"}},"additionalProperties":true},"items":{"type":"array","items":{"type":"object","properties":{"position":{"type":"integer"},"reference":{"type":"string"},"amount":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"address":{"type":"string"},"destination":{"type":"string"},"error":{"description":"null in the example; holds a value when set."},"payments":{"type":"array"}},"additionalProperties":true}},"payTo":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"amountUsdc":{"type":"string"},"reference":{"type":"string"},"destination":{"type":"string"}},"additionalProperties":true}},"note":{"type":"string"}},"additionalProperties":true},"example":{"object":"payable_batch","id":"pbt_94b1a500a82c4ac3b8066f9dc7baa0a3","chain":"base","sandbox":true,"createdAt":"2026-11-18T21:31:14.806Z","summary":{"items":3,"direct":0,"claimable":3,"notPayableYet":0,"belowMinimum":0,"errors":0},"items":[{"position":0,"reference":"m-1","amount":"12.00","payeeId":"pye_7ZQAF_Tu_1RPGci0dY-r_ICo","status":"claimable","address":"0x8888888888888888888888888888888888888881","destination":"wallet","error":null,"payments":[]},{"position":1,"reference":"m-2","amount":"8.50","payeeId":"pye_lyI2ceF9sjOFp8bZcIG6RQXV","status":"claimable","address":"0x8888888888888888888888888888888888888882","destination":"wallet","error":null,"payments":[]}],"payTo":[{"address":"0x8888888888888888888888888888888888888881","amountUsdc":"12.00","reference":"m-1","destination":"wallet"},{"address":"0x8888888888888888888888888888888888888882","amountUsdc":"8.50","reference":"m-2","destination":"wallet"}],"note":"Pay only the addresses above, from a wallet you registered, in one transaction: the last line, where there is one, is SET's fee on the payments into wallets. Payments to `claimable` wallets are reported with POST /api/partner/payments/batch and recorded only once SET's fee has reached SET, in the same transaction or alone in a later one (feeTxHash); payments to `direct` Cash-Out Addresses are tracked from the chain."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"chain":{"type":"string"},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"summary":{"type":"object","properties":{"items":{"type":"integer"},"direct":{"type":"integer"},"claimable":{"type":"integer"},"notPayableYet":{"type":"integer"},"belowMinimum":{"type":"integer"},"errors":{"type":"integer"}},"additionalProperties":true},"items":{"type":"array","items":{"type":"object","properties":{"position":{"type":"integer"},"reference":{"type":"string"},"amount":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"address":{"type":"string"},"destination":{"type":"string"},"error":{"description":"null in the example; holds a value when set."},"payments":{"type":"array"}},"additionalProperties":true}},"payTo":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"amountUsdc":{"type":"string"},"reference":{"type":"string"},"destination":{"type":"string"}},"additionalProperties":true}},"note":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payable_emails/batch/{batch}/approve":{"post":{"operationId":"postPayableEmailsBatchByBatchApprove","tags":["Payable Email"],"summary":"Approve a batch someone else asked for, while batch approval is on (the approve scope)","x-scope":"read","parameters":[{"name":"batch","in":"path","required":true,"schema":{"type":"string","pattern":"^pbt_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"chain":{"type":"string"},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"summary":{"type":"object","properties":{"items":{"type":"integer"},"direct":{"type":"integer"},"claimable":{"type":"integer"},"notPayableYet":{"type":"integer"},"belowMinimum":{"type":"integer"},"errors":{"type":"integer"}},"additionalProperties":true},"items":{"type":"array","items":{"type":"object","properties":{"position":{"type":"integer"},"reference":{"type":"string"},"amount":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"address":{"type":"string"},"destination":{"type":"string"},"error":{"description":"null in the example; holds a value when set."},"payments":{"type":"array"}},"additionalProperties":true}},"payTo":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"amountUsdc":{"type":"string"},"reference":{"type":"string"},"destination":{"type":"string"}},"additionalProperties":true}},"note":{"type":"string"},"approval":{"type":"string"}},"additionalProperties":true},"example":{"object":"payable_batch","id":"pbt_ca9476c5f1754781a7cb6053755addda","chain":"base","sandbox":true,"createdAt":"2026-11-18T21:31:16.317Z","summary":{"items":2,"direct":0,"claimable":2,"notPayableYet":0,"belowMinimum":0,"errors":0},"items":[{"position":0,"reference":"a-1","amount":"12.00","payeeId":"pye__RA8RSgcqC5mOIQLPteoX94p","status":"claimable","address":"0x8888888888888888888888888888888888888881","destination":"wallet","error":null,"payments":[]},{"position":1,"reference":"a-2","amount":"8.50","payeeId":"pye_d7UDsFNCorl0BWGIoeRqigxC","status":"claimable","address":"0x8888888888888888888888888888888888888882","destination":"wallet","error":null,"payments":[]}],"payTo":[{"address":"0x8888888888888888888888888888888888888881","amountUsdc":"12.00","reference":"a-1","destination":"wallet"},{"address":"0x8888888888888888888888888888888888888882","amountUsdc":"8.50","reference":"a-2","destination":"wallet"}],"note":"Pay only the addresses above, from a wallet you registered, in one transaction: the last line, where there is one, is SET's fee on the payments into wallets. Payments to `claimable` wallets are reported with POST /api/partner/payments/batch and recorded only once SET's fee has reached SET, in the same transaction or alone in a later one (feeTxHash); payments to `direct` Cash-Out Addresses are tracked from the chain.","approval":"approved"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"chain":{"type":"string"},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"summary":{"type":"object","properties":{"items":{"type":"integer"},"direct":{"type":"integer"},"claimable":{"type":"integer"},"notPayableYet":{"type":"integer"},"belowMinimum":{"type":"integer"},"errors":{"type":"integer"}},"additionalProperties":true},"items":{"type":"array","items":{"type":"object","properties":{"position":{"type":"integer"},"reference":{"type":"string"},"amount":{"type":"string"},"payeeId":{"type":"string"},"status":{"type":"string"},"address":{"type":"string"},"destination":{"type":"string"},"error":{"description":"null in the example; holds a value when set."},"payments":{"type":"array"}},"additionalProperties":true}},"payTo":{"type":"array","items":{"type":"object","properties":{"address":{"type":"string"},"amountUsdc":{"type":"string"},"reference":{"type":"string"},"destination":{"type":"string"}},"additionalProperties":true}},"note":{"type":"string"},"approval":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payable_emails/payments/batch":{"post":{"operationId":"postPayableEmailsPaymentsBatch","tags":["Payable Email"],"summary":"Report one multisend that paid a batch, from a registered sender wallet; payments into wallets SET created need SET's 0.75% fee (the batch's set_fee line, or later with feeTxHash), else 409 set_fee_missing; a repeat answers what is already recorded","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string"},"txHash":{"type":"string"},"batchId":{"type":"string"},"feeTxHash":{"type":"string"}},"required":["txHash"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"txHash":{"type":"string"},"batchId":{"type":"string"},"payments":{"type":"array","items":{"type":"object","properties":{"paymentId":{"type":"string"},"payeeId":{"type":"string"},"amountUsdc":{"type":"string"},"state":{"type":"string"}},"additionalProperties":true}},"skipped":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string"},"reason":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"txHash":{"type":"string"},"batchId":{"type":"string"},"payments":{"type":"array","items":{"type":"object","properties":{"paymentId":{"type":"string"},"payeeId":{"type":"string"},"amountUsdc":{"type":"string"},"state":{"type":"string"}},"additionalProperties":true}},"skipped":{"type":"array","items":{"type":"object","properties":{"to":{"type":"string"},"reason":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true},"example":{"object":"payable_batch_report","txHash":"0x…","batchId":"pbt_…","payments":[{"paymentId":"…","payeeId":"pye_…","amountUsdc":"250.00","state":"pending_chain"}],"skipped":[{"to":"0x…","reason":"not_a_claimable_payee"}]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payment_references":{"post":{"operationId":"postPaymentReferences","tags":["Payment references"],"summary":"Reserve an order's payable amount on a Cash-Out Address (a platform account)","description":"The answer's payableAmount is the order amount plus a tag under a cent, unique among the address's open references. A payment of exactly that amount settles the reference (payment_reference.matched); one of the order's amount without its tag is underpaid or overpaid. The payer, when given, is sent as the payment's sender for the Travel Rule.","x-scope":"write","x-set-account-type":"platform","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cashOutAddress":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string","description":"The stablecoin the payer sends. Required on a currency \"any\" Cash-Out Address (one it takes; only a payment in it settles the reference, otherwise 400 currency_required); elsewhere the address's own currency, the default."},"expiresAt":{"type":"string"},"payer":{"type":"object","properties":{},"additionalProperties":true},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"required":["cashOutAddress","amount","expiresAt"],"additionalProperties":true}}}},"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"customer":{"type":"string"},"cashOutAddress":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"payableAmount":{"type":"string"},"state":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"payer":{"type":"boolean"},"metadata":{"type":"object","properties":{"orderId":{"type":"string"}},"additionalProperties":true},"cashOutPayment":{"description":"null in the example; holds a value when set."},"receivedAmount":{"description":"null in the example; holds a value when set."},"rule":{"description":"null in the example; holds a value when set."},"senderState":{"description":"null in the example; holds a value when set."},"next":{"type":"string"},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"settledAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"example":{"object":"payment_reference","id":"pref_ffb728370b3944df830433dbfe2e57c5","reference":"pref_ffb728370b3944df830433dbfe2e57c5","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","cashOutAddress":"la_sim_0004","currency":"usdc","amount":"1250.00","payableAmount":"1250.003351","state":"open","expiresAt":"2026-11-25T13:42:45.837Z","payer":true,"metadata":{"orderId":"ord_1042"},"cashOutPayment":null,"receivedAmount":null,"rule":null,"senderState":null,"next":"Ask the payer to send exactly 1250.003351 USDC to the Cash-Out Address before 2026-11-25T13:42:45.837Z.","sandbox":true,"createdAt":"2026-11-18T13:42:45.841Z","updatedAt":"2026-11-18T13:42:45.841Z","settledAt":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getPaymentReferences","tags":["Payment references"],"summary":"List payment references","x-scope":"read","x-set-account-type":"platform","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"cashOutAddress","in":"query","required":false,"schema":{"type":"string"}},{"name":"cashOutPayment","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"customer":{"type":"string"},"cashOutAddress":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"payableAmount":{"type":"string"},"state":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"payer":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true},"cashOutPayment":{"description":"null in the example; holds a value when set."},"receivedAmount":{"description":"null in the example; holds a value when set."},"rule":{"description":"null in the example; holds a value when set."},"senderState":{"description":"null in the example; holds a value when set."},"next":{"type":["string","null"]},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"settledAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string","format":"date-time"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"object":"payment_reference","id":"pref_f872449bc07941c897576ba723dadc3c","reference":"pref_f872449bc07941c897576ba723dadc3c","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","cashOutAddress":"la_sim_0004","currency":"usdc","amount":"60.00","payableAmount":"60.007617","state":"open","expiresAt":"2026-11-19T13:42:45.886Z","payer":false,"metadata":{},"cashOutPayment":null,"receivedAmount":null,"rule":null,"senderState":null,"next":"Ask the payer to send exactly 60.007617 USDC to the Cash-Out Address before 2026-11-19T13:42:45.886Z.","sandbox":true,"createdAt":"2026-11-18T13:42:45.887Z","updatedAt":"2026-11-18T13:42:45.887Z","settledAt":null},{"object":"payment_reference","id":"pref_26134d2bfa27486caf692c65df6cc190","reference":"pref_26134d2bfa27486caf692c65df6cc190","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","cashOutAddress":"la_sim_0004","currency":"usdc","amount":"75.00","payableAmount":"75.003160","state":"canceled","expiresAt":"2026-11-19T13:42:45.860Z","payer":false,"metadata":{},"cashOutPayment":null,"receivedAmount":null,"rule":null,"senderState":null,"next":null,"sandbox":true,"createdAt":"2026-11-18T13:42:45.861Z","updatedAt":"2026-11-18T13:42:45.871Z","settledAt":null}],"hasMore":true,"nextCreatedBefore":"2026-11-18T13:42:45.861Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payment_references/{id}":{"get":{"operationId":"getPaymentReferencesById","tags":["Payment references"],"summary":"A payment reference","x-scope":"read","x-set-account-type":"platform","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^pref_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"customer":{"type":"string"},"cashOutAddress":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"payableAmount":{"type":"string"},"state":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"payer":{"type":"boolean"},"metadata":{"type":"object","properties":{"orderId":{"type":"string"}},"additionalProperties":true},"cashOutPayment":{"type":"string"},"receivedAmount":{"type":"string"},"rule":{"type":"string"},"senderState":{"type":"string"},"next":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"settledAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"example":{"object":"payment_reference","id":"pref_ffb728370b3944df830433dbfe2e57c5","reference":"pref_ffb728370b3944df830433dbfe2e57c5","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","cashOutAddress":"la_sim_0004","currency":"usdc","amount":"1250.00","payableAmount":"1250.003351","state":"matched","expiresAt":"2026-11-25T13:42:45.837Z","payer":true,"metadata":{"orderId":"ord_1042"},"cashOutPayment":"sim_drain_3115f196-a1fa-4847-a77f-e07704dc774f","receivedAmount":"1250.003351","rule":"exact","senderState":"simulated","next":null,"sandbox":true,"createdAt":"2026-11-18T13:42:45.841Z","updatedAt":"2026-11-18T13:42:45.866Z","settledAt":"2026-11-18T13:42:45.866Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payment_references/{id}/cancel":{"post":{"operationId":"postPaymentReferencesByIdCancel","tags":["Payment references"],"summary":"Cancel an open reference","x-scope":"write","x-set-account-type":"platform","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^pref_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"customer":{"type":"string"},"cashOutAddress":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"payableAmount":{"type":"string"},"state":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"payer":{"type":"boolean"},"metadata":{"type":"object","properties":{},"additionalProperties":true},"cashOutPayment":{"description":"null in the example; holds a value when set."},"receivedAmount":{"description":"null in the example; holds a value when set."},"rule":{"description":"null in the example; holds a value when set."},"senderState":{"description":"null in the example; holds a value when set."},"next":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"settledAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"example":{"object":"payment_reference","id":"pref_26134d2bfa27486caf692c65df6cc190","reference":"pref_26134d2bfa27486caf692c65df6cc190","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","cashOutAddress":"la_sim_0004","currency":"usdc","amount":"75.00","payableAmount":"75.003160","state":"canceled","expiresAt":"2026-11-19T13:42:45.860Z","payer":false,"metadata":{},"cashOutPayment":null,"receivedAmount":null,"rule":null,"senderState":null,"next":null,"sandbox":true,"createdAt":"2026-11-18T13:42:45.861Z","updatedAt":"2026-11-18T13:42:45.871Z","settledAt":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payment_references/{id}/match":{"post":{"operationId":"postPaymentReferencesByIdMatch","tags":["Payment references"],"summary":"Settle a reference with a Cash-Out payment by hand","x-scope":"write","x-set-account-type":"platform","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^pref_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cashOutPayment":{"type":"string"}},"required":["cashOutPayment"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"reference":{"type":"string"},"customer":{"type":"string"},"cashOutAddress":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"payableAmount":{"type":"string"},"state":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"payer":{"type":"boolean"},"metadata":{"type":"object","properties":{"orderId":{"type":"string"}},"additionalProperties":true},"cashOutPayment":{"type":"string"},"receivedAmount":{"type":"string"},"rule":{"type":"string"},"senderState":{"type":"string"},"next":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"settledAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"example":{"object":"payment_reference","id":"pref_aa80bd35c16940e2b3c112bf04b42802","reference":"pref_aa80bd35c16940e2b3c112bf04b42802","customer":"cus_bb4ad46a78494d429194fc9d7e60a895","cashOutAddress":"la_sim_0004","currency":"usdc","amount":"60.00","payableAmount":"60.001258","state":"matched","expiresAt":"2026-11-19T13:42:45.857Z","payer":false,"metadata":{"orderId":"ord_1043"},"cashOutPayment":"sim_drain_48f41014-142d-4fe0-b197-cf79bba544dd","receivedAmount":"60.001258","rule":"manual","senderState":"simulated","next":null,"sandbox":true,"createdAt":"2026-11-18T13:42:45.858Z","updatedAt":"2026-11-18T13:42:45.884Z","settledAt":"2026-11-18T13:42:45.884Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/invoices":{"post":{"operationId":"postInvoices","tags":["Invoices"],"summary":"Create an invoice (a business account; a platform account for one of its customers once SET switches platform invoices on)","x-scope":"write","x-set-account-type":"business","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string","description":"The customer the invoice is for (cus_…); 404 customer_unknown otherwise."},"number":{"type":"string","description":"The invoice number as printed: 1–40 letters, digits, spaces or _ . / # -. Unique per account (409 invoice_number_taken).","pattern":"^[A-Za-z0-9][A-Za-z0-9 _./#-]{0,39}$"},"amount":{"type":"string","description":"The total, at most two decimals, for example \"1250.00\".","pattern":"^\\d{1,9}(\\.\\d{1,2})?$"},"currency":{"type":"string","description":"usd (default), eur or gbp.","enum":["usd","eur","gbp"]},"dueAt":{"type":["string","null"],"description":"A date, for example \"2026-12-01\"; null for none."},"pay":{"type":"object","properties":{"cashOutAddress":{"type":"string","description":"Stablecoin payers: one of the customer's Cash-Out Addresses, paying this currency to the bank."},"virtualAccount":{"type":"string","description":"Bank payers: one of the customer's virtual accounts in this currency."}},"additionalProperties":true,"description":"Exactly one of cashOutAddress or virtualAccount (400 pay_invalid otherwise).","minProperties":1,"maxProperties":1},"payer":{"type":["object","null"],"properties":{"type":{"type":"string","description":"business or individual; customer when the customer paid itself (then nothing else is read).","enum":["business","individual","customer"]},"name":{"type":"string","description":"The legal name."},"legalEntityIdentifier":{"type":"string","description":"type business only: an LEI or registration number."},"address":{"type":"object","properties":{"streetLine1":{"type":"string"},"streetLine2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string","description":"State, province or region."},"postalCode":{"type":"string"},"country":{"type":"string","description":"ISO 3166-1 alpha-3, for example USA.","pattern":"^[A-Z]{3}$"}},"required":["country"],"additionalProperties":true}},"required":["type"],"additionalProperties":true,"description":"Who pays, sealed and sent as each payment's Travel Rule originator; null or absent to name each payment's sender instead.","if":{"properties":{"type":{"enum":["business","individual"]}},"required":["type"]},"then":{"required":["type","name","address"]}}},"required":["customer","number","amount","pay"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"},"example":{"id":"inv_a22909047a3e4aa2b8460bdd5386573d","object":"invoice","customer":"cus_76458cf0bd584251a337d9f8935d0056","number":"INV-1002","amount":"1250.00","currency":"usd","payableAmount":"1250.006269","receivedAmount":"0.00","state":"open","pay":{"kind":"stablecoin","cashOutAddress":"la_sim_0003","amount":"1250.006269","note":"Send exactly this amount: the last decimals identify the invoice."},"payer":false,"dueAt":null,"livemode":false,"createdAt":"2026-11-18T21:25:51.715Z","updatedAt":"2026-11-18T21:25:51.715Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getInvoices","tags":["Invoices"],"summary":"List invoices","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Invoice"}}}}]},"example":{"object":"list","data":[{"id":"inv_3d3608dc87e395377e2a326645fcd021","object":"invoice","customer":"x_5476f7a6c57e109b","number":"inv_3d3608dc87e395377e2a326645fcd021","amount":"x_5476f7a6c57e109b","currency":"usd","payableAmount":"x_5476f7a6c57e109b","receivedAmount":"0.00","state":"open","pay":{"kind":"stablecoin","cashOutAddress":null,"amount":"x_5476f7a6c57e109b","note":"Send exactly this amount: the last decimals identify the invoice."},"payer":false,"dueAt":null,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z"},{"id":"inv_59476177d26fcf115ec5637c088a277b","object":"invoice","customer":"x_41d4f1a94422c6dc","number":"inv_59476177d26fcf115ec5637c088a277b","amount":"x_41d4f1a94422c6dc","currency":"usd","payableAmount":"x_41d4f1a94422c6dc","receivedAmount":"0.00","state":"open","pay":{"kind":"stablecoin","cashOutAddress":null,"amount":"x_41d4f1a94422c6dc","note":"Send exactly this amount: the last decimals identify the invoice."},"payer":false,"dueAt":null,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~inv_59476177d26fcf115ec5637c088a277b"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/invoices/{invoice}":{"get":{"operationId":"getInvoicesByInvoice","tags":["Invoices"],"summary":"An invoice","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"invoice","in":"path","required":true,"schema":{"type":"string","pattern":"^inv_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"},"example":{"id":"inv_1af920166ea943a9a3dae63596fa44db","object":"invoice","customer":"cus_76458cf0bd584251a337d9f8935d0056","number":"INV-1001","amount":"1250.00","currency":"usd","payableAmount":"1250.007799","receivedAmount":"1250.007799","state":"paid","pay":{"kind":"stablecoin","cashOutAddress":"la_sim_0003","amount":"1250.007799","note":"Send exactly this amount: the last decimals identify the invoice."},"payer":true,"dueAt":null,"livemode":false,"createdAt":"2026-11-18T21:25:51.663Z","updatedAt":"2026-11-18T21:25:51.745Z","payments":[{"id":"sim_drain_bbddc42f-0141-4bc8-bb21-2a882cac2634","object":"invoice_payment","kind":"cash_out_payment","state":"matched","invoice":"inv_1af920166ea943a9a3dae63596fa44db","invoiceNumber":"INV-1001","rule":"exact","receivedAmount":"1250.007799","livemode":false,"createdAt":"2026-11-18T21:25:51.744Z","updatedAt":"2026-11-18T21:25:51.744Z"}]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/invoices/{invoice}/void":{"post":{"operationId":"postInvoicesByInvoiceVoid","tags":["Invoices"],"summary":"Void an invoice","x-scope":"write","x-set-account-type":"business","parameters":[{"name":"invoice","in":"path","required":true,"schema":{"type":"string","pattern":"^inv_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"},"example":{"id":"inv_ce906281d3c24e12b111fe91ffe16e30","object":"invoice","customer":"cus_4e806933032848df95a037a1a47396cb","number":"INV-4001","amount":"10.00","currency":"usd","payableAmount":"10.009609","receivedAmount":"0.00","state":"void","pay":{"kind":"stablecoin","cashOutAddress":"la_sim_0003","amount":"10.009609","note":"Send exactly this amount: the last decimals identify the invoice."},"payer":false,"dueAt":null,"livemode":false,"createdAt":"2026-11-18T21:25:55.387Z","updatedAt":"2026-11-18T21:25:55.408Z"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/invoices/{invoice}/payment_claims":{"post":{"operationId":"postInvoicesByInvoicePaymentClaims","tags":["Invoices"],"summary":"The payer's claim of a payment","description":"A stablecoin invoice only (409 claim_not_applicable for a bank invoice), while open or short. A payment already here is matched now.","x-scope":"write","x-set-account-type":"business","parameters":[{"name":"invoice","in":"path","required":true,"schema":{"type":"string","pattern":"^inv_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"txHash":{"type":"string","description":"The payment's transaction: 0x and 64 hex characters, or a Solana signature.","pattern":"^(0x[0-9a-fA-F]{64}|[1-9A-HJ-NP-Za-km-z]{64,90})$"}},"required":["txHash"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Invoice"},"example":{"id":"inv_6ed899b5119645df94b242b67dfd73a6","object":"invoice","customer":"cus_e7abca322d324f4a87e866fcd2949327","number":"INV-3001","amount":"200.00","currency":"usd","payableAmount":"200.006645","receivedAmount":"0.00","state":"open","pay":{"kind":"stablecoin","cashOutAddress":"la_sim_0003","amount":"200.006645","note":"Send exactly this amount: the last decimals identify the invoice."},"payer":false,"dueAt":null,"livemode":false,"createdAt":"2026-11-18T21:25:54.228Z","updatedAt":"2026-11-18T21:25:54.228Z","claim":{"txHash":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","matched":false}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payments":{"get":{"operationId":"getPayments","tags":["Invoices"],"summary":"Payments to match","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"kind":{"type":"string"},"state":{"type":"string"},"invoice":{"description":"null in the example; holds a value when set."},"invoiceNumber":{"description":"null in the example; holds a value when set."},"rule":{"description":"null in the example; holds a value when set."},"receivedAmount":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":"string"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"pay_faf16e74c3692a560de22a0dae4dc520","object":"invoice_payment","kind":"cash_out_payment","state":"unmatched","invoice":null,"invoiceNumber":null,"rule":null,"receivedAmount":null,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z"},{"id":"pay_d308c7e626906529e640a6345ecb1d4e","object":"invoice_payment","kind":"cash_out_payment","state":"unmatched","invoice":null,"invoiceNumber":null,"rule":null,"receivedAmount":null,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~pay_d308c7e626906529e640a6345ecb1d4e"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payments/{id}/match":{"post":{"operationId":"postPaymentsByIdMatch","tags":["Invoices"],"summary":"Match a payment to an invoice","x-scope":"write","x-set-account-type":"business","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"invoice":{"type":"string","description":"The open or short invoice to match it to.","pattern":"^inv_[0-9a-f]{32}$"}},"required":["invoice"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"kind":{"type":"string"},"state":{"type":"string"},"invoice":{"type":"string"},"invoiceNumber":{"type":"string"},"rule":{"type":"string"},"receivedAmount":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"example":{"id":"sim_drain_ff42ffdb-37b7-4526-9a9d-42a1f4a15325","object":"invoice_payment","kind":"cash_out_payment","state":"matched","invoice":"inv_c0f58b0b010e45159efda492ce49195a","invoiceNumber":"INV-2001","rule":"manual","receivedAmount":"99.00","livemode":false,"createdAt":"2026-11-18T21:25:53.054Z","updatedAt":"2026-11-18T21:25:53.092Z"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"kind":{"type":"string"},"state":{"type":"string"},"invoice":{"type":"string"},"invoiceNumber":{"type":"string"},"rule":{"type":"string"},"receivedAmount":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/journal_entries":{"get":{"operationId":"getJournalEntries","tags":["Invoices"],"summary":"Journal entries","description":"customer=cus_… reads one customer's entries; a platform account must give it (400 customer_required). type is one of receipt, payout, return, card_receipt, card_refund, refund, escrow_release or escrow_refund. An escrow entry is an executed SET Escrow release or refund out of the escrow's Safe, booked for the party the escrow's ledgerSide names (none without one, and none for a refund on the seller's side); payment is the escrow proposal's id (esp_…), and references carry the escrow, the proposal, safeTxHash and source (chain, or simulator in the sandbox). Lines are in USD for USDC at par.","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"after","in":"query","required":false,"schema":{"type":"string"},"description":"The id of the last entry you processed (je_…): only entries after it, in the order they were recorded. hasMore says whether more follow."},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"type":{"type":"string"},"invoice":{"type":"string"},"invoiceNumber":{"type":"string"},"payment":{"type":"string"},"currency":{"type":"string"},"lines":{"type":"array","items":{"type":"object","properties":{"account":{"type":"string"},"role":{"type":"string"},"debit":{"type":"string"},"credit":{"type":"string"}},"additionalProperties":true}},"references":{"type":"object","properties":{"txHash":{"description":"null in the example; holds a value when set."},"chain":{"type":"string"},"cashOutAddress":{"type":"string"},"rule":{"type":"string"},"cashOutPayment":{"type":"string"},"deposit":{"description":"null in the example; holds a value when set."},"exchangeRate":{"description":"null in the example; holds a value when set."},"destinationCurrency":{"type":"string"}},"additionalProperties":true},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"je_269dc6a752db477ca55ea0c0b3171b92","object":"journal_entry","type":"receipt","invoice":"inv_1af920166ea943a9a3dae63596fa44db","invoiceNumber":"INV-1001","payment":"sim_drain_bbddc42f-0141-4bc8-bb21-2a882cac2634","currency":"usd","lines":[{"account":"SET clearing (in transit)","role":"clearing","debit":"1250.007799","credit":"0.00"},{"account":"Accounts receivable","role":"receivable","debit":"0.00","credit":"1250.00"}],"references":{"txHash":null,"chain":"base","cashOutAddress":"la_sim_0003","rule":"exact"},"livemode":false,"createdAt":"2026-11-18T21:25:51.745Z"},{"id":"je_a836b55505344bc5844dbb0a2b60809f","object":"journal_entry","type":"payout","invoice":"inv_1af920166ea943a9a3dae63596fa44db","invoiceNumber":"INV-1001","payment":"sim_drain_bbddc42f-0141-4bc8-bb21-2a882cac2634","currency":"usd","lines":[{"account":"Bank","role":"bank","debit":"1237.50","credit":"0.00"},{"account":"Payment processing fees: SET","role":"fees_set","debit":"12.50","credit":"0.00"}],"references":{"cashOutPayment":"sim_drain_bbddc42f-0141-4bc8-bb21-2a882cac2634","deposit":null,"exchangeRate":null,"destinationCurrency":"usd"},"livemode":false,"createdAt":"2026-11-18T21:25:51.918Z"}],"hasMore":false}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/journal_entries/export":{"get":{"operationId":"getJournalEntriesExport","tags":["Invoices"],"summary":"Export (CSV, JSON, QuickBooks Online)","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"month","in":"query","required":false,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"CSV by default (format=qbo: QuickBooks Online's journal entry import, also CSV); with format=json, JSON (worker/routes/api-invoices.ts).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"text/csv":{"schema":{"type":"string"},"example":"entry,date,type,invoice,invoice_number,payment,currency,account,role,debit,credit\r\nje_732090f6c00b4459b8eecfaffb343e06,2026-11-18T21:25:57.465Z,receipt,inv_c714d58088754db58638fba922d560a3,INV-6001,sim_drain_590c82ad-d4c9-40a3-a33d-692cb11b241a,usd,1010 Stablecoin clearing,clearing,20.009418,0.00\r\nje_732090f6c00b4459b8eecfaffb343e06,2026-11-18T21:25:57.465Z,receipt,inv_c714d58088754db58638fba922d560a3,INV-6001,sim_drain_590c82ad-d4c9-40a3-a33d-692cb11b241a,usd,1200 Accounts Receivable,receivable,0.00,20.00\r\nje_732090f6c00b4459b8eecfaffb343e06,2026-11-18T21:25:57.465Z,receipt,inv_c714d58088754db58638fba922d560a3,INV-6001,sim_drain_590c82ad-d4c9-40a3-a33d-692cb11b241a,usd,Rounding / payment tag income,tag_income,0.00,0.009418\r\nje_44edea70311c427cbbbb9145446a795b,2026-11-18T21:25:57.501Z,payout,inv_c714d58088754db58638fba922d560a3,INV-6001,sim_drain_590c82ad-d4c9-40a3-a33d-692cb11b241a,usd,Bank,bank,19.80,0.00\r\nje_44edea70311c427cbbbb9145446a795b,2026-11-18T21:25:57.501Z,payout,inv_c714d58088754db58638fba922d560a3,INV-6001,sim_drain_590c82ad-d4c9-40a3-a33d-692cb11b241a,usd,Payment processing fees: SET,fees_set,0.20,0.00\r\nje_44edea70311c427cbbbb9145446a795b,2026-11-18T21:25:57.501Z,payout,inv_c714d58088754db58638fba922d560a3,INV-6001,sim_drain_590c82ad-d4c9-40a3-a33d-692cb11b241a,usd,Rounding,rounding,0.009418,0.00\r\nje_44edea70311c427cbbbb9145446a795b,2026-11-18T21:25:57.501Z,payout,inv_c714d58088754db58638fba922d560a3,INV-6001,sim_drain_590c82ad-d4c9-40a3-a33d-692cb11b241a,usd,1010 Stablecoin clearing,clearing,0.00,20.009418\r\n"},"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string","const":"journal_export"},"month":{"type":"string","description":"YYYY-MM."},"livemode":{"type":"boolean"},"entries":{"type":"array","items":{"type":"object","properties":{},"additionalProperties":true}}},"required":["object","month","livemode","entries"],"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/ledger_mapping":{"get":{"operationId":"getLedgerMapping","tags":["Invoices"],"summary":"Ledger account mapping","x-scope":"read","x-set-account-type":"business","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"mapping":{"type":"object","properties":{"clearing":{"type":"string"},"receivable":{"type":"string"},"tag_income":{"type":"string"},"overpayment":{"type":"string"},"bank":{"type":"string"},"fees_set":{"type":"string"},"fees_provider":{"type":"string"},"rounding":{"type":"string"},"returned_wallet":{"type":"string"},"card_sales":{"type":"string"},"refunds":{"type":"string"}},"additionalProperties":true},"defaults":{"type":"object","properties":{"clearing":{"type":"string"},"receivable":{"type":"string"},"tag_income":{"type":"string"},"overpayment":{"type":"string"},"bank":{"type":"string"},"fees_set":{"type":"string"},"fees_provider":{"type":"string"},"rounding":{"type":"string"},"returned_wallet":{"type":"string"},"card_sales":{"type":"string"},"refunds":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"example":{"object":"ledger_mapping","mapping":{"clearing":"SET clearing (in transit)","receivable":"Accounts receivable","tag_income":"Rounding / payment tag income","overpayment":"Customer overpayments","bank":"Bank","fees_set":"Payment processing fees: SET","fees_provider":"Payment processing fees: provider","rounding":"Rounding","returned_wallet":"Stablecoin wallet (returned payments)","card_sales":"Sales (card payments without an invoice)","refunds":"Customer refunds"},"defaults":{"clearing":"SET clearing (in transit)","receivable":"Accounts receivable","tag_income":"Rounding / payment tag income","overpayment":"Customer overpayments","bank":"Bank","fees_set":"Payment processing fees: SET","fees_provider":"Payment processing fees: provider","rounding":"Rounding","returned_wallet":"Stablecoin wallet (returned payments)","card_sales":"Sales (card payments without an invoice)","refunds":"Customer refunds"}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"put":{"operationId":"putLedgerMapping","tags":["Invoices"],"summary":"Set the ledger account mapping","description":"Idempotent upsert: a PUT replaces the whole mapping (a role left out goes back to its default), so the same body again leaves the same mapping. Accepts an optional Idempotency-Key (replays with Idempotent-Replayed: true for the same body, or answers 422 idempotency_key_reused if reused with a different body).","x-idempotent":true,"x-scope":"write","x-set-account-type":"business","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","description":"Your account's name or number (1–80 characters) for each role you map; a role left out keeps SET's default. Any other key is 400 role_unknown.","properties":{"clearing":{"type":"string","minLength":1,"maxLength":80},"receivable":{"type":"string","minLength":1,"maxLength":80},"tag_income":{"type":"string","minLength":1,"maxLength":80},"overpayment":{"type":"string","minLength":1,"maxLength":80},"bank":{"type":"string","minLength":1,"maxLength":80},"fees_set":{"type":"string","minLength":1,"maxLength":80},"fees_provider":{"type":"string","minLength":1,"maxLength":80},"rounding":{"type":"string","minLength":1,"maxLength":80},"returned_wallet":{"type":"string","minLength":1,"maxLength":80},"card_clearing":{"type":"string","minLength":1,"maxLength":80},"card_sales":{"type":"string","minLength":1,"maxLength":80},"refunds":{"type":"string","minLength":1,"maxLength":80},"wallet":{"type":"string","minLength":1,"maxLength":80},"stablecoin_wallet":{"type":"string","minLength":1,"maxLength":80},"escrow_funds":{"type":"string","minLength":1,"maxLength":80},"payable":{"type":"string","minLength":1,"maxLength":80},"prefunding_payable":{"type":"string","minLength":1,"maxLength":80}},"additionalProperties":false}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"mapping":{"type":"object","properties":{"clearing":{"type":"string"},"receivable":{"type":"string"},"tag_income":{"type":"string"},"overpayment":{"type":"string"},"bank":{"type":"string"},"fees_set":{"type":"string"},"fees_provider":{"type":"string"},"rounding":{"type":"string"},"returned_wallet":{"type":"string"},"card_sales":{"type":"string"},"refunds":{"type":"string"}},"additionalProperties":true},"defaults":{"type":"object","properties":{"clearing":{"type":"string"},"receivable":{"type":"string"},"tag_income":{"type":"string"},"overpayment":{"type":"string"},"bank":{"type":"string"},"fees_set":{"type":"string"},"fees_provider":{"type":"string"},"rounding":{"type":"string"},"returned_wallet":{"type":"string"},"card_sales":{"type":"string"},"refunds":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"example":{"object":"ledger_mapping","mapping":{"clearing":"1010 Stablecoin clearing","receivable":"1200 Accounts Receivable","tag_income":"Rounding / payment tag income","overpayment":"Customer overpayments","bank":"Bank","fees_set":"Payment processing fees: SET","fees_provider":"Payment processing fees: provider","rounding":"Rounding","returned_wallet":"Stablecoin wallet (returned payments)","card_sales":"Sales (card payments without an invoice)","refunds":"Customer refunds"},"defaults":{"clearing":"SET clearing (in transit)","receivable":"Accounts receivable","tag_income":"Rounding / payment tag income","overpayment":"Customer overpayments","bank":"Bank","fees_set":"Payment processing fees: SET","fees_provider":"Payment processing fees: provider","rounding":"Rounding","returned_wallet":"Stablecoin wallet (returned payments)","card_sales":"Sales (card payments without an invoice)","refunds":"Customer refunds"}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/card_checkouts":{"post":{"operationId":"postCardCheckouts","tags":["Card payments"],"summary":"A Stripe-hosted Checkout (SET Connect, a business account)","description":"Creates a one-off USD Stripe-hosted Checkout on the merchant's SET Connect account. Pass invoice (inv_…) to settle an open or short USD invoice of this business; amount must equal what is still due (400 invoice_invalid, 404 invoice_unknown, 409 invoice_not_open, 409 invoice_currency_not_card, 409 invoice_amount_mismatch). The invoice is settled atomically on Stripe's verified succeeded event.","x-scope":"write","x-set-account-type":"business","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"successUrl":{"type":"string","description":"https address on the merchant's site after payment."},"cancelUrl":{"type":"string","description":"https address on the merchant's site if the payer cancels."},"description":{"type":"string","description":"Up to 120 characters shown to the payer on Stripe's page."},"reference":{"type":"string","description":"Up to 100 printable ASCII characters (an order or invoice number). Sent to Stripe metadata only; never personal data."},"invoice":{"type":"string","description":"Optional open or short USD invoice id (inv_…) of this business whose remaining balance equals amount."}},"required":["amount","successUrl","cancelUrl"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardCheckout"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardCheckout"},"example":{"id":"cs_test_card0001","object":"card_checkout","amount":"125.00","currency":"usd","setFee":"1.87","reference":"ORDER-1042","livemode":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payment_links":{"post":{"operationId":"postPaymentLinks","tags":["Card payments"],"summary":"A payment link for a fixed amount or an invoice (a business account)","description":"Without invoice, creates a fixed-amount USD card link (amount and description required). With invoice (inv_…), inherits the invoice's currency and remaining amount due; stated amount or currency must match (409 invoice_amount_mismatch, 409 invoice_currency_mismatch), and card: true on a non-USD invoice answers 409 invoice_currency_not_card.","x-scope":"write","x-set-account-type":"business","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"string","description":"Dollars and cents as a string (\"0.50\" to \"999999.99\"). Required without invoice; when invoice is set, optional and must match what is still due.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"currency":{"type":"string","description":"Three-letter lowercase currency. \"usd\" without invoice; when invoice is set, optional and must match the invoice's currency.","enum":["usd","eur","gbp"]},"description":{"type":"string","description":"Up to 120 characters shown to the payer. Required without invoice; never personal data."},"invoice":{"type":"string","description":"Optional open or short invoice id (inv_…) of this business."},"card":{"type":"boolean","description":"Allow card payment (default true). USD only; asking for card: true on a non-USD invoice answers 409 invoice_currency_not_card."},"expiresAt":{"type":"string","description":"Optional ISO 8601 expiry time in the future."}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLink"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLink"},"example":{"id":"WDG0Te4JF1g8UTexFr4PtB47VSndwaItMEBskJc59dk","object":"payment_link","url":"https://wallet-staging.simpleeasytransactions.com/link/WDG0Te4JF1g8UTexFr4PtB47VSndwaItMEBskJc59dk","amount":"125.00","currency":"usd","description":"Invoice INV-T14","invoice":"inv_a245407913c448a392b0de45f1e7e620","card":false,"active":true,"expiresAt":null,"livemode":false,"createdAt":"2026-11-18T21:31:32.724Z","updatedAt":"2026-11-18T21:31:32.724Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getPaymentLinks","tags":["Card payments"],"summary":"Payment links","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PaymentLink"}}}}]},"example":{"object":"list","data":[{"id":"plink_465830ab7de422a54e221ce0062bd5d2","object":"payment_link","url":"https://wallet-staging.simpleeasytransactions.com/link/plink_465830ab7de422a54e221ce0062bd5d2","amount":"x_d114fa51f16a9c6a","currency":"usd","description":"x_d114fa51f16a9c6a","invoice":null,"card":true,"active":true,"expiresAt":null,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z"},{"id":"plink_8e4772fa01e4ec26a9321c9b42853cf3","object":"payment_link","url":"https://wallet-staging.simpleeasytransactions.com/link/plink_8e4772fa01e4ec26a9321c9b42853cf3","amount":"x_e8412f7cda457c9e","currency":"usd","description":"x_e8412f7cda457c9e","invoice":null,"card":true,"active":true,"expiresAt":null,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~plink_8e4772fa01e4ec26a9321c9b42853cf3","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payment_links/{link}":{"get":{"operationId":"getPaymentLinksByLink","tags":["Card payments"],"summary":"A payment link","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"link","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLink"},"example":{"id":"…","object":"payment_link","url":"https://wallet.simpleeasytransactions.com/link/…","amount":"250.00","currency":"usd","description":"Annual support plan","invoice":null,"card":true,"active":true,"expiresAt":null,"livemode":true,"createdAt":"2026-11-08T15:04:05.000Z","updatedAt":"2026-11-08T15:04:05.000Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payment_links/{link}/deactivate":{"post":{"operationId":"postPaymentLinksByLinkDeactivate","tags":["Card payments"],"summary":"Deactivate a payment link","x-scope":"write","x-set-account-type":"business","parameters":[{"name":"link","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{43}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLink"},"example":{"id":"umQnktWQRuBQy3UGRRjbLQprWud3LUmmZNBOaUXUzCU","object":"payment_link","url":"https://wallet-staging.simpleeasytransactions.com/link/umQnktWQRuBQy3UGRRjbLQprWud3LUmmZNBOaUXUzCU","amount":"40.00","currency":"usd","description":"Workshop seat, 12 December","invoice":null,"card":true,"active":false,"expiresAt":null,"livemode":false,"createdAt":"2026-11-18T21:25:58.800Z","updatedAt":"2026-11-18T21:25:58.895Z","sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentLink"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/refunds":{"post":{"operationId":"postRefunds","tags":["Invoices"],"summary":"Refund a bank or stablecoin payment (a payout to the payer)","x-scope":"write","x-set-account-type":"business","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"payment":{"type":"string"},"wallet":{"type":"string"},"recipient":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"reference":{"type":"string"}},"required":["payment","wallet","recipient","amount"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refund"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refund"},"example":{"id":"rf_83145905d3a8425dad03f2f30b71ae09","object":"refund","payment":"sim_drain_f8ebb590-057e-4bce-9d43-1e6bc356cd1a","paymentKind":"cash_out_payment","invoice":null,"payout":"po_b56493a90be94e78b34a4c73b090fd66","amount":"60.00","currency":"usdc","paymentCurrency":"usdc","state":"payment_submitted","fee":"0.60","receiptAmount":null,"txHash":null,"railReference":null,"livemode":false,"createdAt":"2026-11-18T21:34:18.089Z","updatedAt":"2026-11-18T21:34:18.089Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getRefunds","tags":["Invoices"],"summary":"Refunds","description":"Newest first. Each carries its payout's railReference (components/schemas/RailReference): the bank rail's own reference once the provider reports it. Null for refunds on chain.","x-scope":"read","parameters":[{"name":"payment","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Refund"}}}}]},"example":{"object":"list","data":[{"id":"rf_823ad652087d6a0faec463ee2e752e0c","object":"refund","payment":"x_7dfee0fd30399d85","paymentKind":"deposit","invoice":null,"payout":"x_7dfee0fd30399d85","amount":"x_7dfee0fd30399d85","currency":"usdc","paymentCurrency":"x_7dfee0fd30399d85","state":"payment_processed","fee":null,"receiptAmount":null,"txHash":null,"railReference":null,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z"},{"id":"rf_c9d4137853b59f3f4c3d07335c667536","object":"refund","payment":"x_a3d642f0ec289b3a","paymentKind":"deposit","invoice":null,"payout":"x_a3d642f0ec289b3a","amount":"x_a3d642f0ec289b3a","currency":"usdc","paymentCurrency":"x_a3d642f0ec289b3a","state":"payment_processed","fee":null,"receiptAmount":null,"txHash":null,"railReference":null,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~rf_c9d4137853b59f3f4c3d07335c667536","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/refunds/{refund}":{"get":{"operationId":"getRefundsByRefund","tags":["Invoices"],"summary":"A refund","x-scope":"read","parameters":[{"name":"refund","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_]{6,40}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Refund"},"example":{"id":"rf_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","object":"refund","payment":"dep_1","paymentKind":"deposit","invoice":null,"payout":"po_c8ea8838081841a5b5e8f6138ef413df","amount":"20.00","currency":"usdc","paymentCurrency":"usd","state":"payment_processed","fee":"0.20","receiptAmount":"19.80","txHash":null,"railReference":{"rail":"ach","traceNumber":"215961766168696","imad":null,"trackingNumber":null,"endToEndId":null,"simulated":true},"livemode":false,"createdAt":"2026-11-18T21:32:43.303Z","updatedAt":"2026-11-18T21:32:43.303Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/invoice_schedules":{"post":{"operationId":"postInvoiceSchedules","tags":["Invoices"],"summary":"A recurring invoice","x-scope":"write","x-set-account-type":"business","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"currency":{"type":"string"},"every":{"type":"string","enum":["week","month","quarter","year"]},"numberPrefix":{"type":"string"},"pay":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSchedule"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSchedule"},"example":{"id":"isc_58e834bafa814520bf911124284a7962","object":"invoice_schedule","customer":"cus_a61aa9564d704c15856c350c6eb4103f","amount":"75.00","currency":"usd","pay":{"cashOutAddress":"la_sim_0003"},"payer":true,"every":"month","numberPrefix":"RENT","nextNumber":"RENT-0002","dueDays":10,"nextRunAt":"2026-12-18T21:26:01.000Z","count":3,"issued":1,"active":true,"lastInvoice":"inv_e40597d226b54fd5a9bc6df5f3fb2325","lastProblem":null,"livemode":false,"createdAt":"2026-11-18T21:26:01.261Z","updatedAt":"2026-11-18T21:26:01.279Z","firstInvoice":{"schedule":"isc_58e834bafa814520bf911124284a7962","invoice":{"id":"inv_e40597d226b54fd5a9bc6df5f3fb2325","object":"invoice","customer":"cus_a61aa9564d704c15856c350c6eb4103f","number":"RENT-0001","amount":"75.00","currency":"usd","payableAmount":"75.001495","receivedAmount":"0.00","state":"open","pay":{"kind":"stablecoin","cashOutAddress":"la_sim_0003","amount":"75.001495","note":"Send exactly this amount: the last decimals identify the invoice."},"payer":true,"dueAt":"2026-11-28","livemode":false,"createdAt":"2026-11-18T21:26:01.279Z","updatedAt":"2026-11-18T21:26:01.279Z"},"paymentLink":{"id":"IaM4LbODDI5HCCtXyCK9WuFgO9GIXQ7Eb4tN8uchGyc","object":"payment_link","url":"https://wallet-staging.simpleeasytransactions.com/link/IaM4LbODDI5HCCtXyCK9WuFgO9GIXQ7Eb4tN8uchGyc","amount":"75.00","currency":"usd","description":"Invoice RENT-0001","invoice":"inv_e40597d226b54fd5a9bc6df5f3fb2325","card":true,"active":true,"expiresAt":null,"livemode":false,"createdAt":"2026-11-18T21:26:01.279Z","updatedAt":"2026-11-18T21:26:01.279Z"},"issued":1,"nextRunAt":"2026-12-18T21:26:01.000Z"},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getInvoiceSchedules","tags":["Invoices"],"summary":"Recurring invoices","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/InvoiceSchedule"}}}}]},"example":{"object":"list","data":[{"id":"isc_be388abba6b9ff6e103fe7e886a279dc","object":"invoice_schedule","customer":"x_2e3844fe64128a4f","amount":"x_2e3844fe64128a4f","currency":"usd","pay":{},"payer":false,"every":"week","numberPrefix":"x_2e3844fe64128a4f","nextNumber":"x_2e3844fe64128a4f-0001","dueDays":14,"nextRunAt":null,"count":null,"issued":0,"active":true,"lastInvoice":null,"lastProblem":null,"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z"},{"id":"isc_e6ae7bff13fa49a52b3bb765e1bcaf58","object":"invoice_schedule","customer":"x_f13ab366b1dbb248","amount":"x_f13ab366b1dbb248","currency":"usd","pay":{},"payer":false,"every":"week","numberPrefix":"x_f13ab366b1dbb248","nextNumber":"x_f13ab366b1dbb248-0001","dueDays":14,"nextRunAt":null,"count":null,"issued":0,"active":true,"lastInvoice":null,"lastProblem":null,"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~isc_e6ae7bff13fa49a52b3bb765e1bcaf58","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/invoice_schedules/{schedule}":{"get":{"operationId":"getInvoiceSchedulesBySchedule","tags":["Invoices"],"summary":"A recurring invoice","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"schedule","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_]{6,40}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSchedule"},"example":{"id":"isc_58e834bafa814520bf911124284a7962","object":"invoice_schedule","customer":"cus_a61aa9564d704c15856c350c6eb4103f","amount":"75.00","currency":"usd","pay":{"cashOutAddress":"la_sim_0003"},"payer":true,"every":"month","numberPrefix":"RENT","nextNumber":"RENT-0003","dueDays":10,"nextRunAt":"2026-12-18T21:26:00.000Z","count":3,"issued":2,"active":true,"lastInvoice":"inv_de86d64dcca84d5994439692116f0415","lastProblem":null,"livemode":false,"createdAt":"2026-11-18T21:26:01.261Z","updatedAt":"2026-11-18T21:26:01.364Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/invoice_schedules/{schedule}/cancel":{"post":{"operationId":"postInvoiceSchedulesByScheduleCancel","tags":["Invoices"],"summary":"Cancel a recurring invoice","x-scope":"write","x-set-account-type":"business","parameters":[{"name":"schedule","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_]{6,40}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSchedule"},"example":{"id":"isc_58e834bafa814520bf911124284a7962","object":"invoice_schedule","customer":"cus_a61aa9564d704c15856c350c6eb4103f","amount":"75.00","currency":"usd","pay":{"cashOutAddress":"la_sim_0003"},"payer":true,"every":"month","numberPrefix":"RENT","nextNumber":"RENT-0003","dueDays":10,"nextRunAt":null,"count":3,"issued":2,"active":false,"lastInvoice":"inv_de86d64dcca84d5994439692116f0415","lastProblem":null,"livemode":false,"createdAt":"2026-11-18T21:26:01.261Z","updatedAt":"2026-11-18T21:26:01.503Z","sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/InvoiceSchedule"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/card_payments":{"get":{"operationId":"getCardPayments","tags":["Card payments"],"summary":"Card payments","x-scope":"read","x-set-account-type":"business","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/CardPayment"}}}}]},"example":{"object":"list","data":[{"id":"pi_cd2fe7e5e7a7ecb76a696930d4b9ee02","object":"card_payment","source":"pay_form","state":"succeeded","currency":"usd","amount":"0.00","amountRefunded":"0.00","setFee":"0.00","setFeeRefunded":"0.00","netBeforeStripeFees":"0.00","disputeStatus":null,"dispute":null,"checkoutSession":null,"stripeAccount":"x_dcfd7edc57d56d60","createdAt":"2026-11-09T12:00:09.000Z","updatedAt":"2026-11-09T12:00:09.000Z","succeededAt":null,"livemode":false},{"id":"pi_e40a82606fa3ac3bfce592496d93d74f","object":"card_payment","source":"pay_form","state":"succeeded","currency":"usd","amount":"0.00","amountRefunded":"0.00","setFee":"0.00","setFeeRefunded":"0.00","netBeforeStripeFees":"0.00","disputeStatus":null,"dispute":null,"checkoutSession":null,"stripeAccount":"x_7cfc9d0d75bb953e","createdAt":"2026-11-09T12:00:05.000Z","updatedAt":"2026-11-09T12:00:05.000Z","succeededAt":null,"livemode":false}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~pi_e40a82606fa3ac3bfce592496d93d74f","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/card_payments/{cardPayment}":{"get":{"operationId":"getCardPaymentsByCardPayment","tags":["Card payments"],"summary":"A card payment","x-scope":"read","parameters":[{"name":"cardPayment","in":"path","required":true,"schema":{"type":"string","pattern":"^pi_[A-Za-z0-9]{8,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CardPayment"},"example":{"id":"pi_cardtest00000001","object":"card_payment","source":"checkout","state":"succeeded","currency":"usd","amount":"125.00","amountRefunded":"125.00","setFee":"1.87","setFeeRefunded":"1.87","netBeforeStripeFees":"0.00","disputeStatus":"needs_response","dispute":null,"checkoutSession":"cs_test_card0001","stripeAccount":"acct_harborconnect01","createdAt":"2026-11-09T04:53:20.000Z","updatedAt":"2026-11-18T21:25:48.966Z","succeededAt":"2026-11-18T21:25:48.855Z","livemode":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/card_payments/{cardPayment}/refunds":{"post":{"operationId":"postCardPaymentsByCardPaymentRefunds","tags":["Card payments"],"summary":"Refund","x-scope":"write","x-set-account-type":"business","parameters":[{"name":"cardPayment","in":"path","required":true,"schema":{"type":"string","pattern":"^pi_[A-Za-z0-9]{8,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"reason":{"type":"string"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"refund":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"amount":{"type":"string"}},"additionalProperties":true},"cardPayment":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"source":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"amountRefunded":{"type":"string"},"setFee":{"type":"string"},"setFeeRefunded":{"type":"string"},"netBeforeStripeFees":{"type":"string"},"disputeStatus":{"description":"null in the example; holds a value when set."},"dispute":{"description":"null in the example; holds a value when set."},"checkoutSession":{"type":"string"},"stripeAccount":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"succeededAt":{"type":"string","format":"date-time"},"livemode":{"type":"boolean"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"refund":{"type":"object","properties":{"id":{"type":"string"},"status":{"type":"string"},"amount":{"type":"string"}},"additionalProperties":true},"cardPayment":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"source":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"amountRefunded":{"type":"string"},"setFee":{"type":"string"},"setFeeRefunded":{"type":"string"},"netBeforeStripeFees":{"type":"string"},"disputeStatus":{"description":"null in the example; holds a value when set."},"dispute":{"description":"null in the example; holds a value when set."},"checkoutSession":{"type":"string"},"stripeAccount":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"succeededAt":{"type":"string","format":"date-time"},"livemode":{"type":"boolean"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"refund":{"id":"re_cardtest0000001","status":"succeeded","amount":"85.00"},"cardPayment":{"id":"pi_cardtest00000001","object":"card_payment","source":"checkout","state":"succeeded","currency":"usd","amount":"125.00","amountRefunded":"125.00","setFee":"1.87","setFeeRefunded":"1.87","netBeforeStripeFees":"0.00","disputeStatus":null,"dispute":null,"checkoutSession":"cs_test_card0001","stripeAccount":"acct_harborconnect01","createdAt":"2026-11-09T04:53:20.000Z","updatedAt":"2026-11-18T21:25:48.911Z","succeededAt":"2026-11-18T21:25:48.855Z","livemode":false},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/accounting/connections":{"post":{"operationId":"postAccountingConnections","tags":["Accounting"],"summary":"Connect QuickBooks Online or Xero","description":"Answers authorizeUrl: the merchant's ledger owner approves it once (30 minutes). Journal entries from syncFrom are then posted to the ledger, each once. syncFrom defaults to the start of SET Close's first period for a business that uses Close, and to now otherwise. 403 accounting_connectors_off while accounting connections is switched off for this deployment (GET /v1/capabilities features.accountingConnectors.status says which).","x-scope":"write","x-set-account-type":"business","x-set-switches":[{"error":"accounting_connectors_off","status":403,"capability":"features.accountingConnectors"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"provider":{"type":"string","enum":["quickbooks","xero"]},"syncFrom":{"type":"string"},"currency":{"type":"string","enum":["usd","eur","gbp"]}},"required":["provider"],"additionalProperties":true}}}},"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"provider":{"type":"string"},"authorizeUrl":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"message":{"type":"string"}},"additionalProperties":true},"example":{"object":"accounting_authorization","provider":"quickbooks","authorizeUrl":"https://appcenter.intuit.com/connect/oauth2?response_type=code&client_id=qbo-client-id-0001&redirect_uri=https%3A%2F%2Fwallet-staging.simpleeasytransactions.com%2Faccounting%2Fcallback%2Fquickbooks&scope=com.intuit.quickbooks.accounting&state=<single-use state, 43 characters>","expiresAt":"2026-11-18T14:12:42.365Z","message":"Open authorizeUrl as the business's ledger owner and approve. It works once, for 30 minutes."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getAccountingConnections","tags":["Accounting"],"summary":"The connected ledger and its sync counts","description":"403 accounting_connectors_off while accounting connections is switched off for this deployment (GET /v1/capabilities features.accountingConnectors.status says which).","x-scope":"read","x-set-account-type":"business","x-set-switches":[{"error":"accounting_connectors_off","status":403,"capability":"features.accountingConnectors"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingConnection"},"example":{"object":"accounting_connection","connected":true,"provider":"quickbooks","companyId":"4620816365000000000","state":"active","currency":"usd","syncFrom":"2026-11-01T00:00:00.000Z","lastSyncedAt":null,"lastError":null,"connectedAt":"2026-11-18T13:42:42.368Z","counts":{},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"delete":{"operationId":"deleteAccountingConnections","tags":["Accounting"],"summary":"Disconnect and revoke SET's access","description":"403 accounting_connectors_off while accounting connections is switched off for this deployment (GET /v1/capabilities features.accountingConnectors.status says which).","x-scope":"write","x-set-account-type":"business","x-set-switches":[{"error":"accounting_connectors_off","status":403,"capability":"features.accountingConnectors"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object as it now stands (deleted: true, or no longer active). A repeat answers the same and changes nothing.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccountingConnection"},"example":{"object":"accounting_connection","connected":false,"provider":"quickbooks"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/accounting/sync":{"post":{"operationId":"postAccountingSync","tags":["Accounting"],"summary":"Post entries now (at most 25)","description":"Answers 200 {object: \"accounting_sync\", provider, posted, failed, skipped}; the counts are the connected ledger's. 409 accounting_not_connected or accounting_reauthorize. 403 accounting_connectors_off while accounting connections is switched off for this deployment (GET /v1/capabilities features.accountingConnectors.status says which).","x-scope":"write","x-set-account-type":"business","x-set-switches":[{"error":"accounting_connectors_off","status":403,"capability":"features.accountingConnectors"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"provider":{"type":"string"},"posted":{"type":"integer"},"failed":{"type":"integer"},"skipped":{"type":"integer"}},"additionalProperties":true},"example":{"object":"accounting_sync","provider":"quickbooks","posted":1,"failed":1,"skipped":0}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/accounting/entries":{"get":{"operationId":"getAccountingEntries","tags":["Accounting"],"summary":"Each entry's post: posted, failed or skipped","description":"403 accounting_connectors_off while accounting connections is switched off for this deployment (GET /v1/capabilities features.accountingConnectors.status says which).","x-scope":"read","x-set-account-type":"business","x-set-switches":[{"error":"accounting_connectors_off","status":403,"capability":"features.accountingConnectors"}],"parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/AccountingEntry"}}},"additionalProperties":true},"example":{"object":"list","data":[{"entry":"je_d3a6e80ad2fa45f2b2eda451740ee622","provider":"quickbooks","state":"failed","remoteId":null,"problem":"account_not_found: Bank (set PUT /v1/ledger_mapping to your ledger's account names, or id:<id>)","attempts":1,"updatedAt":"2026-11-18T13:42:42.373Z"},{"entry":"je_65aa523dd1e647d6989fc0191a587fe4","provider":"quickbooks","state":"posted","remoteId":"700","problem":null,"attempts":1,"updatedAt":"2026-11-18T13:42:42.373Z"}]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/accounting/entries/{entry}/retry":{"post":{"operationId":"postAccountingEntriesByEntryRetry","tags":["Accounting"],"summary":"Queue a failed or skipped entry for the next sync","description":"Answers 200 {entry, retry: true}; the entry posts on the next sync (POST /v1/accounting/sync or the cron). 404 entry_not_failed. 403 accounting_connectors_off while accounting connections is switched off for this deployment (GET /v1/capabilities features.accountingConnectors.status says which).","x-scope":"write","x-set-account-type":"business","x-set-switches":[{"error":"accounting_connectors_off","status":403,"capability":"features.accountingConnectors"}],"parameters":[{"name":"entry","in":"path","required":true,"schema":{"type":"string","pattern":"^je_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"entry":{"type":"string"},"retry":{"type":"boolean"}},"additionalProperties":true},"example":{"entry":"je_d3a6e80ad2fa45f2b2eda451740ee622","retry":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/settings":{"get":{"operationId":"getCloseSettings","tags":["Close"],"summary":"Close settings: first period, when entries post, today's writes","description":"Made on first use: Close starts with the current month (UTC). 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"startPeriod":{"type":"string"},"postOn":{"type":"string"},"timeZone":{"type":"string"},"writes":{"type":"object","properties":{"today":{"type":"integer"},"dailyLimit":{"type":"integer"}},"additionalProperties":true},"lastRunAt":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"close_settings","startPeriod":"2026-11","postOn":"approve","timeZone":"UTC","writes":{"today":0,"dailyLimit":5000},"lastRunAt":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"put":{"operationId":"putCloseSettings","tags":["Close"],"summary":"Set the first period or when entries post","description":"A new startPeriod restarts the ledger feed at that month. postOn: approve (default) or match. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which). Idempotent upsert: a PUT changes only the fields it sends, so the same body again leaves the same settings. Sending startPeriod, even unchanged, restarts the ledger feed at that month; send postOn alone to change only when entries post. Accepts an optional Idempotency-Key (replays with Idempotent-Replayed: true for the same body, or answers 422 idempotency_key_reused if reused with a different body).","x-idempotent":true,"x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"startPeriod":{"type":"string","description":"YYYY-MM, UTC"},"postOn":{"type":"string","enum":["approve","match"]}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"startPeriod":{"type":"string"},"postOn":{"type":"string"},"timeZone":{"type":"string"},"writes":{"type":"object","properties":{"today":{"type":"integer"},"dailyLimit":{"type":"integer"}},"additionalProperties":true},"lastRunAt":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"close_settings","startPeriod":"2026-10","postOn":"approve","timeZone":"UTC","writes":{"today":0,"dailyLimit":5000},"lastRunAt":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/sources":{"get":{"operationId":"getCloseSources","tags":["Close"],"summary":"Record sources: SET's ledger and labelled files","description":"403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"src_070358cb6c2f4a618ce43e0340e34012","object":"close_source","kind":"provider_csv","label":"Card processor","createdAt":"2026-11-18T13:42:47.722Z"},{"id":"src_b1dc74c5563d46518755fa2dc8248ead","object":"close_source","kind":"bank_csv","label":"Operating account","createdAt":"2026-11-18T13:42:47.720Z"},{"id":"src_c6c5af404b3f1dd6050b9e0a31c2e7d4","object":"close_source","kind":"set_ledger","label":"SET ledger","createdAt":"2026-11-18T13:42:47.713Z"}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"post":{"operationId":"postCloseSources","tags":["Close"],"summary":"Add a bank or provider file source","description":"403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["bank_csv","provider_csv"]},"label":{"type":"string"}},"required":["kind","label"],"additionalProperties":true}}}},"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"kind":{"type":"string"},"label":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"src_b1dc74c5563d46518755fa2dc8248ead","object":"close_source","kind":"bank_csv","label":"Operating account","createdAt":"2026-11-18T13:42:47.720Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/records":{"get":{"operationId":"getCloseRecords","tags":["Close"],"summary":"Records: each side's view of a payment, with gross, fee and net","description":"A reference is kept only as a keyed hash (hasReference); no name or reference text is stored. paymentType is one of payout_bank, payout_wallet, deposit, cash_out_payment, wallet_withdrawal, payee_cash_out, conversion_payment, card_payment, escrow_release, escrow_refund or external. An escrow record is an executed release or refund of one of your own escrows: its provider record is SET's chain read of the Safe's execution event, its book record the escrow_release or escrow_refund journal entry. It has no bank or separate chain record (a release to a Cash-Out Address reaches the bank as that address's own cash_out_payment), and its direction is null when the escrow names no ledgerSide or for a refund on the seller's side. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"kind","in":"query","required":false,"schema":{"type":"string"}},{"name":"source","in":"query","required":false,"schema":{"type":"string"}},{"name":"period","in":"query","required":false,"schema":{"type":"string"}},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"unmatched","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"kind":{"type":"string"},"source":{"type":"string"},"externalId":{"type":"string"},"payment":{"type":"string"},"paymentType":{"type":"string"},"customer":{"type":"string"},"direction":{"type":"string"},"state":{"type":"string"},"gross":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"fee":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"net":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"settled":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"fxRate":{"description":"null in the example; holds a value when set."},"chain":{"description":"null in the example; holds a value when set."},"hasReference":{"type":"boolean"},"hasCounterparty":{"type":"boolean"},"invoiceRef":{"description":"null in the example; holds a value when set."},"trust":{"type":"string"},"occurredAt":{"type":"string","format":"date-time"},"settledAt":{"type":"string","format":"date-time"},"period":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"cr_c21ee190a77e44861ff61cab0f400c9b","object":"close_record","kind":"provider","source":"src_c6c5af404b3f1dd6050b9e0a31c2e7d4","externalId":"drn_d9d655c861b0d50c","payment":"drn_d9d655c861b0d50c","paymentType":"cash_out_payment","customer":"cus_e603fb1d4bf3445cb3f2f788fbefbc09","direction":"in","state":"payment_processed","gross":{"amount":"100.000000","currency":"usdc"},"fee":{"amount":"1.500000","currency":"usdc"},"net":{"amount":"98.500000","currency":"usdc"},"settled":{"amount":"98.50","currency":"usd"},"fxRate":null,"chain":null,"hasReference":false,"hasCounterparty":false,"invoiceRef":null,"trust":"provider","occurredAt":"2026-10-03T12:00:00.000Z","settledAt":"2026-10-03T12:00:00.000Z","period":"2026-10","createdAt":"2026-11-18T13:42:47.723Z","updatedAt":"2026-11-18T13:42:47.723Z"},{"id":"cr_9e90eaa2df4e9b47904faf082dba3d06","object":"close_record","kind":"provider","source":"src_c6c5af404b3f1dd6050b9e0a31c2e7d4","externalId":"drn_34d29486b3fa5e29","payment":"drn_34d29486b3fa5e29","paymentType":"cash_out_payment","customer":"cus_e603fb1d4bf3445cb3f2f788fbefbc09","direction":"in","state":"payment_processed","gross":{"amount":"250.000000","currency":"usdc"},"fee":{"amount":"2.500000","currency":"usdc"},"net":{"amount":"247.500000","currency":"usdc"},"settled":{"amount":"247.50","currency":"usd"},"fxRate":null,"chain":null,"hasReference":false,"hasCounterparty":false,"invoiceRef":null,"trust":"provider","occurredAt":"2026-10-08T12:00:00.000Z","settledAt":"2026-10-08T12:00:00.000Z","period":"2026-10","createdAt":"2026-11-18T13:42:47.723Z","updatedAt":"2026-11-18T13:42:47.723Z"}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/matches":{"get":{"operationId":"getCloseMatches","tags":["Close"],"summary":"One match per payment: its records, rule and state","description":"state: pending (not final yet), matched, exception, ignored (reason before_start or not_moved). A returned payment is matched. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"rule","in":"query","required":false,"schema":{"type":"string"}},{"name":"reason","in":"query","required":false,"schema":{"type":"string"}},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"inTransit","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CloseMatch"}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"cm_e8dd10c3e79c0fd5ca83342c811cd0c1","object":"close_match","payment":null,"paymentType":"external","customer":null,"period":"2026-10","state":"exception","rule":null,"reason":"missing_provider","records":{"rail":"cr_e6107dee8493a706963c42f5079914ef","provider":null,"chain":null,"book":null},"variance":null,"inTransit":false,"reversalOf":null,"note":null,"resolvedAt":null,"createdAt":"2026-11-18T13:42:47.769Z","updatedAt":"2026-11-18T13:42:47.769Z"},{"id":"cm_af6604f6610c026a63a3b79ac3eb1d6f","object":"close_match","payment":null,"paymentType":"external","customer":null,"period":"2026-10","state":"exception","rule":null,"reason":"missing_provider","records":{"rail":"cr_653f34ab5832f516916bc4c2a0a5921a","provider":null,"chain":null,"book":null},"variance":null,"inTransit":false,"reversalOf":null,"note":null,"resolvedAt":null,"createdAt":"2026-11-18T13:42:47.769Z","updatedAt":"2026-11-18T13:42:47.769Z"},{"id":"cm_8e705b1be02a466a1c578b49ff0982aa","object":"close_match","payment":"drn_34d29486b3fa5e29","paymentType":"cash_out_payment","customer":"cus_e603fb1d4bf3445cb3f2f788fbefbc09","period":"2026-10","state":"exception","rule":"linked","reason":"missing_rail","records":{"rail":null,"provider":"cr_9e90eaa2df4e9b47904faf082dba3d06","chain":"cr_1ddd7d73320210c9a2917ae35ceeb92d","book":null},"variance":null,"inTransit":false,"reversalOf":null,"note":null,"resolvedAt":null,"createdAt":"2026-11-18T13:42:47.723Z","updatedAt":"2026-11-18T13:42:47.723Z"},{"id":"cm_83aca66b45aa96b1b97fcd11a35dcaa4","object":"close_match","payment":"drn_d9d655c861b0d50c","paymentType":"cash_out_payment","customer":"cus_e603fb1d4bf3445cb3f2f788fbefbc09","period":"2026-10","state":"matched","rule":"amount_date","reason":null,"records":{"rail":"cr_457548e73e7ff26a0f0f5b6b750284af","provider":"cr_c21ee190a77e44861ff61cab0f400c9b","chain":"cr_307500ccd17e61607702322f5526903d","book":null},"variance":null,"inTransit":false,"reversalOf":null,"note":null,"resolvedAt":null,"createdAt":"2026-11-18T13:42:47.723Z","updatedAt":"2026-11-18T13:42:47.769Z"}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/exceptions":{"get":{"operationId":"getCloseExceptions","tags":["Close"],"summary":"Matches in state exception, with the reason","description":"variance is {amount, currency}: the paired record's amount less the expected amount (amount a decimal string), in the paired record's currency. It is null when the paired line is in another currency's peg (a EUR bank line on a USDC payment): SET has no rate to compare them with, so reason is amount_mismatch with no amount. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"reason","in":"query","required":false,"schema":{"type":"string"}},{"name":"period","in":"query","required":false,"schema":{"type":"string"}},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CloseMatch"}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"cm_e8dd10c3e79c0fd5ca83342c811cd0c1","object":"close_match","payment":null,"paymentType":"external","customer":null,"period":"2026-10","state":"exception","rule":null,"reason":"missing_provider","records":{"rail":"cr_e6107dee8493a706963c42f5079914ef","provider":null,"chain":null,"book":null},"variance":null,"inTransit":false,"reversalOf":null,"note":null,"resolvedAt":null,"createdAt":"2026-11-18T13:42:47.769Z","updatedAt":"2026-11-18T13:42:47.769Z"},{"id":"cm_af6604f6610c026a63a3b79ac3eb1d6f","object":"close_match","payment":null,"paymentType":"external","customer":null,"period":"2026-10","state":"exception","rule":null,"reason":"missing_provider","records":{"rail":"cr_653f34ab5832f516916bc4c2a0a5921a","provider":null,"chain":null,"book":null},"variance":null,"inTransit":false,"reversalOf":null,"note":null,"resolvedAt":null,"createdAt":"2026-11-18T13:42:47.769Z","updatedAt":"2026-11-18T13:42:47.769Z"},{"id":"cm_8e705b1be02a466a1c578b49ff0982aa","object":"close_match","payment":"drn_34d29486b3fa5e29","paymentType":"cash_out_payment","customer":"cus_e603fb1d4bf3445cb3f2f788fbefbc09","period":"2026-10","state":"exception","rule":"linked","reason":"missing_rail","records":{"rail":null,"provider":"cr_9e90eaa2df4e9b47904faf082dba3d06","chain":"cr_1ddd7d73320210c9a2917ae35ceeb92d","book":null},"variance":null,"inTransit":false,"reversalOf":null,"note":null,"resolvedAt":null,"createdAt":"2026-11-18T13:42:47.723Z","updatedAt":"2026-11-18T13:42:47.723Z"}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/exceptions/{exception}/resolve":{"post":{"operationId":"postCloseExceptionsByExceptionResolve","tags":["Close"],"summary":"Resolve an exception: link a record, ignore it, or leave it open with a note","description":"link: the payment with that record must then agree (409 link_disagrees otherwise). ignore and leave_open need a note. 409 period_locked once its period is locked. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"exception","in":"path","required":true,"schema":{"type":"string","pattern":"^cm_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["link","ignore","leave_open"]},"record":{"type":"string","description":"cr_… (link)"},"note":{"type":"string","description":"1 to 500 characters"}},"required":["action"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseMatch"},"example":{"id":"cm_8e705b1be02a466a1c578b49ff0982aa","object":"close_match","action":"link","state":"matched","reason":null,"note":"Bank booked the payout a week after it settled.","period":"2026-10","records":{"rail":"cr_653f34ab5832f516916bc4c2a0a5921a","provider":"cr_9e90eaa2df4e9b47904faf082dba3d06","chain":"cr_1ddd7d73320210c9a2917ae35ceeb92d","book":null},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/periods":{"get":{"operationId":"getClosePeriods","tags":["Close"],"summary":"Every period from the first, with its state and counts","description":"Calendar months in UTC, newest first. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ClosePeriod"}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"object":"close_period","period":"2026-11","timeZone":"UTC","state":"open","counts":{"matched":8,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":8},"preparedBy":null,"preparedAt":null,"approvedBy":null,"lockedAt":null,"snapshotHash":null,"priorHash":null},{"object":"close_period","period":"2026-10","timeZone":"UTC","state":"locked","counts":{"matched":2,"exception":0,"ignored":2,"pending":0,"inTransit":0,"openExceptions":0,"total":4},"preparedBy":"key_7602a2c5debe5810c5a90a26f7a26107","preparedAt":"2026-11-18T13:42:47.826Z","approvedBy":"key_98880413c2e91e856b29f6d296232334","lockedAt":"2026-11-18T13:42:47.832Z","snapshotHash":"a86f2b158ac5453cd6feeea8b7a786c0cf55783f32ba7988b4e9f3886ed6992c","priorHash":null}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/periods/{period}":{"get":{"operationId":"getClosePeriodsByPeriod","tags":["Close"],"summary":"One period: state, counts, reconciling items and both hashes","description":"403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"period","in":"path","required":true,"description":"A calendar month in UTC, YYYY-MM. Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClosePeriod"},"example":{"object":"close_period","period":"2026-10","timeZone":"UTC","state":"locked","counts":{"matched":2,"exception":0,"ignored":2,"pending":0,"inTransit":0,"openExceptions":0,"total":4},"preparedBy":"key_7602a2c5debe5810c5a90a26f7a26107","preparedAt":"2026-11-18T13:42:47.826Z","approvedBy":"key_98880413c2e91e856b29f6d296232334","lockedAt":"2026-11-18T13:42:47.832Z","snapshotHash":"a86f2b158ac5453cd6feeea8b7a786c0cf55783f32ba7988b4e9f3886ed6992c","priorHash":null,"reconcilingItems":[],"reconcilingItemsShown":0,"positions":{"checked":0,"matched":0,"mismatches":0,"openMismatches":0,"unreadable":0,"notApplicable":0},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/periods/{period}/prepare":{"post":{"operationId":"postClosePeriodsByPeriodPrepare","tags":["Close"],"summary":"Prepare a period: open to prepared","description":"Only after the month ends (UTC), and with no exception left without a note (409 open_exceptions with the count). 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"period","in":"path","required":true,"description":"A calendar month in UTC, YYYY-MM. Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClosePeriod"},"example":{"object":"close_period","period":"2026-10","timeZone":"UTC","state":"prepared","counts":{"matched":2,"exception":0,"ignored":2,"pending":0,"inTransit":0,"openExceptions":0,"total":4},"preparedBy":"key_7602a2c5debe5810c5a90a26f7a26107","preparedAt":"2026-11-18T13:42:47.826Z","approvedBy":null,"lockedAt":null,"snapshotHash":null,"priorHash":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/periods/{period}/approve":{"post":{"operationId":"postClosePeriodsByPeriodApprove","tags":["Close"],"summary":"Approve and lock a period","description":"Needs the approve scope, from a key that is not the preparer's or one rotated from or to it (409 same_approver), with the prior period locked (409 prior_period_open). The lock's snapshotHash covers the period's matches and the prior period's hash. Both keys belong to the same business: two-key approval, not an independent attestation. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"approve","x-scopes":["read","approve"],"x-scope-mode":"all","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"period","in":"path","required":true,"description":"A calendar month in UTC, YYYY-MM. Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClosePeriod"},"example":{"object":"close_period","period":"2026-10","timeZone":"UTC","state":"locked","counts":{"matched":2,"exception":0,"ignored":2,"pending":0,"inTransit":0,"openExceptions":0,"total":4},"preparedBy":"key_7602a2c5debe5810c5a90a26f7a26107","preparedAt":"2026-11-18T13:42:47.826Z","approvedBy":"key_98880413c2e91e856b29f6d296232334","lockedAt":"2026-11-18T13:42:47.832Z","snapshotHash":"a86f2b158ac5453cd6feeea8b7a786c0cf55783f32ba7988b4e9f3886ed6992c","priorHash":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/periods/{period}/package":{"get":{"operationId":"getClosePeriodsByPeriodPackage","tags":["Close"],"summary":"The period's package: every match, its records, compared amounts and reconciling items","description":"format=json (default) or csv; customer=cus_… cuts it to one customer. A draft until the period is locked. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"period","in":"path","required":true,"description":"A calendar month in UTC, YYYY-MM. Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"JSON by default; with format=csv, text/csv.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Content-Disposition":{"description":"attachment, with the file's name.","schema":{"type":"string"}},"Close-Period-State":{"description":"The state the file was read in.","schema":{"type":"string"}},"Close-Snapshot-Hash":{"description":"The snapshot hash the file was read at.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"period":{"type":"string"},"timeZone":{"type":"string"},"state":{"type":"string"},"counts":{"type":"object","properties":{"matched":{"type":"integer"},"exception":{"type":"integer"},"ignored":{"type":"integer"},"pending":{"type":"integer"},"inTransit":{"type":"integer"},"openExceptions":{"type":"integer"},"total":{"type":"integer"}},"additionalProperties":true},"preparedBy":{"type":"string"},"preparedAt":{"type":"string","format":"date-time"},"approvedBy":{"type":"string"},"lockedAt":{"type":"string","format":"date-time"},"snapshotHash":{"type":"string"},"priorHash":{"description":"null in the example; holds a value when set."},"customer":{"description":"null in the example; holds a value when set."},"final":{"type":"boolean"},"matches":{"type":"array","items":{"type":"object","properties":{"match":{"type":"string"},"payment":{"type":"string"},"paymentType":{"type":"string"},"customer":{"type":["string","null"]},"state":{"type":"string"},"rule":{"type":["string","null"]},"reason":{"type":["string","null"]},"note":{"type":["string","null"]},"inTransit":{"type":"boolean"},"carried":{"type":"boolean"},"isReturn":{"type":"boolean"},"reversalOf":{"description":"null in the example; holds a value when set."},"records":{"type":"object","properties":{"provider":{"type":["string","null"]},"rail":{"type":["string","null"]},"chain":{"type":["string","null"]},"book":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"amount":{"type":["object","null"]},"fee":{"type":["object","null"]},"compared":{"type":"object","properties":{"chain":{"type":["object","null"]},"rail":{"type":"object","properties":{"on":{"type":"string"},"expected":{"type":["object","null"]},"seen":{"type":["object","null"],"properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"book":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"variance":{"description":"null in the example; holds a value when set."},"bankLine":{"type":["object","null"],"properties":{"reference":{"type":"string"},"counterparty":{"type":"string"}},"additionalProperties":true},"providerLine":{"description":"null in the example; holds a value when set."},"resolvedBy":{"type":["string","null"]},"resolvedAt":{"type":["string","null"]}},"additionalProperties":true}},"reconcilingItems":{"type":"array"},"ledgerPosting":{"description":"null in the example; holds a value when set."},"positions":{"type":"object","properties":{"checked":{"type":"integer"},"matched":{"type":"integer"},"mismatches":{"type":"integer"},"openMismatches":{"type":"integer"},"unreadable":{"type":"integer"},"notApplicable":{"type":"integer"}},"additionalProperties":true},"statement":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"close_package","period":"2026-10","timeZone":"UTC","state":"locked","counts":{"matched":2,"exception":0,"ignored":2,"pending":0,"inTransit":0,"openExceptions":0,"total":4},"preparedBy":"key_7602a2c5debe5810c5a90a26f7a26107","preparedAt":"2026-11-18T13:42:47.826Z","approvedBy":"key_98880413c2e91e856b29f6d296232334","lockedAt":"2026-11-18T13:42:47.832Z","snapshotHash":"a86f2b158ac5453cd6feeea8b7a786c0cf55783f32ba7988b4e9f3886ed6992c","priorHash":null,"customer":null,"final":true,"matches":[{"match":"cm_83aca66b45aa96b1b97fcd11a35dcaa4","payment":"drn_d9d655c861b0d50c","paymentType":"cash_out_payment","customer":"cus_e603fb1d4bf3445cb3f2f788fbefbc09","state":"matched","rule":"amount_date","reason":null,"note":null,"inTransit":false,"carried":false,"isReturn":false,"reversalOf":null,"records":{"provider":"cr_c21ee190a77e44861ff61cab0f400c9b","rail":"cr_457548e73e7ff26a0f0f5b6b750284af","chain":"cr_307500ccd17e61607702322f5526903d","book":null},"amount":{"amount":"100.000000","currency":"usdc"},"fee":{"amount":"1.500000","currency":"usdc"},"compared":{"chain":{"on":"gross","expected":{"amount":"100.000000","currency":"usdc"},"seen":{"amount":"100.000000","currency":"usdc"}},"rail":{"on":"settle","expected":{"amount":"98.50","currency":"usd"},"seen":{"amount":"98.50","currency":"usd"}},"book":null},"variance":null,"bankLine":{"reference":"ACH CREDIT PAYOUT","counterparty":"Alpine Goods LLC"},"providerLine":null,"resolvedBy":null,"resolvedAt":null},{"match":"cm_8e705b1be02a466a1c578b49ff0982aa","payment":"drn_34d29486b3fa5e29","paymentType":"cash_out_payment","customer":"cus_e603fb1d4bf3445cb3f2f788fbefbc09","state":"matched","rule":"linked","reason":null,"note":"Bank booked the payout a week after it settled.","inTransit":false,"carried":false,"isReturn":false,"reversalOf":null,"records":{"provider":"cr_9e90eaa2df4e9b47904faf082dba3d06","rail":"cr_653f34ab5832f516916bc4c2a0a5921a","chain":"cr_1ddd7d73320210c9a2917ae35ceeb92d","book":null},"amount":{"amount":"250.000000","currency":"usdc"},"fee":{"amount":"2.500000","currency":"usdc"},"compared":{"chain":{"on":"gross","expected":{"amount":"250.000000","currency":"usdc"},"seen":{"amount":"250.000000","currency":"usdc"}},"rail":{"on":"settle","expected":{"amount":"247.50","currency":"usd"},"seen":{"amount":"247.50","currency":"usd"}},"book":null},"variance":null,"bankLine":{"reference":"ACH CREDIT PAYOUT","counterparty":"Alpine Goods LLC"},"providerLine":null,"resolvedBy":"key_7602a2c5debe5810c5a90a26f7a26107","resolvedAt":"2026-11-18T13:42:47.814Z"},{"match":"cm_af6604f6610c026a63a3b79ac3eb1d6f","payment":"rec:cr_653f34ab5832f516916bc4c2a0a5921a","paymentType":"external","customer":null,"state":"ignored","rule":null,"reason":"missing_provider","note":"Linked to cm_8e705b1be02a466a1c578b49ff0982aa.","inTransit":false,"carried":false,"isReturn":false,"reversalOf":null,"records":{"provider":null,"rail":null,"chain":null,"book":null},"amount":null,"fee":null,"compared":{"chain":null,"rail":{"on":"net","expected":null,"seen":null},"book":null},"variance":null,"bankLine":null,"providerLine":null,"resolvedBy":"key_7602a2c5debe5810c5a90a26f7a26107","resolvedAt":"2026-11-18T13:42:47.814Z"},{"match":"cm_e8dd10c3e79c0fd5ca83342c811cd0c1","payment":"rec:cr_e6107dee8493a706963c42f5079914ef","paymentType":"external","customer":null,"state":"ignored","rule":null,"reason":"missing_provider","note":"Monthly bank account fee; not a payment SET moved.","inTransit":false,"carried":false,"isReturn":false,"reversalOf":null,"records":{"provider":null,"rail":"cr_e6107dee8493a706963c42f5079914ef","chain":null,"book":null},"amount":null,"fee":null,"compared":{"chain":null,"rail":{"on":"net","expected":null,"seen":{"amount":"12.00","currency":"usd"}},"book":null},"variance":null,"bankLine":{"reference":"MONTHLY ACCOUNT FEE","counterparty":"First Example Bank"},"providerLine":null,"resolvedBy":"key_7602a2c5debe5810c5a90a26f7a26107","resolvedAt":"2026-11-18T13:42:47.817Z"}],"reconcilingItems":[],"ledgerPosting":null,"positions":{"checked":0,"matched":0,"mismatches":0,"openMismatches":0,"unreadable":0,"notApplicable":0},"statement":"Matched means the records SET holds agree. This is not an audit opinion, a reserve attestation, or a statement that any payment complies with any rule. Prepare and approve are two keys of the same business.","sandbox":true}},"text/csv":{"schema":{"type":"string"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/periods/{period}/verify":{"get":{"operationId":"getClosePeriodsByPeriodVerify","tags":["Close"],"summary":"Recompute a locked period's hash and its link to the prior period","description":"403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"period","in":"path","required":true,"description":"A calendar month in UTC, YYYY-MM. Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-\\d{2}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"period":{"type":"string"},"snapshotHash":{"type":"string"},"recomputedHash":{"type":"string"},"hashMatches":{"type":"boolean"},"priorPeriod":{"description":"null in the example; holds a value when set."},"priorHash":{"description":"null in the example; holds a value when set."},"priorMatches":{"type":"boolean"},"valid":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"close_verification","period":"2026-10","snapshotHash":"a86f2b158ac5453cd6feeea8b7a786c0cf55783f32ba7988b4e9f3886ed6992c","recomputedHash":"a86f2b158ac5453cd6feeea8b7a786c0cf55783f32ba7988b4e9f3886ed6992c","hashMatches":true,"priorPeriod":null,"priorHash":null,"priorMatches":true,"valid":true,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/sources/{source}/imports":{"post":{"operationId":"postCloseSourcesBySourceImports","tags":["Close"],"summary":"Upload a bank or provider CSV to a source","description":"Body: the CSV itself (text/csv), at most 1,000 rows and 1 MB. Header: id, date, amount, currency, direction, reference, counterparty, tx_hash, chain; the first five required (id may be left out with idStrategy=row_hash). A dot for decimals; a decimal comma or semicolon delimiter is refused with the row number. Each row is matched to a payment or becomes its own exception; a rejected row does not refuse the file (201 with rejections[]). The same file twice adds no record, though each upload is listed as an import. 429 close_budget_reached refuses the file whole. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"source","in":"path","required":true,"schema":{"type":"string","pattern":"^src_[0-9a-f]{32}$"}},{"name":"idStrategy","in":"query","required":false,"schema":{"type":"string"}},{"name":"filename","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"text/csv":{"schema":{"type":"string","description":"The CSV itself: header id, date, amount, currency, direction, reference, counterparty, tx_hash, chain (the first five required; id may be left out with idStrategy=row_hash). At most 1,000 rows and 1 MB."}}}},"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"source":{"type":"string"},"filename":{"type":"string"},"rows":{"type":"integer"},"accepted":{"type":"integer"},"rejected":{"type":"integer"},"createdRecords":{"type":"integer"},"fileHash":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"rejections":{"type":"array","items":{"type":"object","properties":{"row":{"type":"integer"},"reason":{"type":"string"}},"additionalProperties":true}},"unchanged":{"type":"integer"},"matched":{"type":"integer"},"exceptions":{"type":"integer"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"imp_e06b7cede4eb45f69c82686e38c7b12b","object":"close_import","source":"src_b1dc74c5563d46518755fa2dc8248ead","filename":"operating-2026-10.csv","rows":4,"accepted":3,"rejected":1,"createdRecords":3,"fileHash":"f6098d8bed6e71eb1241e6af5c5e27aaed6d4be2780f255f1a1ac1a192e8b06a","createdBy":"key_7602a2c5debe5810c5a90a26f7a26107","createdAt":"2026-11-18T13:42:47.769Z","rejections":[{"row":5,"reason":"amount_decimal_comma"}],"unchanged":0,"matched":1,"exceptions":2,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/issuers":{"get":{"operationId":"getCloseIssuers","tags":["Close"],"summary":"Every stablecoin SET knows, with its contract and issuer","description":"issuer is named only where SET took the contract from the issuer's own list. eligibility and reviewedAt are null until SET's operator records an issuer status with its source. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"data":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string"},"asset":{"type":"string"},"symbol":{"type":"string"},"network":{"type":"string"},"contract":{"type":"string"},"decimals":{"type":"integer"},"issuer":{"type":"object","properties":{"name":{"type":"string"},"source":{"type":"string"},"status":{"type":"string"},"regulator":{"description":"null in the example; holds a value when set."},"reserveReportUrl":{"description":"null in the example; holds a value when set."},"statusSource":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"eligibility":{"description":"null in the example; holds a value when set."},"reviewedAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"note":{"type":"string"},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","hasMore":false,"nextCreatedBefore":null,"data":[{"object":"close_issuer_asset","asset":"usdc-base","symbol":"USDC","network":"base","contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6,"issuer":{"name":"Circle","source":"https://developers.circle.com/stablecoins/usdc-contract-addresses","status":"unknown","regulator":null,"reserveReportUrl":null,"statusSource":null},"eligibility":null,"reviewedAt":null},{"object":"close_issuer_asset","asset":"usdc-ethereum","symbol":"USDC","network":"ethereum","contract":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","decimals":6,"issuer":{"name":"Circle","source":"https://developers.circle.com/stablecoins/usdc-contract-addresses","status":"unknown","regulator":null,"reserveReportUrl":null,"statusSource":null},"eligibility":null,"reviewedAt":null}],"note":"eligibility and reviewedAt are null until SET's operator records an issuer status with its source; SET makes no statement about whether a token may be offered anywhere.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/close/imports":{"get":{"operationId":"getCloseImports","tags":["Close"],"summary":"Every file uploaded, with its counts (the file itself is not kept)","description":"403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"source":{"type":"string"},"filename":{"type":"string"},"rows":{"type":"integer"},"accepted":{"type":"integer"},"rejected":{"type":"integer"},"createdRecords":{"type":"integer"},"fileHash":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"imp_0e4f7ae7eff842de93a64441e5b9c6b8","object":"close_import","source":"src_b1dc74c5563d46518755fa2dc8248ead","filename":"operating-2026-10.csv","rows":4,"accepted":3,"rejected":1,"createdRecords":0,"fileHash":"f6098d8bed6e71eb1241e6af5c5e27aaed6d4be2780f255f1a1ac1a192e8b06a","createdBy":"key_7602a2c5debe5810c5a90a26f7a26107","createdAt":"2026-11-18T13:42:47.775Z"},{"id":"imp_e06b7cede4eb45f69c82686e38c7b12b","object":"close_import","source":"src_b1dc74c5563d46518755fa2dc8248ead","filename":"operating-2026-10.csv","rows":4,"accepted":3,"rejected":1,"createdRecords":3,"fileHash":"f6098d8bed6e71eb1241e6af5c5e27aaed6d4be2780f255f1a1ac1a192e8b06a","createdBy":"key_7602a2c5debe5810c5a90a26f7a26107","createdAt":"2026-11-18T13:42:47.769Z"}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/weeks":{"get":{"operationId":"getCloseWeeks","tags":["Close"],"summary":"Every ISO week from Close's first, with its state and hashes","description":"YYYY-Www, Monday 00:00 UTC to the next Monday, newest first. Counts as prepared or signed; read one week for its counts now. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/CloseWeek"}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"object":"close_week","week":"2026-W47","timeZone":"UTC","startsAt":"2026-11-16T00:00:00.000Z","endsAt":"2026-11-23T00:00:00.000Z","months":["2026-11"],"state":"open","counts":null,"preparedBy":null,"preparedAt":null,"approvedBy":null,"signedAt":null,"snapshotHash":null,"priorHash":null},{"object":"close_week","week":"2026-W46","timeZone":"UTC","startsAt":"2026-11-09T00:00:00.000Z","endsAt":"2026-11-16T00:00:00.000Z","months":["2026-11"],"state":"open","counts":null,"preparedBy":null,"preparedAt":null,"approvedBy":null,"signedAt":null,"snapshotHash":null,"priorHash":null},{"object":"close_week","week":"2026-W33","timeZone":"UTC","startsAt":"2026-08-10T00:00:00.000Z","endsAt":"2026-08-17T00:00:00.000Z","months":["2026-08"],"state":"signed","counts":{"matched":1,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":1},"preparedBy":"key_daaca1db38a3fc4df5e0c943571d7120","preparedAt":"2026-11-18T13:42:50.742Z","approvedBy":"key_071f1ce6242f482aa6a63e358c2fa1b1","signedAt":"2026-11-18T13:42:50.747Z","snapshotHash":"45b7a4409da8d31e4a70e63c2aa9a141a8e910c7a4bf3d41fe8445d639eadb93","priorHash":"f1e63102137f46e07db670dff3211379491d75f112be5551cd63fb0afc7264ed"}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/weeks/{week}":{"get":{"operationId":"getCloseWeeksByWeek","tags":["Close"],"summary":"One week: state, counts now, both hashes, and whether it is final","description":"A week holds the matches whose date (the date their month was assigned by) falls in it. final: every month it cuts is locked. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"week","in":"path","required":true,"description":"An ISO week, YYYY-Www (Monday 00:00 UTC to the next Monday). Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-W\\d{2}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseWeek"},"example":{"object":"close_week","week":"2026-W33","timeZone":"UTC","startsAt":"2026-08-10T00:00:00.000Z","endsAt":"2026-08-17T00:00:00.000Z","months":["2026-08"],"state":"open","counts":{"matched":1,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":1},"preparedBy":null,"preparedAt":null,"approvedBy":null,"signedAt":null,"snapshotHash":null,"priorHash":null,"final":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/weeks/{week}/prepare":{"post":{"operationId":"postCloseWeeksByWeekPrepare","tags":["Close"],"summary":"Prepare a week: open to prepared","description":"Only after the week ends (UTC), and with no exception in it left without a note (409 open_exceptions). 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"week","in":"path","required":true,"description":"An ISO week, YYYY-Www (Monday 00:00 UTC to the next Monday). Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-W\\d{2}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseWeek"},"example":{"object":"close_week","week":"2026-W33","timeZone":"UTC","startsAt":"2026-08-10T00:00:00.000Z","endsAt":"2026-08-17T00:00:00.000Z","months":["2026-08"],"state":"prepared","counts":{"matched":1,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":1},"preparedBy":"key_daaca1db38a3fc4df5e0c943571d7120","preparedAt":"2026-11-18T13:42:50.742Z","approvedBy":null,"signedAt":null,"snapshotHash":null,"priorHash":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/weeks/{week}/approve":{"post":{"operationId":"postCloseWeeksByWeekApprove","tags":["Close"],"summary":"Approve and sign a week","description":"Needs the approve scope, from a key outside the preparer's rotation chain (409 same_approver), with the prior week signed (409 prior_week_open). A week is signed, not locked: its month can change until the month locks, and verify names what changed. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"approve","x-scopes":["read","approve"],"x-scope-mode":"all","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"week","in":"path","required":true,"description":"An ISO week, YYYY-Www (Monday 00:00 UTC to the next Monday). Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-W\\d{2}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloseWeek"},"example":{"object":"close_week","week":"2026-W33","timeZone":"UTC","startsAt":"2026-08-10T00:00:00.000Z","endsAt":"2026-08-17T00:00:00.000Z","months":["2026-08"],"state":"signed","counts":{"matched":1,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":1},"preparedBy":"key_daaca1db38a3fc4df5e0c943571d7120","preparedAt":"2026-11-18T13:42:50.742Z","approvedBy":"key_071f1ce6242f482aa6a63e358c2fa1b1","signedAt":"2026-11-18T13:42:50.747Z","snapshotHash":"45b7a4409da8d31e4a70e63c2aa9a141a8e910c7a4bf3d41fe8445d639eadb93","priorHash":"f1e63102137f46e07db670dff3211379491d75f112be5551cd63fb0afc7264ed","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/weeks/{week}/package":{"get":{"operationId":"getCloseWeeksByWeekPackage","tags":["Close"],"summary":"The week's package: every match, its records and compared amounts","description":"format=json (default) or csv; customer=cus_… cuts it to one customer. final once every month the week cuts is locked. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"week","in":"path","required":true,"description":"An ISO week, YYYY-Www (Monday 00:00 UTC to the next Monday). Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-W\\d{2}$"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"JSON by default; with format=csv, text/csv.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Content-Disposition":{"description":"attachment, with the file's name.","schema":{"type":"string"}},"Close-Week-State":{"description":"The state the file was read in.","schema":{"type":"string"}},"Close-Snapshot-Hash":{"description":"The snapshot hash the file was read at.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"week":{"type":"string"},"timeZone":{"type":"string"},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time"},"months":{"type":"array","items":{"type":"string"}},"state":{"type":"string"},"counts":{"type":"object","properties":{"matched":{"type":"integer"},"exception":{"type":"integer"},"ignored":{"type":"integer"},"pending":{"type":"integer"},"inTransit":{"type":"integer"},"openExceptions":{"type":"integer"},"total":{"type":"integer"}},"additionalProperties":true},"preparedBy":{"type":"string"},"preparedAt":{"type":"string","format":"date-time"},"approvedBy":{"type":"string"},"signedAt":{"type":"string","format":"date-time"},"snapshotHash":{"type":"string"},"priorHash":{"type":"string"},"customer":{"description":"null in the example; holds a value when set."},"final":{"type":"boolean"},"matches":{"type":"array","items":{"type":"object","properties":{"match":{"type":"string"},"payment":{"type":"string"},"paymentType":{"type":"string"},"customer":{"type":"string"},"state":{"type":"string"},"rule":{"type":"string"},"reason":{"description":"null in the example; holds a value when set."},"note":{"description":"null in the example; holds a value when set."},"inTransit":{"type":"boolean"},"carried":{"type":"boolean"},"isReturn":{"type":"boolean"},"reversalOf":{"description":"null in the example; holds a value when set."},"records":{"type":"object","properties":{"provider":{"type":"string"},"rail":{"type":"string"},"chain":{"type":"string"},"book":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"amount":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"fee":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"compared":{"type":"object","properties":{"chain":{"type":"object","properties":{"on":{"type":"string"},"expected":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"seen":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"rail":{"type":"object","properties":{"on":{"type":"string"},"expected":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"seen":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"book":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"variance":{"description":"null in the example; holds a value when set."},"bankLine":{"description":"null in the example; holds a value when set."},"providerLine":{"description":"null in the example; holds a value when set."},"resolvedBy":{"description":"null in the example; holds a value when set."},"resolvedAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"reconcilingItems":{"type":"array"},"statement":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"close_week_package","week":"2026-W33","timeZone":"UTC","startsAt":"2026-08-10T00:00:00.000Z","endsAt":"2026-08-17T00:00:00.000Z","months":["2026-08"],"state":"signed","counts":{"matched":1,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":1},"preparedBy":"key_daaca1db38a3fc4df5e0c943571d7120","preparedAt":"2026-11-18T13:42:50.742Z","approvedBy":"key_071f1ce6242f482aa6a63e358c2fa1b1","signedAt":"2026-11-18T13:42:50.747Z","snapshotHash":"45b7a4409da8d31e4a70e63c2aa9a141a8e910c7a4bf3d41fe8445d639eadb93","priorHash":"f1e63102137f46e07db670dff3211379491d75f112be5551cd63fb0afc7264ed","customer":null,"final":false,"matches":[{"match":"cm_d3acbb884e727232ba097bacddd487ec","payment":"drn_4dc6417e638cce39","paymentType":"cash_out_payment","customer":"cus_1df988d09a99417b83e5b068cfde24c4","state":"matched","rule":"linked","reason":null,"note":null,"inTransit":false,"carried":false,"isReturn":false,"reversalOf":null,"records":{"provider":"cr_7660736abb0a38bf2cd9c8faa17776a0","rail":"cr_f45bab2f280e11d50053584e7fb71258","chain":"cr_fa0948f05ab1d5c68c4f118e23aedd52","book":null},"amount":{"amount":"250.000000","currency":"usdc"},"fee":{"amount":"2.500000","currency":"usdc"},"compared":{"chain":{"on":"gross","expected":{"amount":"250.000000","currency":"usdc"},"seen":{"amount":"250.000000","currency":"usdc"}},"rail":{"on":"settle","expected":{"amount":"247.50","currency":"usd"},"seen":{"amount":"247.50","currency":"usd"}},"book":null},"variance":null,"bankLine":null,"providerLine":null,"resolvedBy":null,"resolvedAt":null}],"reconcilingItems":[],"statement":"A week is signed, not locked: its month can change until the month locks, and verify names what changed. Matched means the records SET holds agree. This is not an audit opinion, a reserve attestation, or a statement that any payment complies with any rule.","sandbox":true}},"text/csv":{"schema":{"type":"string"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/weeks/{week}/verify":{"get":{"operationId":"getCloseWeeksByWeekVerify","tags":["Close"],"summary":"Recompute a signed week's hash; name every match written since it was signed","description":"403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"week","in":"path","required":true,"description":"An ISO week, YYYY-Www (Monday 00:00 UTC to the next Monday). Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-W\\d{2}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"week":{"type":"string"},"snapshotHash":{"type":"string"},"recomputedHash":{"type":"string"},"hashMatches":{"type":"boolean"},"priorWeek":{"type":"string"},"priorHash":{"type":"string"},"priorMatches":{"type":"boolean"},"valid":{"type":"boolean"},"signedAt":{"type":"string","format":"date-time"},"countSigned":{"type":"integer"},"countNow":{"type":"integer"},"changedSinceSigned":{"type":"array"},"changedSinceSignedShown":{"type":"integer"},"final":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"close_week_verification","week":"2026-W33","snapshotHash":"45b7a4409da8d31e4a70e63c2aa9a141a8e910c7a4bf3d41fe8445d639eadb93","recomputedHash":"45b7a4409da8d31e4a70e63c2aa9a141a8e910c7a4bf3d41fe8445d639eadb93","hashMatches":true,"priorWeek":"2026-W32","priorHash":"f1e63102137f46e07db670dff3211379491d75f112be5551cd63fb0afc7264ed","priorMatches":true,"valid":true,"signedAt":"2026-11-18T13:42:50.747Z","countSigned":1,"countNow":1,"changedSinceSigned":[],"changedSinceSignedShown":0,"final":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/quarters/{quarter}":{"get":{"operationId":"getCloseQuartersByQuarter","tags":["Close"],"summary":"A quarter (YYYY-Qn) over three locked months: counts, hashes, each month verified","description":"409 quarter_not_locked names any month not locked; a month before Close's first period is left out. quarterHash is the SHA-256 of the months' snapshot hashes. format=csv adds a period column; customer=cus_… counts one customer. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"quarter","in":"path","required":true,"description":"YYYY-Q1 to YYYY-Q4. Any other value is 404 not_found.","schema":{"type":"string","pattern":"^\\d{4}-Q[1-4]$"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"JSON by default; with format=csv, text/csv with a Close-Quarter-Hash header.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Close-Quarter-Hash":{"description":"format=csv: the quarter's hash.","schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"quarter":{"type":"string"},"timeZone":{"type":"string"},"customer":{"description":"null in the example; holds a value when set."},"months":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string"},"state":{"type":"string"},"counts":{"type":"object","properties":{"matched":{"type":"integer"},"exception":{"type":"integer"},"ignored":{"type":"integer"},"pending":{"type":"integer"},"inTransit":{"type":"integer"},"openExceptions":{"type":"integer"},"total":{"type":"integer"}},"additionalProperties":true},"snapshotHash":{"type":"string"},"priorHash":{"type":["string","null"]},"lockedAt":{"type":"string","format":"date-time"},"verified":{"type":"boolean"}},"additionalProperties":true}},"counts":{"type":"object","properties":{"matched":{"type":"integer"},"exception":{"type":"integer"},"ignored":{"type":"integer"},"pending":{"type":"integer"},"inTransit":{"type":"integer"},"openExceptions":{"type":"integer"},"total":{"type":"integer"}},"additionalProperties":true},"valid":{"type":"boolean"},"quarterHash":{"type":"string"},"positions":{"type":"object","properties":{"checked":{"type":"integer"},"matched":{"type":"integer"},"mismatches":{"type":"integer"},"openMismatches":{"type":"integer"},"unreadable":{"type":"integer"},"notApplicable":{"type":"integer"}},"additionalProperties":true},"matches":{"type":"array","items":{"type":"object","properties":{"period":{"type":"string"},"match":{"type":"string"},"payment":{"type":"string"},"paymentType":{"type":"string"},"customer":{"type":"string"},"state":{"type":"string"},"rule":{"type":"string"},"reason":{"description":"null in the example; holds a value when set."},"note":{"description":"null in the example; holds a value when set."},"inTransit":{"type":"boolean"},"carried":{"type":"boolean"},"isReturn":{"type":"boolean"},"reversalOf":{"description":"null in the example; holds a value when set."},"records":{"type":"object","properties":{"provider":{"type":"string"},"rail":{"type":"string"},"chain":{"type":"string"},"book":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"amount":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"fee":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"compared":{"type":"object","properties":{"chain":{"type":"object","properties":{"on":{"type":"string"},"expected":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"seen":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"rail":{"type":"object","properties":{"on":{"type":"string"},"expected":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"seen":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"book":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"variance":{"description":"null in the example; holds a value when set."},"bankLine":{"description":"null in the example; holds a value when set."},"providerLine":{"description":"null in the example; holds a value when set."},"resolvedBy":{"description":"null in the example; holds a value when set."},"resolvedAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"statement":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"close_quarter","quarter":"2026-Q3","timeZone":"UTC","customer":null,"months":[{"period":"2026-07","state":"locked","counts":{"matched":0,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":0},"snapshotHash":"61bb275c53827e270e73320f729e9293c60120a7ce5ce15b5ccd222806c4e5db","priorHash":null,"lockedAt":"2026-11-18T13:42:50.761Z","verified":true},{"period":"2026-08","state":"locked","counts":{"matched":1,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":1},"snapshotHash":"030e7a1712103bf71936dfd3a46a27ce5fa0ceacf4da7b9d05eb1b58fab1613f","priorHash":"61bb275c53827e270e73320f729e9293c60120a7ce5ce15b5ccd222806c4e5db","lockedAt":"2026-11-18T13:42:50.764Z","verified":true},{"period":"2026-09","state":"locked","counts":{"matched":0,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":0},"snapshotHash":"d3503c554144733349af5c8280f67db59475ca9f693af3e9995b3c26e0a314b5","priorHash":"030e7a1712103bf71936dfd3a46a27ce5fa0ceacf4da7b9d05eb1b58fab1613f","lockedAt":"2026-11-18T13:42:50.767Z","verified":true}],"counts":{"matched":1,"exception":0,"ignored":0,"pending":0,"inTransit":0,"openExceptions":0,"total":1},"valid":true,"quarterHash":"1a2a44f3e5f0b134a089c7de16105843a03a592eb33803aea63c8df694546f01","positions":{"checked":0,"matched":0,"mismatches":0,"openMismatches":0,"unreadable":0,"notApplicable":0},"matches":[{"period":"2026-08","match":"cm_d3acbb884e727232ba097bacddd487ec","payment":"drn_4dc6417e638cce39","paymentType":"cash_out_payment","customer":"cus_1df988d09a99417b83e5b068cfde24c4","state":"matched","rule":"linked","reason":null,"note":null,"inTransit":false,"carried":false,"isReturn":false,"reversalOf":null,"records":{"provider":"cr_7660736abb0a38bf2cd9c8faa17776a0","rail":"cr_f45bab2f280e11d50053584e7fb71258","chain":"cr_fa0948f05ab1d5c68c4f118e23aedd52","book":null},"amount":{"amount":"250.000000","currency":"usdc"},"fee":{"amount":"2.500000","currency":"usdc"},"compared":{"chain":{"on":"gross","expected":{"amount":"250.000000","currency":"usdc"},"seen":{"amount":"250.000000","currency":"usdc"}},"rail":{"on":"settle","expected":{"amount":"247.50","currency":"usd"},"seen":{"amount":"247.50","currency":"usd"}},"book":null},"variance":null,"bankLine":null,"providerLine":null,"resolvedBy":null,"resolvedAt":null}],"statement":"Three locked months read together. quarterHash is the SHA-256 of the months' snapshot hashes in order, and each month's hash already chains to the month before. This is not an audit opinion, a reserve attestation, or a statement that SET's records meet any reporting duty.","sandbox":true}},"text/csv":{"schema":{"type":"string"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/close/positions":{"get":{"operationId":"getClosePositions","tags":["Close"],"summary":"Position checks: a wallet's provider balance against its chain balance at a block","description":"state: matched, balance_mismatch, unreadable, or not_applicable (a sandbox wallet: the provider's sandbox moves no money on chain). Newest first. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"period","in":"query","required":false,"schema":{"type":"string"}},{"name":"wallet","in":"query","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/ClosePosition"}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"cp_d174a9a9b7a4432da50164be8bdb66c0","object":"close_position","wallet":"bw_sim_0014","customer":"cus_1df988d09a99417b83e5b068cfde24c4","chain":"base","asset":"usdc","address":"0x71374def2c84f44c57b10c293b25c5b17d137f84","block":null,"ledgerBalance":null,"chainBalance":null,"variance":null,"comparedDecimals":null,"state":"not_applicable","reason":"sandbox","period":"2026-11","day":"2026-11-18","checkedAt":"2026-11-18T13:42:50.780Z","note":null,"notedBy":null,"notedAt":null}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/close/positions/check":{"post":{"operationId":"postClosePositionsCheck","tags":["Close"],"summary":"Check up to five of your wallets not yet checked today","description":"Answers 200. A sandbox key's wallets always read not_applicable. Production checks every wallet once a day on its own. Each check costs a write from Close's budget (429 close_budget_reached). 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"checked":{"type":"integer"},"mismatches":{"type":"integer"},"remaining":{"type":"boolean"},"budgetReached":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"customer":{"type":"string"},"chain":{"type":"string"},"asset":{"type":"string"},"address":{"type":"string"},"block":{"description":"null in the example; holds a value when set."},"ledgerBalance":{"description":"null in the example; holds a value when set."},"chainBalance":{"description":"null in the example; holds a value when set."},"variance":{"description":"null in the example; holds a value when set."},"comparedDecimals":{"description":"null in the example; holds a value when set."},"state":{"type":"string"},"reason":{"type":"string"},"period":{"type":"string"},"day":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"},"note":{"description":"null in the example; holds a value when set."},"notedBy":{"description":"null in the example; holds a value when set."},"notedAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"close_position_check","checked":1,"mismatches":0,"remaining":false,"budgetReached":false,"data":[{"id":"cp_d174a9a9b7a4432da50164be8bdb66c0","object":"close_position","wallet":"bw_sim_0014","customer":"cus_1df988d09a99417b83e5b068cfde24c4","chain":"base","asset":"usdc","address":"0x71374def2c84f44c57b10c293b25c5b17d137f84","block":null,"ledgerBalance":null,"chainBalance":null,"variance":null,"comparedDecimals":null,"state":"not_applicable","reason":"sandbox","period":"2026-11","day":"2026-11-18","checkedAt":"2026-11-18T13:42:50.780Z","note":null,"notedBy":null,"notedAt":null}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/close/watched_addresses":{"get":{"operationId":"getCloseWatchedAddresses","tags":["Close"],"summary":"Addresses Close reads on chain for you","description":"403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which). 403 close_watch_off while address watching is switched off for this deployment (GET /v1/capabilities features.closeWatch.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"},{"error":"close_watch_off","status":403,"capability":"features.closeWatch"}],"parameters":[{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/WatchedAddress"}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"cw_6c1e4ef1c8554721ab35060782878252","object":"close_watched_address","chain":"base","asset":"usdc","address":"0xff29233ecbda7d7d10bd67c5e27e852e191fbf16","label":"Treasury (Base)","state":"watching","screening":"not_screened","startBlock":900,"nextBlock":900,"transfers":0,"scannedAt":null,"problem":null,"createdBy":"key_daaca1db38a3fc4df5e0c943571d7120","createdAt":"2026-11-18T13:42:50.800Z"}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"post":{"operationId":"postCloseWatchedAddresses","tags":["Close"],"summary":"Watch an address: SET reads its USDC transfers on Base or Ethereum","description":"Read from fromBlock (default: the chain's head now) onward, a range a run, a few blocks behind the head. Each transfer becomes a verified chain record, matched like an uploaded row; one nothing explains is a missing_provider exception. Ten addresses at most. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which). 403 close_watch_off while address watching is switched off for this deployment (GET /v1/capabilities features.closeWatch.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"},{"error":"close_watch_off","status":403,"capability":"features.closeWatch"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["base","ethereum"]},"address":{"type":"string","description":"0x…"},"label":{"type":"string","description":"1 to 80 characters"},"fromBlock":{"type":"integer"}},"required":["chain","address","label"],"additionalProperties":true}}}},"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchedAddress"},"example":{"id":"cw_6c1e4ef1c8554721ab35060782878252","object":"close_watched_address","chain":"base","asset":"usdc","address":"0xff29233ecbda7d7d10bd67c5e27e852e191fbf16","label":"Treasury (Base)","state":"watching","screening":"not_screened","startBlock":900,"nextBlock":900,"transfers":0,"scannedAt":null,"problem":null,"createdBy":"key_daaca1db38a3fc4df5e0c943571d7120","createdAt":"2026-11-18T13:42:50.800Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/close/watched_addresses/{watch}":{"get":{"operationId":"getCloseWatchedAddressesByWatch","tags":["Close"],"summary":"One watched address, with the next block it reads","description":"403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which). 403 close_watch_off while address watching is switched off for this deployment (GET /v1/capabilities features.closeWatch.status says which).","x-scope":"read","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"},{"error":"close_watch_off","status":403,"capability":"features.closeWatch"}],"parameters":[{"name":"watch","in":"path","required":true,"schema":{"type":"string","pattern":"^cw_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchedAddress"},"example":{"id":"cw_6c1e4ef1c8554721ab35060782878252","object":"close_watched_address","chain":"base","asset":"usdc","address":"0xff29233ecbda7d7d10bd67c5e27e852e191fbf16","label":"Treasury (Base)","state":"watching","screening":"not_screened","startBlock":900,"nextBlock":900,"transfers":0,"scannedAt":null,"problem":null,"createdBy":"key_daaca1db38a3fc4df5e0c943571d7120","createdAt":"2026-11-18T13:42:50.800Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/close/watched_addresses/{watch}/scan":{"post":{"operationId":"postCloseWatchedAddressesByWatchScan","tags":["Close"],"summary":"Read the next range now","description":"The cron reads one address a run; this reads this one now. 429 close_budget_reached writes nothing and keeps the cursor. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which). 403 close_watch_off while address watching is switched off for this deployment (GET /v1/capabilities features.closeWatch.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"},{"error":"close_watch_off","status":403,"capability":"features.closeWatch"}],"parameters":[{"name":"watch","in":"path","required":true,"schema":{"type":"string","pattern":"^cw_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"read":{"type":"boolean"},"recorded":{"type":"integer"},"known":{"type":"integer"},"matched":{"type":"integer"},"exceptions":{"type":"integer"},"nextBlock":{"type":"integer"},"budgetReached":{"type":"boolean"},"caughtUp":{"type":"boolean"},"watchedAddress":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"chain":{"type":"string"},"asset":{"type":"string"},"address":{"type":"string"},"label":{"type":"string"},"state":{"type":"string"},"screening":{"type":"string"},"startBlock":{"type":"integer"},"nextBlock":{"type":"integer"},"transfers":{"type":"integer"},"scannedAt":{"type":"string","format":"date-time"},"problem":{"description":"null in the example; holds a value when set."},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"close_watch_pass","read":true,"recorded":2,"known":0,"matched":0,"exceptions":2,"nextBlock":991,"budgetReached":false,"caughtUp":true,"watchedAddress":{"id":"cw_6c1e4ef1c8554721ab35060782878252","object":"close_watched_address","chain":"base","asset":"usdc","address":"0xff29233ecbda7d7d10bd67c5e27e852e191fbf16","label":"Treasury (Base)","state":"watching","screening":"not_screened","startBlock":900,"nextBlock":991,"transfers":2,"scannedAt":"2026-11-18T13:42:50.806Z","problem":null,"createdBy":"key_daaca1db38a3fc4df5e0c943571d7120","createdAt":"2026-11-18T13:42:50.800Z"},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/close/watched_addresses/{watch}/stop":{"post":{"operationId":"postCloseWatchedAddressesByWatchStop","tags":["Close"],"summary":"Stop watching; what was recorded stays","description":"403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which). 403 close_watch_off while address watching is switched off for this deployment (GET /v1/capabilities features.closeWatch.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"},{"error":"close_watch_off","status":403,"capability":"features.closeWatch"}],"parameters":[{"name":"watch","in":"path","required":true,"schema":{"type":"string","pattern":"^cw_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchedAddress"},"example":{"id":"cw_6c1e4ef1c8554721ab35060782878252","object":"close_watched_address","chain":"base","asset":"usdc","address":"0xff29233ecbda7d7d10bd67c5e27e852e191fbf16","label":"Treasury (Base)","state":"stopped","screening":"not_screened","startBlock":900,"nextBlock":991,"transfers":2,"scannedAt":"2026-11-18T13:42:50.812Z","problem":null,"createdBy":"key_daaca1db38a3fc4df5e0c943571d7120","createdAt":"2026-11-18T13:42:50.800Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/close/positions/{position}/note":{"post":{"operationId":"postClosePositionsByPositionNote","tags":["Close"],"summary":"Note a balance mismatch","description":"A mismatch in a month needs a note before the month is prepared (409 open_position_mismatches). 409 period_locked once the month is prepared or locked. 403 close_off while SET Close is switched off for this deployment (GET /v1/capabilities features.close.status says which).","x-scope":"write","x-set-switches":[{"error":"close_off","status":403,"capability":"features.close"}],"parameters":[{"name":"position","in":"path","required":true,"schema":{"type":"string","pattern":"^cp_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"note":{"type":"string","description":"1 to 500 characters"}},"required":["note"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClosePosition"},"example":{"id":"cp_67735dd209b9401da4e3facef0898779","object":"close_position","wallet":"w_b0ae69517ba1","customer":"cus_0c30cc02dccc6555332c3b6d0834c3e7","chain":"base","asset":"usdc","address":"0x606537834d63130e3dc473aa7e0029f1b2b09b57","block":"21480003","ledgerBalance":"1250.500000","chainBalance":"1249.500000","variance":"-1.000000","comparedDecimals":2,"state":"balance_mismatch","reason":null,"period":"2026-11","day":"2026-11-18","checkedAt":"2026-11-18T13:42:50.786Z","note":"A 1.00 USDC deposit the provider credited before the chain read saw it; confirmed on chain the next block.","notedBy":"key_daaca1db38a3fc4df5e0c943571d7120","notedAt":"2026-11-18T13:42:50.793Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/events":{"get":{"operationId":"getEvents","tags":["Events"],"summary":"Every event, in order","description":"Oldest first by seq; every event carries its seq. Narrow with type and createdAfter; resume with after.","x-scope":"read","parameters":[{"name":"after","in":"query","required":false,"schema":{"type":"string"},"description":"The id of the last event you processed: only events after it, in seq order."},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default."},{"name":"type","in":"query","required":false,"schema":{"type":"string"},"description":"An event type (payout.paid), or a prefix ending in a dot (payout.)."},{"name":"createdAfter","in":"query","required":false,"schema":{"type":"string"},"description":"An ISO 8601 time: only events created after it."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/Event"}},"hasMore":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"evt_81e1ff6f096d4308a67938e92c42d49a","object":"event","type":"return_addresses.updated","api":"set_api","seq":1,"livemode":false,"createdAt":"2026-11-18T21:26:22.072Z","data":{"object":"return_addresses","evm":"0x2222222222222222222222222222222222222222","solana":null,"appliesTo":{"evm":["base","ethereum"],"solana":["solana"]},"screening":{"evm":"not_screened","solana":null}}},{"id":"evt_610b22127e6c441aaba59d76e17942b3","object":"event","type":"customer.updated","api":"set_api","seq":2,"livemode":false,"createdAt":"2026-11-18T21:26:22.114Z","data":{"id":"cus_06fba312137d45f396fd4ec7e1a07bae","externalId":"merchant-001","type":"business","status":"approved"}}],"hasMore":false}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/events/{event}":{"get":{"operationId":"getEventsByEvent","tags":["Events"],"summary":"One event and its delivery","x-scope":"read","parameters":[{"name":"event","in":"path","required":true,"schema":{"type":"string","pattern":"^evt_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"},"example":{"id":"evt_c088fef65dc644c5ad67f85a3b0a080b","object":"event","type":"cash_out_payment.screened","api":"set_api","livemode":false,"createdAt":"2026-11-18T21:29:36.292Z","data":{"id":"sim_drain_f032fc28-0d1c-4c63-928f-7dfa6fc0804f","object":"cash_out_payment","cashOutAddress":"la_sim_0004","customer":"cus_efffc26105d04fd4b922841230c308ea","state":"funds_received","currency":"usdc","amount":"25.00","developerFee":"0.25","depositTxHash":null,"payoutCurrency":"usd","paidAmount":null,"exchangeRate":null,"paidToBank":false,"requestedAt":"2026-11-18T21:29:36.288Z","sentAt":null,"paidAt":null,"businessDaysToPaid":null,"late":false,"senderScreening":"under_review","restriction":null,"railReference":null,"senderState":"none","sourceDeposit":null,"livemode":false,"createdAt":"2026-11-18T21:29:36.288Z","settledAt":null},"delivery":{"delivered":true,"deliveredAt":"2026-11-18T21:29:36.396Z","attempts":1,"lastStatus":204,"nextAttemptAt":null,"filtered":false},"endpointDeliveries":[]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/events/{event}/redeliver":{"post":{"operationId":"postEventsByEventRedeliver","tags":["Events"],"summary":"Send it again","x-scope":"write","parameters":[{"name":"event","in":"path","required":true,"schema":{"type":"string","pattern":"^evt_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"202":{"description":"Scheduled.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"},"example":{"id":"evt_4074cf7db72048bfb9c4343205675cc0","object":"event","type":"customer.updated","api":"set_api","livemode":false,"createdAt":"2026-11-18T21:34:41.600Z","data":{"id":"cus_1c0f4109e9874fdf9d4418eb4bb23dee","externalId":"hooks-1","type":"business","status":"approved"},"delivery":{"delivered":false,"deliveredAt":null,"attempts":0,"lastStatus":204,"nextAttemptAt":"2026-11-18T21:34:41.695Z","filtered":false},"redelivery":"scheduled"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/events/{event}/attempts":{"get":{"operationId":"getEventsByEventAttempts","tags":["Events"],"summary":"Every delivery attempt, with what your server answered","description":"Every delivery attempt of the event to every endpoint, oldest first: endpoint (primary or a we_ id), attempt number, attemptedAt, the HTTP status your server answered (0 when it gave none; error is timeout or network), durationMs, outcome (delivered, failed, no_answer) and nextAttemptAt. Never a body. Kept 30 days.","x-scope":"read","parameters":[{"name":"event","in":"path","required":true,"schema":{"type":"string","pattern":"^evt_[0-9a-f]{32}$"}},{"name":"endpoint","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"event":{"type":"string"},"endpoint":{"type":"string"},"attempt":{"type":"integer"},"attemptedAt":{"type":"string","format":"date-time"},"status":{"type":"integer"},"durationMs":{"type":"integer"},"outcome":{"type":"string"},"error":{"type":["string","null"]},"nextAttemptAt":{"type":"string","format":"date-time"},"livemode":{"type":"boolean"}},"additionalProperties":true}},"retentionDays":{"type":"integer"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"wat_1","object":"webhook_attempt","event":"evt_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","endpoint":"primary","attempt":1,"attemptedAt":"2026-11-18T21:34:56.758Z","status":500,"durationMs":1,"outcome":"failed","error":null,"nextAttemptAt":"2026-11-18T21:36:56.764Z","livemode":false},{"id":"wat_2","object":"webhook_attempt","event":"evt_aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","endpoint":"we_9f46c4b9ee61454f9ad184c580c7cb68","attempt":1,"attemptedAt":"2026-11-18T21:34:56.776Z","status":0,"durationMs":0,"outcome":"no_answer","error":"timeout","nextAttemptAt":"2026-11-18T21:36:56.777Z","livemode":false}],"retentionDays":30,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/webhook_test":{"post":{"operationId":"postWebhookTest","tags":["Events"],"summary":"A signed ping to your webhook","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"},"example":{"id":"evt_fea720b91b0341c0beaca96591786c93","object":"event","type":"ping","api":"account","livemode":false,"createdAt":"2026-11-18T21:30:23.099Z","data":{"object":"ping","platform":"ptr_sandbox_platform","message":"SET webhook test. No money moved."},"delivery":{"delivered":false,"deliveredAt":null,"attempts":0,"lastStatus":null,"nextAttemptAt":"2026-11-18T21:30:23.099Z","filtered":false},"webhookUrl":"https://webhooks.sandbox.invalid/set-webhooks","deliveryState":"scheduled"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/webhook_secret":{"get":{"operationId":"getWebhookSecret","tags":["Events"],"summary":"Webhook URL and signing secret (before SET-Version 2026-11-13)","description":"From SET-Version 2026-11-13 secret is null with secretPrefix, secretVersion and secretHidden \"shown_once\": the first endpoint's secret is returned once by POST /v1/webhook_endpoint/rotate_secret.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"secret":{"type":"string"},"secretVersion":{"type":"integer"},"version":{"type":"integer"},"header":{"type":"string"},"scheme":{"type":"string"}},"additionalProperties":true},"example":{"url":"https://webhooks.sandbox.invalid/set-webhooks","secret":"set_whsec_…","secretVersion":0,"version":0,"header":"SET-Signature","scheme":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\" with this secret>"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/webhook_endpoint":{"get":{"operationId":"getWebhookEndpoint","tags":["Events"],"summary":"Your webhook URL and event filter","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"},"example":{"object":"webhook_endpoint","url":"https://slow.hooks.example.com/set","events":[],"secretVersion":0,"secretRotatedAt":null,"status":"disabled","disabledAt":"2026-11-18T21:34:58.135Z","signature":"SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">. During a rotation a second v1, under the previous secret, is added; accept either.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"post":{"operationId":"postWebhookEndpoint","tags":["Events"],"summary":"Set your webhook URL and event filter","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":["string","null"]},"events":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"},"example":{"object":"webhook_endpoint","url":"https://slow.hooks.example.com/set","events":["payout.*","ping"],"secretVersion":0,"secretRotatedAt":null,"status":"disabled","disabledAt":"2026-11-18T21:34:58.135Z","signature":"SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">. During a rotation a second v1, under the previous secret, is added; accept either.","sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/webhook_endpoints":{"get":{"operationId":"getWebhookEndpoints","tags":["Events"],"summary":"Every webhook endpoint","description":"The first one (id \"primary\", POST /v1/webhook_endpoint) and up to 10 more. Each with status and its delivery health: failures (failed deliveries in a row) and failingSince.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"$ref":"#/components/schemas/WebhookEndpoint"}},"maxEndpoints":{"type":"integer"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"primary","object":"webhook_endpoint","url":"https://webhooks.sandbox.invalid/set-webhooks","events":[],"primary":true,"status":"enabled","disabledAt":null,"failures":0,"failingSince":null},{"id":"we_5247c3ce67de458d9edfc2ae2c01c8db","object":"webhook_endpoint","url":"https://a.hooks.example.com/set","events":["customer.*"],"secretVersion":0,"secretRotatedAt":null,"livemode":false,"createdAt":"2026-11-18T21:34:41.534Z","updatedAt":"2026-11-18T21:34:41.534Z","status":"enabled","disabledAt":null,"failures":0,"failingSince":null}],"maxEndpoints":10,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"post":{"operationId":"postWebhookEndpoints","tags":["Events"],"summary":"Add a webhook endpoint","description":"It receives events recorded from now on, signed with its own secret (in this answer). Each delivery carries SET-Webhook-Endpoint with the endpoint's id.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}}},"required":["url"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"},"example":{"id":"we_c585129dbabe48f68dc8b9bb704a1ada","object":"webhook_endpoint","url":"https://hooks.example.com/incidents","events":["incident.*"],"secretVersion":0,"secretRotatedAt":null,"livemode":false,"createdAt":"2026-11-18T21:28:58.931Z","updatedAt":"2026-11-18T21:28:58.931Z","status":"enabled","disabledAt":null,"failures":0,"failingSince":null,"secret":"set_whsec_…","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/webhook_endpoints/{id}":{"get":{"operationId":"getWebhookEndpointsById","tags":["Events"],"summary":"One webhook endpoint, with its secret for a write key (before SET-Version 2026-11-13)","description":"secret is null unless the key has the write scope: a key without it gets secretPrefix (the first 8 characters after set_whsec_), secretVersion and secretHidden \"write_scope_required\". From SET-Version 2026-11-13 no read returns a secret, whatever the key (secretHidden \"shown_once\"): store the secret from create or rotate_secret.","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"},"example":{"id":"we_dc481911306446ef9b0c0838e15d42a1","object":"webhook_endpoint","url":"https://a.hooks.example.com/set","events":[],"secretVersion":0,"secretRotatedAt":null,"livemode":false,"createdAt":"2026-11-18T21:35:00.249Z","updatedAt":"2026-11-18T21:35:00.249Z","status":"disabled","disabledAt":"2026-11-18T21:35:00.259Z","failures":20,"failingSince":"2026-11-16T21:35:00.256Z","secret":null,"secretPrefix":"6b4880f1","secretHidden":"shown_once","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"post":{"operationId":"postWebhookEndpointsById","tags":["Events"],"summary":"Change a webhook endpoint's URL or event filter","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"},"example":{"id":"we_dc481911306446ef9b0c0838e15d42a1","object":"webhook_endpoint","url":"https://a.hooks.example.com/set","events":[],"secretVersion":0,"secretRotatedAt":null,"livemode":false,"createdAt":"2026-11-18T21:35:00.249Z","updatedAt":"2026-11-18T21:35:00.309Z","status":"enabled","disabledAt":null,"failures":0,"failingSince":null,"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"delete":{"operationId":"deleteWebhookEndpointsById","tags":["Events"],"summary":"Delete a webhook endpoint","description":"Its undelivered events are dropped; they stay listed.","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object as it now stands (deleted: true, or no longer active). A repeat answers the same and changes nothing.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"},"example":{"id":"we_4aa2cb02e85a4cb397d0456ec9b4cfb3","object":"webhook_endpoint","deleted":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/webhook_endpoints/{id}/rotate_secret":{"post":{"operationId":"postWebhookEndpointsByIdRotateSecret","tags":["Events"],"summary":"Rotate an endpoint's secret","description":"The previous secret also signs for 24 hours.","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"},"example":{"id":"we_ee3ef9e374974b35ac0a21422a745887","object":"webhook_endpoint","url":"https://b.hooks.example.com/set","events":[],"secretVersion":1,"secretRotatedAt":"2026-11-18T21:34:57.325Z","livemode":false,"createdAt":"2026-11-18T21:34:57.299Z","updatedAt":"2026-11-18T21:34:57.325Z","status":"enabled","disabledAt":null,"failures":0,"failingSince":null,"secret":"set_whsec_…","previousSecretValidUntil":"2026-11-19T21:34:57.325Z"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WebhookEndpoint"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/kickbacks":{"get":{"operationId":"getKickbacks","tags":["Reports"],"summary":"Your monthly fee share statements","description":"Past fee share statements, if any. SET pays out no fee share and collects no platform fee; a fee share SET sets in writing is credited against SET's later fees.","x-scope":"read","parameters":[{"name":"month","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"kickbackBps":{"type":"integer"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"month":{"type":"string"},"currency":{"type":"string"},"movements":{"type":"integer"},"volume":{"type":"string"},"setFee":{"type":"string"},"kickbackBps":{"type":"integer"},"share":{"type":"string"},"markup":{"type":"string"},"amount":{"type":"string"},"state":{"type":"string"},"payout":{"description":"null in the example; holds a value when set."},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","kickbackBps":50,"data":[{"id":"kb_1e04ae392b4547ba8449a15acbd9edea","object":"kickback","month":"2026-11","currency":"cop","movements":1,"volume":"250000.00","setFee":"2500.00","kickbackBps":50,"share":"1250.00","markup":"1250.00","amount":"2500.00","state":"manual","payout":null,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:28:25.876Z","updatedAt":"2026-11-18T21:28:25.876Z"},{"id":"kb_698be0287f9e483c8e07eec0bbd64404","object":"kickback","month":"2026-11","currency":"eur","movements":1,"volume":"200.00","setFee":"2.00","kickbackBps":50,"share":"1.00","markup":"1.00","amount":"2.00","state":"manual","payout":null,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:28:25.876Z","updatedAt":"2026-11-18T21:28:25.876Z"}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/kickback_destination":{"get":{"operationId":"getKickbackDestination","tags":["Reports"],"summary":"Retired: answers 410 fee_share_payout_retired","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"kickbackBps":{"type":"integer"},"destination":{"description":"null in the example; holds a value when set."},"treasuryReady":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"kickback_destination","kickbackBps":0,"destination":null,"treasuryReady":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"post":{"operationId":"postKickbackDestination","tags":["Reports"],"summary":"Retired: answers 410 fee_share_payout_retired","x-scope":"write","x-set-account-type":"platform","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"kind":{"type":"string","enum":["custodial_wallet","wallet","bank"]},"wallet":{"type":"string"},"chain":{"type":"string","description":"A chain.","enum":["base","ethereum","solana"]},"address":{"type":"string"},"currency":{"type":"string","description":"A fiat currency.","enum":["usd","eur","gbp","mxn","brl","cop"]}},"required":["kind"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"kickbackBps":{"type":"integer"},"destination":{"type":"object","properties":{"kind":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"state":{"type":"string"}},"additionalProperties":true},"treasuryReady":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"kickback_destination","kickbackBps":0,"destination":{"kind":"custodial_wallet","currency":"usdc","rail":"base","address":"0x3a5d2fefccd4973b5b2ed48ca551529c7a2cb8b9","wallet":"bw_sim_0004","state":"active"},"treasuryReady":true,"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"kickbackBps":{"type":"integer"},"destination":{"type":"object","properties":{"kind":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"address":{"type":"string"},"wallet":{"type":"string"},"state":{"type":"string"}},"additionalProperties":true},"treasuryReady":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/webhook_endpoint/rotate_secret":{"post":{"operationId":"postWebhookEndpointRotateSecret","tags":["Events"],"summary":"Rotate the signing secret","description":"The previous secret co-signs for 24 hours.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"secret":{"type":"string"},"version":{"type":"integer"},"previousSignsUntil":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"webhook_secret","secret":"set_whsec_…","version":1,"previousSignsUntil":"2026-11-19T21:34:57.333Z","sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"secret":{"type":"string"},"version":{"type":"integer"},"previousSignsUntil":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/exchange_rates":{"get":{"operationId":"getExchangeRates","tags":["Reports"],"summary":"The provider's current rate, and an estimate","x-scope":"read","parameters":[{"name":"from","in":"query","required":false,"schema":{"type":"string"}},{"name":"to","in":"query","required":false,"schema":{"type":"string"}},{"name":"amount","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"from":{"type":"string"},"to":{"type":"string"},"midmarketRate":{"type":"string"},"buyRate":{"type":"string"},"sellRate":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"locked":{"type":"boolean"},"notice":{"type":"string"},"source":{"type":"string"},"sandbox":{"type":"boolean"},"estimate":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"setFeeBps":{"type":"integer"},"setFee":{"type":"string"},"amountAfterSetFee":{"type":"string"},"rate":{"type":"string"},"estimatedAmount":{"type":"string"},"estimatedCurrency":{"type":"string"},"basis":{"type":"string"},"excludes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"additionalProperties":true},"example":{"object":"exchange_rate","from":"usd","to":"eur","midmarketRate":"0.90000","buyRate":"0.89550","sellRate":"0.90450","updatedAt":"2026-11-18T21:26:22.737Z","locked":false,"notice":"Not a locked rate: the provider offers no quote that locks a rate for a period of time. This is the provider's current rate, given as an estimate; the rate applied when a payment converts can differ.","source":"https://simpleeasytransactions.com/docs/set-api/exchange-rates","sandbox":true,"estimate":{"amount":"5000.00","currency":"usd","setFeeBps":100,"setFee":"50.00","amountAfterSetFee":"4950.00","rate":"0.89550","estimatedAmount":"4432.72","estimatedCurrency":"eur","basis":"SET's fee is taken first; the rest converts at the provider's current buy rate, rounded down.","excludes":["The provider's exchange fee on the payment, reported per payment once it converts","network (gas) fees"]}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/reports/monthly":{"get":{"operationId":"getReportsMonthly","tags":["Reports"],"summary":"A month's totals","x-scope":"read","parameters":[{"name":"month","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"type":{"type":"string"},"month":{"type":"string"},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"additionalProperties":true},"timeBasis":{"type":"string"},"livemode":{"type":"boolean"},"deposits":{"type":"object","properties":{"count":{"type":"integer"},"byState":{"type":"object","properties":{"payment_processed":{"type":"integer"}},"additionalProperties":true},"currencies":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"count":{"type":"integer"},"byState":{"type":"object","properties":{"payment_processed":{"type":"integer"}},"additionalProperties":true},"amount":{"type":"string"},"developerFees":{"type":"string"},"exchangeFees":{"type":"string"},"amountsMissing":{"type":"integer"},"received":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string"},"count":{"type":"integer"},"amount":{"type":"string"},"gasFees":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}}},"additionalProperties":true},"cashOutPayments":{"type":"object","properties":{"count":{"type":"integer"},"byState":{"type":"object","properties":{"payment_processed":{"type":"integer"}},"additionalProperties":true},"currencies":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"count":{"type":"integer"},"byState":{"type":"object","properties":{"payment_processed":{"type":"integer"}},"additionalProperties":true},"amount":{"type":"string"},"developerFees":{"type":"string"},"amountsMissing":{"type":"integer"},"paidToBank":{"type":"object","properties":{"count":{"type":"integer"},"amount":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}},"additionalProperties":true},"cardPayments":{"type":"array"},"complete":{"type":"boolean"},"notes":{"type":"array","items":{"type":"string"}},"generatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"report","type":"monthly","month":"2026-11","period":{"from":"2026-11-01T00:00:00.000Z","to":"2026-12-01T00:00:00.000Z"},"timeBasis":"createdAt, UTC","livemode":false,"deposits":{"count":4,"byState":{"payment_processed":4},"currencies":[{"currency":"eur","count":1,"byState":{"payment_processed":1},"amount":"750.00","developerFees":"7.50","exchangeFees":"0.00","amountsMissing":0,"received":[{"asset":"eurc-base","count":1,"amount":"742.50","gasFees":"0.00"}]},{"currency":"usd","count":3,"byState":{"payment_processed":3},"amount":"8000.00","developerFees":"10.00","exchangeFees":"0.00","amountsMissing":0,"received":[{"asset":"usdc-base","count":3,"amount":"7990.00","gasFees":"0.00"}]}]},"cashOutPayments":{"count":3,"byState":{"payment_processed":3},"currencies":[{"currency":"usdc","count":3,"byState":{"payment_processed":3},"amount":"7250.00","developerFees":"72.50","amountsMissing":0,"paidToBank":{"count":3,"amount":"7250.00"}}]},"cardPayments":[],"complete":true,"notes":["Amounts are exact sums of what the provider reported per payment; a payment the provider has not reported an amount for counts in amountsMissing.","Deposit amounts are in the currency received; received is in the asset delivered, after fees. Cash-Out payment amounts are in the stablecoin received."],"generatedAt":"2026-11-18T21:26:23.238Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/reports/payouts":{"get":{"operationId":"getReportsPayouts","tags":["Reports"],"summary":"What reached the merchant's banks in a month","x-scope":"read","parameters":[{"name":"month","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"type":{"type":"string"},"month":{"type":"string"},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"additionalProperties":true},"livemode":{"type":"boolean"},"data":{"type":"array"},"totals":{"type":"array"},"notes":{"type":"array","items":{"type":"string"}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"report","type":"payouts","month":"2026-11","period":{"from":"2026-11-01T00:00:00.000Z","to":"2026-12-01T00:00:00.000Z"},"livemode":false,"data":[],"totals":[],"notes":["Paid amounts are the provider's receipt amounts; SET never works them out."],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/reports/payout_timing":{"get":{"operationId":"getReportsPayoutTiming","tags":["Reports"],"summary":"A month's payout timing in US business days","description":"Every bank payout, withdrawal, SWIFT transfer and Cash-Out payment requested in the month (New York date), counted by outcome and by business days to paid: 0, 1, 2 or 3+. Business days are the weekdays the Federal Reserve is open. late: unpaid after 2 business days, or paid after them; each such object also raises <object>.late once.","x-scope":"read","parameters":[{"name":"month","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"month":{"type":"string"},"livemode":{"type":"boolean"},"lateAfterBusinessDays":{"type":"integer"},"calendar":{"type":"string"},"kinds":{"type":"object","properties":{"payout":{"type":"object","properties":{"requested":{"type":"integer"},"paid":{"type":"integer"},"paidWithin":{"type":"object","properties":{"0":{"type":"integer"},"1":{"type":"integer"},"2":{"type":"integer"},"3+":{"type":"integer"}},"additionalProperties":true},"late":{"type":"integer"},"open":{"type":"integer"},"stopped":{"type":"integer"}},"additionalProperties":true},"wallet_withdrawal":{"type":"object","properties":{"requested":{"type":"integer"},"paid":{"type":"integer"},"paidWithin":{"type":"object","properties":{"0":{"type":"integer"},"1":{"type":"integer"},"2":{"type":"integer"},"3+":{"type":"integer"}},"additionalProperties":true},"late":{"type":"integer"},"open":{"type":"integer"},"stopped":{"type":"integer"}},"additionalProperties":true},"transfer":{"type":"object","properties":{"requested":{"type":"integer"},"paid":{"type":"integer"},"paidWithin":{"type":"object","properties":{"0":{"type":"integer"},"1":{"type":"integer"},"2":{"type":"integer"},"3+":{"type":"integer"}},"additionalProperties":true},"late":{"type":"integer"},"open":{"type":"integer"},"stopped":{"type":"integer"}},"additionalProperties":true},"cash_out_payment":{"type":"object","properties":{"requested":{"type":"integer"},"paid":{"type":"integer"},"paidWithin":{"type":"object","properties":{"0":{"type":"integer"},"1":{"type":"integer"},"2":{"type":"integer"},"3+":{"type":"integer"}},"additionalProperties":true},"late":{"type":"integer"},"open":{"type":"integer"},"stopped":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true},"notes":{"type":"array","items":{"type":"string"}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"payout_timing_report","month":"2026-11","livemode":false,"lateAfterBusinessDays":2,"calendar":"US business days: weekdays the Federal Reserve is open, by New York date (federalreserve.gov/aboutthefed/k8.htm)","kinds":{"payout":{"requested":6,"paid":4,"paidWithin":{"0":0,"1":2,"2":1,"3+":1},"late":1,"open":1,"stopped":1},"wallet_withdrawal":{"requested":0,"paid":0,"paidWithin":{"0":0,"1":0,"2":0,"3+":0},"late":0,"open":0,"stopped":0},"transfer":{"requested":0,"paid":0,"paidWithin":{"0":0,"1":0,"2":0,"3+":0},"late":0,"open":0,"stopped":0},"cash_out_payment":{"requested":0,"paid":0,"paidWithin":{"0":0,"1":0,"2":0,"3+":0},"late":0,"open":0,"stopped":0}},"notes":["requestedAt: when the payout could first be sent (after any approval or scheduleAt); a Cash-Out payment's, when the provider received the stablecoin.","sentAt and paidAt: when SET recorded the provider's payment_submitted and payment_processed. The bank's own evidence is each object's railReference."],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/outflow_alert":{"get":{"operationId":"getOutflowAlert","tags":["Reports"],"summary":"Your outflow alert and the last 24 hours' outflow","description":"outflow24h: what your customers asked to send out in the rolling 24 hours (payouts, withdrawals, SWIFT transfers and Cash-Out payments; a request the provider never took does not count), and, if you also use Direct Deposit, your Direct Deposit payouts, in total and byKind. One alert per business: GET /api/partner/outflow_alert reads and sets the same one.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"active":{"type":"boolean"},"base":{"type":"string"},"percent":{"type":"string"},"threshold":{"type":"string"},"state":{"type":"string"},"trippedAt":{"type":"string","format":"date-time"},"windowHours":{"type":"integer"},"outflow24h":{"type":"string"},"livemode":{"type":"boolean"},"updatedAt":{"type":"string","format":"date-time"},"byKind":{"type":"object","properties":{"payouts":{"type":"string"},"withdrawals":{"type":"string"},"transfers":{"type":"string"},"cashOutPayments":{"type":"string"},"directDepositPayouts":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"outflow_alert","active":true,"base":"500.00","percent":"10.00","threshold":"50.00","state":"tripped","trippedAt":"2026-11-18T21:30:36.615Z","windowHours":24,"outflow24h":"70.00","livemode":false,"updatedAt":"2026-11-18T21:30:36.615Z","byKind":{"payouts":"70.00","withdrawals":"0.00","transfers":"0.00","cashOutPayments":"0.00","directDepositPayouts":"0.00"},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"post":{"operationId":"postOutflowAlert","tags":["Reports"],"summary":"Set your outflow alert","description":"base and percent as strings: SET raises outflow.threshold_reached once when the rolling 24-hour outflow reaches base × percent, and arms the alert again when it falls back under. An alert never stops a payment.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"base":{"type":"string","examples":["25000000.00"]},"percent":{"type":"string","examples":["10"]}},"required":["base","percent"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"active":{"type":"boolean"},"base":{"type":"string"},"percent":{"type":"string"},"threshold":{"type":"string"},"state":{"type":"string"},"trippedAt":{"type":"string","format":"date-time"},"windowHours":{"type":"integer"},"outflow24h":{"type":"string"},"livemode":{"type":"boolean"},"updatedAt":{"type":"string","format":"date-time"},"byKind":{"type":"object","properties":{"payouts":{"type":"string"},"withdrawals":{"type":"string"},"transfers":{"type":"string"},"cashOutPayments":{"type":"string"},"directDepositPayouts":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"outflow_alert","active":true,"base":"100.00","percent":"20.00","threshold":"20.00","state":"tripped","trippedAt":"2026-11-18T21:30:40.380Z","windowHours":24,"outflow24h":"25.00","livemode":false,"updatedAt":"2026-11-18T21:30:40.380Z","byKind":{"payouts":"25.00","withdrawals":"0.00","transfers":"0.00","cashOutPayments":"0.00","directDepositPayouts":"0.00"},"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"active":{"type":"boolean"},"base":{"type":"string"},"percent":{"type":"string"},"threshold":{"type":"string"},"state":{"type":"string"},"trippedAt":{"type":"string","format":"date-time"},"windowHours":{"type":"integer"},"outflow24h":{"type":"string"},"livemode":{"type":"boolean"},"updatedAt":{"type":"string","format":"date-time"},"byKind":{"type":"object","properties":{"payouts":{"type":"string"},"withdrawals":{"type":"string"},"transfers":{"type":"string"},"cashOutPayments":{"type":"string"},"directDepositPayouts":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"delete":{"operationId":"deleteOutflowAlert","tags":["Reports"],"summary":"Remove your outflow alert","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object as it now stands (deleted: true, or no longer active). A repeat answers the same and changes nothing.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"active":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"outflow_alert","active":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/assets":{"get":{"operationId":"getAssets","tags":["Assets"],"summary":"The asset register","description":"review (OG-5): when SET last reviewed every asset's issuer status (reviewedAt) and on what basis (basis); null before the first review. Every token and chain SET knows: contract, decimals, and issuer: name and source (named only where the issuer's own contract list is the source, else null), status (permitted, foreign_registered, not_permitted or unknown; unknown until SET's operator records one with its source, statusSource), regulator and reserveReportUrl. eligibility follows the recorded status (eligible, not_eligible, or null while unknown) and reviewedAt is when it was recorded. allowed: whether your asset policy takes it today.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string"},"id":{"type":"string"},"symbol":{"type":"string"},"currency":{"type":"string"},"network":{"type":"string"},"contract":{"type":"string"},"decimals":{"type":"integer"},"issuer":{"type":"object","properties":{"name":{"type":"string"},"source":{"type":"string"},"status":{"type":"string"},"regulator":{"description":"null in the example; holds a value when set."},"reserveReportUrl":{"type":"string"},"statusSource":{"type":"string"}},"additionalProperties":true},"eligibility":{"description":"null in the example; holds a value when set."},"reviewedAt":{"type":"string","format":"date-time"},"allowed":{"type":"boolean"}},"additionalProperties":true}},"review":{"type":"object","properties":{"reviewedAt":{"type":"string","format":"date-time"},"basis":{"type":"string"}},"additionalProperties":true},"note":{"type":"string"},"sandbox":{"type":"boolean"},"disclosures":{"type":"object","properties":{"object":{"type":"string"},"appliesTo":{"type":"string"},"statements":{"type":"array","items":{"type":"string"}},"feeShare":{"type":"string"}},"additionalProperties":true},"redemption":{"type":"object","properties":{"object":{"type":"string"},"paths":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"route":{"type":"string"},"what":{"type":"string"}},"additionalProperties":true}},"setFeeBps":{"type":"integer"},"otherFees":{"type":"string"},"timing":{"type":"object","properties":{"lateAfterBusinessDays":{"type":"integer"},"calendar":{"type":"string"},"report":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true},"example":{"object":"list","data":[{"object":"asset","id":"usdc-base","symbol":"USDC","currency":"usdc","network":"base","contract":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","decimals":6,"issuer":{"name":"Circle","source":"https://developers.circle.com/stablecoins/usdc-contract-addresses","status":"unknown","regulator":null,"reserveReportUrl":"https://www.circle.com/transparency","statusSource":"https://www.occ.gov/topics/charters-and-licensing/genius-act/index-genius-act.html"},"eligibility":null,"reviewedAt":"2026-11-18T21:26:45.013Z","allowed":true},{"object":"asset","id":"usdc-ethereum","symbol":"USDC","currency":"usdc","network":"ethereum","contract":"0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48","decimals":6,"issuer":{"name":"Circle","source":"https://developers.circle.com/stablecoins/usdc-contract-addresses","status":"unknown","regulator":null,"reserveReportUrl":"https://www.circle.com/transparency","statusSource":"https://www.occ.gov/topics/charters-and-licensing/genius-act/index-genius-act.html"},"eligibility":null,"reviewedAt":"2026-11-18T21:26:45.013Z","allowed":true}],"review":{"reviewedAt":"2026-11-18T21:26:45.013Z","basis":"The OCC is not yet accepting applications from payment stablecoin issuers (its GENIUS Act page, read 2026-11-15), and no regulator has published a list of permitted or registered foreign issuers; the Act applies from 2027-01-18. So no issuer can yet be recorded as permitted or not permitted."},"note":"issuer.status is unknown until SET's operator records a status with its source (issuer.statusSource); code never infers one. eligibility follows the recorded status: eligible for permitted or foreign_registered, not_eligible for not_permitted, null while unknown. It records what SET's operator found, not a legal conclusion.","sandbox":true,"disclosures":{"object":"disclosures","appliesTo":"Every stablecoin in the asset register, and every stablecoin SET moves.","statements":["Not legal tender."],"feeShare":"A platform's fee share is a part of SET's transaction fee, paid to the platform (SET's business customer). It is computed on transactions SET charged a fee for, never more than SET's fee on each, never on a balance or on how long anyone holds a stablecoin, and it is never paid to an end holder."},"redemption":{"object":"redemption_terms","paths":[{"kind":"bank_payout","route":"POST /v1/payouts","what":"A payout to a bank account."},{"kind":"cash_out_address","route":"POST /v1/cash_out_addresses","what":"A deposit address that pays the stablecoin it receives to a bank account."}],"setFeeBps":100,"otherFees":"The provider's fees and the network's fees apply. They are not SET fees.","timing":{"lateAfterBusinessDays":2,"calendar":"US business days: weekdays the Federal Reserve is open, by New York date.","report":"GET /v1/reports/payout_timing"}}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/asset_policy":{"get":{"operationId":"getAssetPolicy","tags":["Assets"],"summary":"Your asset policy","description":"allowed: null takes every asset in the register, or the list of asset ids you take. requirePermittedIssuerFrom: a date (YYYY-MM-DD) or null.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"allowed":{"description":"null in the example; holds a value when set."},"requirePermittedIssuerFrom":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"asset_policy","allowed":null,"requirePermittedIssuerFrom":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"post":{"operationId":"postAssetPolicy","tags":["Assets"],"summary":"Set your asset policy","description":"allowed: asset ids from GET /v1/assets, or null. requirePermittedIssuerFrom: a date (YYYY-MM-DD) or null; from that date on, an asset whose issuer.status is not permitted or foreign_registered is refused too. Send either or both; a field left out stays as it is. A refused call answers 403 asset_not_allowed, before any provider call; a multichain (chain \"evm\") address is refused while a list or the date applies.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"allowed":{"type":"array","items":{"type":"string","description":"An asset id; send null instead of the list to take every asset."}},"requirePermittedIssuerFrom":{"type":"string","description":"A date, YYYY-MM-DD (UTC), or null for no such rule.","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"allowed":{"type":"array","items":{"type":"string"}},"requirePermittedIssuerFrom":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"asset_policy","allowed":["usdc-base","usdc-ethereum"],"requirePermittedIssuerFrom":null,"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"allowed":{"type":"array","items":{"type":"string"}},"requirePermittedIssuerFrom":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payouts/{payout}/travel_rule":{"get":{"operationId":"getPayoutsByPayoutTravelRule","tags":["Payouts"],"summary":"Travel Rule evidence for a payout","description":"Whether SET sent the payout's Travel Rule data to the provider (submitted, simulated, failed, or not_recorded), when it first reached it, and the names of the fields each side carried. Never a value.","x-scope":"read","parameters":[{"name":"payout","in":"path","required":true,"schema":{"type":"string","pattern":"^po_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"movement":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"}},"additionalProperties":true},"state":{"type":"string"},"submittedAt":{"type":"string","format":"date-time"},"attempts":{"type":"integer"},"originator":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"beneficiary":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"commitment":{"type":"object","properties":{"value":{"type":"string"},"kid":{"type":"string"},"algorithm":{"type":"string"}},"additionalProperties":true},"note":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"travel_rule_evidence","movement":{"kind":"payout","id":"po_30a3b4cc5e9346499316b27c82c3dfb6"},"state":"submitted","submittedAt":"2026-11-18T21:34:27.805Z","attempts":1,"originator":{"fields":["is_self"]},"beneficiary":{"fields":["address.city","address.country"]},"commitment":{"value":"5169aebb20f396c2c5f0814b264dee5ae95039546794b12dff8cc087a76805d6","kid":"trc_39b970efe592","algorithm":"HMAC-SHA256"},"note":"Field names only, as sent to the provider; SET keeps no value. not_recorded: SET sent nothing for this movement since evidence was kept, or it needs none yet.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/deposits/{id}/travel_rule":{"get":{"operationId":"getDepositsByIdTravelRule","tags":["Senders"],"summary":"Travel Rule evidence for a deposit","description":"As for a payout: state, submittedAt, and field names only.","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"movement":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"}},"additionalProperties":true},"state":{"type":"string"},"submittedAt":{"type":"string","format":"date-time"},"attempts":{"type":"integer"},"originator":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"beneficiary":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"commitment":{"type":"object","properties":{"value":{"type":"string"},"kid":{"type":"string"},"algorithm":{"type":"string"}},"additionalProperties":true},"note":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"travel_rule_evidence","movement":{"kind":"deposit","id":"sim_dep_8b6cc782-b677-4b88-b9f6-17b11bdaae67"},"state":"simulated","submittedAt":"2026-11-18T21:34:28.919Z","attempts":1,"originator":{"fields":["address.city","address.country"]},"beneficiary":{"fields":["is_self"]},"commitment":{"value":"cb6baac5d9fd4675d28e72e9695d534c1a0eb0683b6e51e75c8d8dde69905c63","kid":"trc_e5ba238d3e0c","algorithm":"HMAC-SHA256"},"note":"Field names only, as sent to the provider; SET keeps no value. not_recorded: SET sent nothing for this movement since evidence was kept, or it needs none yet.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/cash_out_payments/{id}/travel_rule":{"get":{"operationId":"getCashOutPaymentsByIdTravelRule","tags":["Senders"],"summary":"Travel Rule evidence for a Cash-Out payment","description":"As for a payout: state, submittedAt, and field names only. originator.ownership: attested (with method) or asserted, once a sender is named. commitment: HMAC-SHA256 of the payload sent, with its key id (kid); SET keeps no value.","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"movement":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"}},"additionalProperties":true},"state":{"type":"string"},"submittedAt":{"type":"string","format":"date-time"},"attempts":{"type":"integer"},"originator":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"}},"ownership":{"type":"string"},"method":{"type":"string"}},"additionalProperties":true},"beneficiary":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"commitment":{"type":"object","properties":{"value":{"type":"string"},"kid":{"type":"string"},"algorithm":{"type":"string"}},"additionalProperties":true},"note":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"travel_rule_evidence","movement":{"kind":"cash_out_payment","id":"sim_drain_70d74874-4a4b-4d0c-bcdc-c92b3aaf3bb1"},"state":"simulated","submittedAt":"2026-11-18T21:33:55.709Z","attempts":1,"originator":{"fields":["address.city","address.country"],"ownership":"attested","method":"eoa"},"beneficiary":{"fields":["is_self"]},"commitment":{"value":"96fc1d4925783d0000b18be2cec60a7e64be209d55d12c75629815e4c51f76ff","kid":"trc_4aca7f312ce9","algorithm":"HMAC-SHA256"},"note":"Field names only, as sent to the provider; SET keeps no value. not_recorded: SET sent nothing for this movement since evidence was kept, or it needs none yet.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/conversion_payments/{id}/travel_rule":{"get":{"operationId":"getConversionPaymentsByIdTravelRule","tags":["Senders"],"summary":"Travel Rule evidence for a Conversion payment","description":"As for a payout: state, submittedAt, and field names only. originator.ownership: attested (with method) or asserted. commitment: HMAC-SHA256 of the payload sent, with its key id. Recorded when you name the payment's sender (POST /v1/conversion_payments/{id}/sender).","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"movement":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"}},"additionalProperties":true},"state":{"type":"string"},"submittedAt":{"type":"string","format":"date-time"},"attempts":{"type":"integer"},"originator":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"beneficiary":{"type":"object","properties":{"fields":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"note":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"travel_rule_evidence","movement":{"kind":"conversion_payment","id":"…"},"state":"submitted","submittedAt":"2026-11-08T15:04:05.000Z","attempts":1,"originator":{"fields":["…"]},"beneficiary":{"fields":["…"]},"note":"…","sandbox":false}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/reports/settlement":{"get":{"operationId":"getReportsSettlement","tags":["Reports"],"summary":"One UTC day's balance transactions, with rail references and totals","description":"date=YYYY-MM-DD (UTC). The rows are GET /v1/balance_transactions for that day, oldest first, each with railReference; totals per type, direction and currency, summed exactly. An answer reads up to 10,000 rows of each type: past that it stops at the last row every type was read to, with complete false, hasMore true and nextCursor; send startingAfter=nextCursor (unchanged) for the rest of the day, oldest first on createdAt and id, so nothing is skipped or repeated. totals cover the answer's own rows. format=csv answers the rows as CSV (header set-report-complete), with the next part in a Link header (rel=\"next\"). format=camt054 or format=bai2 answers the day as an ISO 20022 camt.054.001.08 or BAI2 file (GET /v1/statements/{id}/camt054 says what an entry is), for an account whose plan includes the bank-format files (GET /v1/capabilities features.treasury); any other account answers 403 treasury_plan_required.","x-scope":"read","parameters":[{"name":"date","in":"query","required":false,"schema":{"type":"string"}},{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"name":"startingAfter","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"type":{"type":"string"},"date":{"type":"string"},"period":{"type":"object","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"additionalProperties":true},"timeBasis":{"type":"string"},"livemode":{"type":"boolean"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"type":{"type":"string"},"direction":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"setFee":{"type":"string"},"providerFee":{"description":"null in the example; holds a value when set."},"settled":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"state":{"type":"string"},"source":{"type":"object","properties":{"wallet":{"type":"string"},"recipient":{"type":"string"},"batch":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"createdAt":{"type":"string","format":"date-time"},"railReference":{"$ref":"#/components/schemas/RailReference"},"platformFee":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"totals":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"direction":{"type":"string"},"currency":{"type":"string"},"count":{"type":"integer"},"amount":{"type":"string"},"setFee":{"type":"string"},"withReference":{"type":"integer"}},"additionalProperties":true}},"complete":{"type":"boolean"},"hasMore":{"type":"boolean"},"nextCursor":{"description":"null in the example; holds a value when set."},"notes":{"type":"array","items":{"type":"string"}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"report","type":"settlement","date":"2026-11-12","period":{"from":"2026-11-12T00:00:00.000Z","to":"2026-11-13T00:00:00.000Z"},"timeBasis":"createdAt, UTC","livemode":false,"data":[{"id":"po_00000000000000000000000000000000","object":"balance_transaction","type":"payout","direction":"out","amount":"1.00","currency":"usdc","setFee":"0.01","providerFee":null,"settled":{"amount":"0.99","currency":"usd"},"state":"payment_processed","source":{"wallet":"w","recipient":"r","batch":null},"createdAt":"2026-11-12T00:00:00.000Z","railReference":null,"platformFee":null},{"id":"po_00000000000000000000000000000001","object":"balance_transaction","type":"payout","direction":"out","amount":"1.00","currency":"usdc","setFee":"0.01","providerFee":null,"settled":{"amount":"0.99","currency":"usd"},"state":"payment_processed","source":{"wallet":"w","recipient":"r","batch":null},"createdAt":"2026-11-12T00:00:00.000Z","railReference":null,"platformFee":null}],"totals":[{"type":"payout","direction":"out","currency":"usdc","count":3,"amount":"3.00","setFee":"0.03","withReference":0},{"type":"deposit","direction":"in","currency":"usd","count":2,"amount":"10.00","setFee":"0.10","withReference":0}],"complete":true,"hasMore":false,"nextCursor":null,"notes":["complete is true when this answer reaches the end of the day; otherwise read on with startingAfter = nextCursor. totals cover this answer's rows: add each answer's totals for the whole day.","The rows are GET /v1/balance_transactions for the same day: the same ids, amounts and fees."],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/reports/reconciliation":{"get":{"operationId":"getReportsReconciliation","tags":["Reports"],"summary":"The daily three-way statement: ledger, bank reference and chain, per movement","description":"date=YYYY-MM-DD (UTC), required (400 date_invalid). Rows appear only once SET's scheduled reconciliation pass has read the day: before it, data is empty. One row per movement that settled that day (payouts, deposits, Cash-Out payments, Conversion payments): the ledger row, its bank reference and its chain transaction as SET reads it, with state matched, variance (the leg, the ledger's value and what was observed), unreadable (read again later) or not_applicable (sandbox). legs is three or two (reason names the missing leg). Rows are appended; a variance is closed by a note, never an edit. Oldest first, at most 10,000 an answer: complete, hasMore and nextCursor; startingAfter=nextCursor reads on. statementHash (SHA-256 chain over the day's rows) is on the answer that reaches the end of the day.","x-scope":"read","parameters":[{"name":"date","in":"query","required":true,"schema":{"type":"string"}},{"name":"startingAfter","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"type":{"type":"string"},"date":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"day":{"type":"string"},"kind":{"type":"string"},"object_id":{"type":"string"},"attempt":{"type":"integer"},"state":{"type":"string"},"legs":{"type":"string"},"ledger":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"settledAt":{"type":"string","format":"date-time"},"rail":{"type":"string"}},"additionalProperties":true},"rail":{"description":"null in the example; holds a value when set."},"chain":{"description":"null in the example; holds a value when set."},"variance":{"description":"null in the example; holds a value when set."},"reason":{"type":"string"},"closed":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"complete":{"type":"boolean"},"hasMore":{"type":"boolean"},"nextCursor":{"description":"null in the example; holds a value when set."},"statementHash":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}},"livemode":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"report","type":"reconciliation","date":"2026-11-18","data":[{"id":"rec_0d9493ec28434ff7ba879ea9c428fe4c","object":"reconciliation_row","day":"2026-11-18","kind":"deposit","object_id":"sim_dep_57298b85-2d5f-4f1f-b7a3-584461f90f57","attempt":1,"state":"not_applicable","legs":"three","ledger":{"amount":"2000.00","currency":"usd","settledAt":"2026-11-18T13:42:50.634Z"},"rail":null,"chain":null,"variance":null,"reason":"sandbox: no money moves","closed":null,"livemode":false,"createdAt":"2026-11-18T13:42:50.819Z"},{"id":"rec_89c0668712dc478ba5b7010781970f9c","object":"reconciliation_row","day":"2026-11-18","kind":"cash_out_payment","object_id":"sim_drain_ed711815-20cb-40ee-a9af-b8ca58c7f971","attempt":1,"state":"not_applicable","legs":"three","ledger":{"amount":"2000.00","currency":"usdc","settledAt":"2026-11-18T13:42:50.642Z","rail":"sepa"},"rail":null,"chain":null,"variance":null,"reason":"sandbox: no money moves","closed":null,"livemode":false,"createdAt":"2026-11-18T13:42:50.819Z"}],"complete":true,"hasMore":false,"nextCursor":null,"statementHash":"da5742e2d00e563829f5b2623972b6d40581e8dd31ed68577d98b0b0b4279fdb","notes":["One row per movement settled that UTC day, its latest reading: matched, variance (with the leg, the ledger's value and what was observed), unreadable (read again later) or not_applicable (sandbox: no money moves).","legs: three when the movement has a bank leg and a chain leg; two otherwise, with reason naming the leg it lacks.","complete is true when this answer reaches the end of the day; otherwise read on with startingAfter = nextCursor. statementHash covers the whole day and is given on the last answer.","The rail leg compares the bank reference SET recorded with the one the provider reports, not amounts: the provider's fees sit between the ledger amount and the bank amount. matched on the rail leg does not mean the amounts matched.","On /v1, a Conversion payment's row reads its incoming payment only: the converted asset's outgoing leg is not read yet (a known gap)."],"livemode":false,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/balance_transactions":{"get":{"operationId":"getBalanceTransactions","tags":["Reports"],"summary":"Every money movement as one row, with SET's fee and the platform's share","description":"customer=cus_…: one customer's movements only, as its monthly statement (POST /v1/statements) lists them. Deposits, Cash-Out payments, payouts, wallet withdrawals and refunds carry railReference (components/schemas/RailReference); other types carry null.","x-scope":"read","parameters":[{"name":"type","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdSince","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"type":{"type":"string"},"direction":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"setFee":{"type":"string"},"providerFee":{"description":"null in the example; holds a value when set."},"settled":{"type":"object","properties":{"amount":{"description":"null in the example; holds a value when set."},"currency":{"type":"string"}},"additionalProperties":true},"state":{"type":"string"},"source":{"type":"object","properties":{"wallet":{"type":"string"},"recipient":{"type":"string"},"batch":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"createdAt":{"type":"string","format":"date-time"},"railReference":{"$ref":"#/components/schemas/RailReference"},"platformFee":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"po_6ae69fad48cbe25c68d48ba73d1c0148","object":"balance_transaction","type":"payout","direction":"out","amount":"10","currency":"usdc","setFee":"0.1","providerFee":null,"settled":{"amount":null,"currency":"usd"},"state":"payment_processed","source":{"wallet":"x_b23d3bd1a23ff024","recipient":"x_b23d3bd1a23ff024","batch":null},"createdAt":"2026-11-09T12:00:03.000Z","railReference":null,"platformFee":null},{"id":"po_3a58ecc2b18fa3d4646fe13388323d30","object":"balance_transaction","type":"payout","direction":"out","amount":"10","currency":"usdc","setFee":"0.1","providerFee":null,"settled":{"amount":null,"currency":"usd"},"state":"payment_processed","source":{"wallet":"x_e939faa5fc2b4169","recipient":"x_e939faa5fc2b4169","batch":null},"createdAt":"2026-11-09T12:00:03.000Z","railReference":null,"platformFee":null}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/rewards":{"get":{"operationId":"getCustomersByCustomerRewards","tags":["Rewards"],"summary":"The provider's reward summary for a customer","description":"The provider's numbers under the provider's field names, read per request. Not yet available: answers 503 rewards_disabled.","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"currency","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"currency":{"type":"string"},"balance":{"type":"string"},"rewards":{"type":"string"},"updatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"reward_summary","customer":"cus_d9bdccbf01d04986bc0d354a60477e64","currency":"usdb","balance":"1200.50","rewards":"3.141592","updatedAt":"2026-11-07T00:00:00Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/rewards/history":{"get":{"operationId":"getCustomersByCustomerRewardsHistory","tags":["Rewards"],"summary":"The provider's daily reward history for a customer","description":"The provider calculates it with a t-2 business day lag.","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"currency","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"currency":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string"},"balance":{"type":"string"},"amount":{"type":"string"}},"additionalProperties":true}},"lag":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","customer":"cus_d9bdccbf01d04986bc0d354a60477e64","currency":"usdb","data":[{"date":"2026-11-05","balance":"1200.50","amount":"0.1031"},{"date":"2026-11-04","balance":"1100","amount":"0.09"}],"lag":"t-2 business days","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/cards_endorsement":{"post":{"operationId":"postCustomersByCustomerCardsEndorsement","tags":["Cards"],"summary":"The hosted link for the provider's cards endorsement","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"redirectUri":{"type":"string"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"endorsement":{"type":"string"},"status":{"type":"string"},"link":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"endorsement":"cards","status":"incomplete","link":null,"sandbox":true,"message":"Sandbox: the provider's sandbox cannot complete a hosted KYC link."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"endorsement":{"type":"string"},"status":{"type":"string"},"link":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/card_accounts":{"post":{"operationId":"postCustomersByCustomerCardAccounts","tags":["Cards"],"summary":"Provision a card account","description":"Needs the customer's cards endorsement. Not yet available: answers 503 card_accounts_disabled.","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"chain":{"type":"string","enum":["arbitrum","avalanche_c_chain","base","ethereum","optimism","polygon","solana","stellar"]},"currency":{"type":"string","enum":["usdc"]},"clientReferenceId":{"type":"string"},"cardDesign":{"type":"string"}},"required":["chain"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"id":{"type":"string"},"status":{"type":"string"},"statusReason":{"description":"null in the example; holds a value when set."},"balances":{"type":"object","properties":{"available":{"type":"string"},"hold":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"freezes":{"type":"array"},"card":{"type":"object","properties":{"last4":{"type":"string"},"expiry":{"type":"string"},"pinStatus":{"type":"string"}},"additionalProperties":true},"funding":{"type":"array","items":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"memo":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"clientReferenceId":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"id":{"type":"string"},"status":{"type":"string"},"statusReason":{"description":"null in the example; holds a value when set."},"balances":{"type":"object","properties":{"available":{"type":"string"},"hold":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"freezes":{"type":"array"},"card":{"type":"object","properties":{"last4":{"type":"string"},"expiry":{"type":"string"},"pinStatus":{"type":"string"}},"additionalProperties":true},"funding":{"type":"array","items":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"memo":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"clientReferenceId":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"card_account","customer":"cus_3a5329ee780a451ca9966ff01131fd27","id":"ca_member_0001","status":"active","statusReason":null,"balances":{"available":"40.00","hold":"2.50","currency":"usdc"},"freezes":[],"card":{"last4":"4242","expiry":"11/29","pinStatus":"not_set"},"funding":[{"chain":"base","address":"0x1111111111111111111111111111111111111111","memo":null}],"clientReferenceId":"member_0001","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getCustomersByCustomerCardAccounts","tags":["Cards"],"summary":"The customer's card accounts","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"id":{"type":"string"},"status":{"type":"string"},"statusReason":{"description":"null in the example; holds a value when set."},"balances":{"type":"object","properties":{"available":{"type":"string"},"hold":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"freezes":{"type":"array"},"card":{"type":"object","properties":{"last4":{"type":"string"},"expiry":{"type":"string"},"pinStatus":{"type":"string"}},"additionalProperties":true},"funding":{"type":"array","items":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"memo":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"clientReferenceId":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"object":"card_account","customer":"cus_3a5329ee780a451ca9966ff01131fd27","id":"ca_member_0001","status":"active","statusReason":null,"balances":{"available":"40.00","hold":"2.50","currency":"usdc"},"freezes":[],"card":{"last4":"4242","expiry":"11/29","pinStatus":"not_set"},"funding":[{"chain":"base","address":"0x1111111111111111111111111111111111111111","memo":null}],"clientReferenceId":"member_0001","sandbox":true}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/card_accounts/{id}":{"get":{"operationId":"getCustomersByCustomerCardAccountsById","tags":["Cards"],"summary":"A card account, re-read from the provider","description":"Last four and expiry only; never the card number.","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"id":{"type":"string"},"status":{"type":"string"},"statusReason":{"description":"null in the example; holds a value when set."},"balances":{"type":"object","properties":{"available":{"type":"string"},"hold":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"freezes":{"type":"array"},"card":{"type":"object","properties":{"last4":{"type":"string"},"expiry":{"type":"string"},"pinStatus":{"type":"string"}},"additionalProperties":true},"funding":{"type":"array","items":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"memo":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"clientReferenceId":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"card_account","customer":"cus_3a5329ee780a451ca9966ff01131fd27","id":"ca_member_0001","status":"active","statusReason":null,"balances":{"available":"40.00","hold":"2.50","currency":"usdc"},"freezes":[],"card":{"last4":"4242","expiry":"11/29","pinStatus":"not_set"},"funding":[{"chain":"base","address":"0x1111111111111111111111111111111111111111","memo":null}],"clientReferenceId":"member_0001","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/card_accounts/{id}/freeze":{"post":{"operationId":"postCustomersByCustomerCardAccountsByIdFreeze","tags":["Cards"],"summary":"Freeze it","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"reason":{"type":"string","enum":["lost_or_stolen","suspicious_activity","planned_inactivity","suspected_fraud","other"]},"initiator":{"type":"string","enum":["developer","customer"]},"reasonDetail":{"type":"string"},"startingAt":{"type":"string","format":"date-time"},"endingAt":{"type":"string","format":"date-time"}},"required":["reason"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"cardAccount":{"type":"string"},"status":{"type":"string"},"freeze":{"type":"object","properties":{"initiator":{"type":"string"},"reason":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"startingAt":{"description":"null in the example; holds a value when set."},"endingAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"card_freeze","cardAccount":"ca_member_0001","status":"freeze_created","freeze":{"initiator":"developer","reason":"lost_or_stolen","createdAt":"2026-11-09T10:00:00Z","startingAt":null,"endingAt":null},"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"cardAccount":{"type":"string"},"status":{"type":"string"},"freeze":{"type":"object","properties":{"initiator":{"type":"string"},"reason":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"startingAt":{"description":"null in the example; holds a value when set."},"endingAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/card_accounts/{id}/unfreeze":{"post":{"operationId":"postCustomersByCustomerCardAccountsByIdUnfreeze","tags":["Cards"],"summary":"Remove a freeze","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"initiator":{"type":"string","enum":["developer","customer"]}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"cardAccount":{"type":"string"},"status":{"type":"string"},"freeze":{"type":"object","properties":{"initiator":{"type":"string"},"reason":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"startingAt":{"description":"null in the example; holds a value when set."},"endingAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"card_freeze","cardAccount":"ca_member_0001","status":"freeze_removed","freeze":{"initiator":"customer","reason":"lost_or_stolen","createdAt":"2026-11-09T10:00:00Z","startingAt":null,"endingAt":null},"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"cardAccount":{"type":"string"},"status":{"type":"string"},"freeze":{"type":"object","properties":{"initiator":{"type":"string"},"reason":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"startingAt":{"description":"null in the example; holds a value when set."},"endingAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/card_accounts/{id}/pin":{"post":{"operationId":"postCustomersByCustomerCardAccountsByIdPin","tags":["Cards"],"summary":"A single-use PIN update URL","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"cardAccount":{"type":"string"},"singleUse":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"card_pin_update","cardAccount":"ca_member_0001","singleUse":true,"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"cardAccount":{"type":"string"},"singleUse":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/card_accounts/{id}/close":{"post":{"operationId":"postCustomersByCustomerCardAccountsByIdClose","tags":["Cards"],"summary":"Close it, permanently","description":"The provider: irreversible. Send {confirm: true}.","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"confirm":{"type":"boolean"}},"required":["confirm"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"id":{"type":"string"},"status":{"type":"string"},"statusReason":{"description":"null in the example; holds a value when set."},"balances":{"type":"object","properties":{"available":{"type":"string"},"hold":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"freezes":{"type":"array"},"card":{"type":"object","properties":{"last4":{"type":"string"},"expiry":{"type":"string"},"pinStatus":{"type":"string"}},"additionalProperties":true},"funding":{"type":"array","items":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"memo":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"clientReferenceId":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"card_account","customer":"cus_3a5329ee780a451ca9966ff01131fd27","id":"ca_member_0001","status":"inactive","statusReason":null,"balances":{"available":"40.00","hold":"2.50","currency":"usdc"},"freezes":[],"card":{"last4":"4242","expiry":"11/29","pinStatus":"not_set"},"funding":[{"chain":"base","address":"0x1111111111111111111111111111111111111111","memo":null}],"clientReferenceId":"ref","sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"customer":{"type":"string"},"id":{"type":"string"},"status":{"type":"string"},"statusReason":{"description":"null in the example; holds a value when set."},"balances":{"type":"object","properties":{"available":{"type":"string"},"hold":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"freezes":{"type":"array"},"card":{"type":"object","properties":{"last4":{"type":"string"},"expiry":{"type":"string"},"pinStatus":{"type":"string"}},"additionalProperties":true},"funding":{"type":"array","items":{"type":"object","properties":{"chain":{"type":"string"},"address":{"type":"string"},"memo":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"clientReferenceId":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/card_accounts/{id}/authorizations":{"get":{"operationId":"getCustomersByCustomerCardAccountsByIdAuthorizations","tags":["Cards"],"summary":"Pending authorizations","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"startingTime","in":"query","required":false,"schema":{"type":"string"}},{"name":"endingTime","in":"query","required":false,"schema":{"type":"string"}},{"name":"status","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"amount":{"type":"string"},"billingAmount":{"description":"null in the example; holds a value when set."},"currency":{"type":"string"},"merchantCategoryCode":{"type":"string"},"description":{"type":"string"},"authorizedAt":{"type":"string","format":"date-time"},"local":{"type":"object","properties":{"amount":{"type":"string"},"currency":{"type":"string"},"exchangeRate":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"auth_1","amount":"12.34","billingAmount":null,"currency":"usd","merchantCategoryCode":"5812","description":"CAFE ZURICH CH","authorizedAt":"2026-11-08T12:00:00Z","local":{"amount":"11.00","currency":"chf","exchangeRate":"1.1218"}}],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/card_accounts/{id}/transactions":{"get":{"operationId":"getCustomersByCustomerCardAccountsByIdTransactions","tags":["Cards"],"summary":"Posted transactions","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"startingTime","in":"query","required":false,"schema":{"type":"string"}},{"name":"endingTime","in":"query","required":false,"schema":{"type":"string"}},{"name":"paginationToken","in":"query","required":false,"schema":{"type":"string"}},{"name":"categoryFamily","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"category":{"type":"string"},"amount":{"type":"string"},"billingAmount":{"description":"null in the example; holds a value when set."},"currency":{"type":"string"},"description":{"type":"string"},"merchantName":{"type":"string"},"merchantCategoryCode":{"type":"string"},"postedAt":{"type":"string","format":"date-time"},"authorizedAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"nextPaginationToken":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","data":[{"id":"tx_1","category":"purchase","amount":"-12.34","billingAmount":null,"currency":"usd","description":"CAFE","merchantName":"Cafe","merchantCategoryCode":"5812","postedAt":"2026-11-08T13:00:00Z","authorizedAt":null}],"nextPaginationToken":"next_1","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/customers/{customer}/card_accounts/{id}/statements":{"get":{"operationId":"getCustomersByCustomerCardAccountsByIdStatements","tags":["Cards"],"summary":"A month's statement (PDF)","x-scope":"read","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"name":"period","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The card statement for the period, as a PDF.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/pdf":{"schema":{"type":"string","contentMediaType":"application/pdf"},"example":"%PDF-1.7 statement"}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/sandbox/customers/{customer}/approve":{"post":{"operationId":"postSandboxCustomersByCustomerApprove","tags":["Sandbox"],"summary":"Approve a test customer","x-scope":"write","parameters":[{"name":"customer","in":"path","required":true,"schema":{"type":"string","pattern":"^cus_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"},"example":{"id":"cus_c9c5f821c2b74d1eafeec5a739a1c977","object":"customer","externalId":"merchant-meta","type":"business","status":"approved","tosLink":null,"kycLink":null,"requirementsDue":[],"rejectionReasons":[],"endorsements":{"base":"approved","sepa":"approved","faster_payments":"approved","spei":"approved","pix":"approved","cop":"approved"},"currencies":["usd","eur"],"livemode":false,"createdAt":"2026-11-18T21:26:18.103Z","updatedAt":"2026-11-18T21:26:18.161Z","closedAt":null,"sandbox":true,"message":"Sandbox: the provider simulated approval of a synthetic customer standing in for this one. No real identity or business check ran.","metadata":{"platformRef":"m_0042","tier":"gold"}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Customer"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/deposits":{"post":{"operationId":"postSandboxDeposits","tags":["Sandbox"],"summary":"A simulated deposit","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"virtualAccount":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"payer":{"type":"string"},"payerLink":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"payer":{"type":"string"},"payerLink":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"id":"sim_dep_28a84fae-cf42-4837-95c9-870dce0dc6ee","state":"funds_received","outcome":"applied","payer":"requested","payerLink":"https://wallet-staging.simpleeasytransactions.com/payer/f-6IKYMvvF9w0BeMWN8jo-a8FvkDgIgorudWMetzxos","sandbox":true,"message":"Sandbox: simulated deposit. No money moved."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/sandbox/deposits/{simDeposit}/advance":{"post":{"operationId":"postSandboxDepositsBySimDepositAdvance","tags":["Sandbox"],"summary":"Advance a simulated deposit","x-scope":"write","parameters":[{"name":"simDeposit","in":"path","required":true,"schema":{"type":"string","pattern":"^sim_dep_[0-9a-f-]{36}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string"},"outcome":{"type":"string"},"cashOutPayment":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"state":"payment_processed","outcome":"applied","cashOutPayment":"sim_drain_d6114cf6-e7eb-4445-8436-deeacd18ebc9","sandbox":true,"message":"Sandbox: simulated. The provider's sandbox does not move money or send this event."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string"},"outcome":{"type":"string"},"cashOutPayment":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/sandbox/cash_out_payments":{"post":{"operationId":"postSandboxCashOutPayments","tags":["Sandbox"],"summary":"A simulated Cash-Out payment","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cashOutAddress":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"currency":{"type":"string","description":"A currency \"any\" address only: one of the stablecoins it takes (default usdc)."}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"payer":{"type":"string"},"payerLink":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"payer":{"type":"string"},"payerLink":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"id":"sim_drain_eaf459d3-125e-489a-a064-aecb634ec525","state":"funds_received","outcome":"applied","payer":"requested","payerLink":"https://wallet-staging.simpleeasytransactions.com/payer/dv0MIu0mvnw9KQGU0W_Q8-cQ298LI_mXrH8fxdXL-9M","sandbox":true,"message":"Sandbox: simulated payment. No money moved."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/cash_out_payments/{simDrain}/advance":{"post":{"operationId":"postSandboxCashOutPaymentsBySimDrainAdvance","tags":["Sandbox"],"summary":"Advance it","x-scope":"write","parameters":[{"name":"simDrain","in":"path","required":true,"schema":{"type":"string","pattern":"^sim_drain_[0-9a-f-]{36}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"state":"payment_submitted","outcome":"applied","sandbox":true,"message":"Sandbox: simulated. The provider's sandbox does not move money or send this event."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/unknown_sender":{"post":{"operationId":"postSandboxUnknownSender","tags":["Sandbox"],"summary":"A simulated payment from an unknown wallet","description":"Staging only. The payment is held with senderState unknown_sender and told as cash_out_payment.unknown_sender; it cannot advance until POST /v1/cash_out_payments/{id}/sender names its sender, which credits it and sends cash_out_payment.funds_received. Outside the sandbox a payment whose sender is not named yet reads senderState none and is not held.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"cashOutAddress":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"senderAddress":{"type":"string"}},"required":["cashOutAddress","amount","senderAddress"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashOutPayment"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CashOutPayment"},"example":{"id":"sim_drain_1247fc3d-e793-44d9-8f56-1971094a4998","object":"cash_out_payment","state":"funds_received","senderState":"unknown_sender","senderAddress":"0xabcdefabcdefabcdefabcdefabcdefabcdefabcd","outcome":"applied","action":"If you know who sent this, name them with POST /v1/cash_out_payments/sim_drain_1247fc3d-e793-44d9-8f56-1971094a4998/sender: the payment is then credited.","sandbox":true,"message":"Sandbox: simulated payment. No money moved."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/conversion_payments":{"post":{"operationId":"postSandboxConversionPayments","tags":["Sandbox"],"summary":"A simulated Conversion payment","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"conversionAddress":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"id":"sim_conv_43dbd41b-cc3c-4ea7-a684-e8e223090818","state":"funds_received","outcome":"applied","sandbox":true,"message":"Sandbox: simulated payment. No money moved."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/conversion_payments/{simConversion}/advance":{"post":{"operationId":"postSandboxConversionPaymentsBySimConversionAdvance","tags":["Sandbox"],"summary":"Advance it","x-scope":"write","parameters":[{"name":"simConversion","in":"path","required":true,"schema":{"type":"string","pattern":"^sim_conv_[0-9a-f-]{36}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"state":"payment_submitted","outcome":"applied","sandbox":true,"message":"Sandbox: simulated. The provider's sandbox does not move money or send this event."}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"state":{"type":"string"},"outcome":{"type":"string"},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/payouts/{payout}/advance":{"post":{"operationId":"postSandboxPayoutsByPayoutAdvance","tags":["Sandbox"],"summary":"Advance a payout one step","x-scope":"write","parameters":[{"name":"payout","in":"path","required":true,"schema":{"type":"string","pattern":"^po_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"},"example":{"id":"po_1a7ba6a8baee4cd38051f34a24ec5def","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_5adcebf7511a4a628d79158fc6b261db","customer":"cus_4fa3396429984075a94bc5309503d11f","batch":null,"externalId":"rehearsal-test1-bank","amount":"10.00","fee":"0.10","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usd","rail":"ach","state":"payment_processed","receiptAmount":"9.90","txHash":null,"toAddress":null,"chainStatus":"none","railReference":{"rail":"ach","traceNumber":"215975874768711","imad":null,"trackingNumber":null,"endToEndId":null,"simulated":true},"delivered":false,"paidToBank":true,"approval":"approved","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"bank","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:32:55.922Z","sentAt":"2026-11-18T21:32:56.438Z","paidAt":"2026-11-18T21:32:56.492Z","businessDaysToPaid":0,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:32:55.882Z","updatedAt":"2026-11-18T21:32:56.492Z","outcome":"applied","sandbox":true,"message":"Sandbox: simulated. No money moved.","metadata":{}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/scenarios":{"post":{"operationId":"postSandboxScenarios","tags":["Sandbox"],"summary":"Run one simulated outcome","description":"Staging only; every result is labelled \"Sandbox: simulated\". object: a customer (kyb_rejected, rfi_raised), a virtual account or sim_dep_ (deposit_in_review_then_refunded, microdeposit), a Cash-Out Address or sim_drain_ (cash_out_payment_returned), a payout (payout_returned, payout_undeliverable), a wallet (wallet_initiation_required) or a recipient (sanctions_match, payout_country_review, travel_rule_incomplete, fx_drift_exceeded). clear: true ends kyb_rejected, rfi_raised, microdeposit, wallet_initiation_required, payout_country_review, travel_rule_incomplete or fx_drift_exceeded; sanctions_match is lifted only by SET, as in production.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"name":{"type":"string","enum":["kyb_rejected","rfi_raised","deposit_in_review_then_refunded","cash_out_payment_returned","payout_returned","payout_undeliverable","microdeposit","wallet_initiation_required","sanctions_match","payout_country_review","travel_rule_incomplete","fx_drift_exceeded"]},"object":{"type":"string"},"clear":{"type":"boolean"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"reasons":{"type":"array","items":{"type":"string"}},"amounts":{"type":"array","items":{"type":"string"}}},"required":["name","object"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"name":{"type":"string"},"target":{"type":"string"},"cleared":{"type":"boolean"},"active":{"type":"boolean"},"events":{"type":"array","items":{"type":"string"}},"result":{"type":"object","properties":{"payout":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"recipient":{"type":"string"},"customer":{"type":"string"},"batch":{"description":"null in the example; holds a value when set."},"externalId":{"description":"null in the example; holds a value when set."},"amount":{"type":"string"},"fee":{"type":"string"},"platformFee":{"description":"null in the example; holds a value when set."},"platformFeeBps":{"type":"integer"},"currency":{"type":"string"},"payoutCurrency":{"type":"string"},"rail":{"type":"string"},"state":{"type":"string"},"receiptAmount":{"description":"null in the example; holds a value when set."},"txHash":{"description":"null in the example; holds a value when set."},"toAddress":{"description":"null in the example; holds a value when set."},"chainStatus":{"type":"string"},"railReference":{"$ref":"#/components/schemas/RailReference"},"delivered":{"type":"boolean"},"paidToBank":{"type":"boolean"},"approval":{"type":"string"},"scheduledAt":{"description":"null in the example; holds a value when set."},"schedule":{"description":"null in the example; holds a value when set."},"review":{"type":"string"},"reviewReasons":{"type":"array"},"destinationAmount":{"description":"null in the example; holds a value when set."},"underfundedBy":{"description":"null in the example; holds a value when set."},"fxExcess":{"description":"null in the example; holds a value when set."},"feeCredit":{"description":"null in the example; holds a value when set."},"leg":{"type":"string"},"fallback":{"type":"string"},"fallbackOf":{"description":"null in the example; holds a value when set."},"fallbackPayout":{"type":"string"},"fallbackProblem":{"description":"null in the example; holds a value when set."},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":"string","format":"date-time"},"paidAt":{"description":"null in the example; holds a value when set."},"businessDaysToPaid":{"description":"null in the example; holds a value when set."},"late":{"type":"boolean"},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"steps":{"type":"array","items":{"type":"string"}},"outcomes":{"type":"object","properties":{"returned":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"name":{"type":"string"},"target":{"type":"string"},"cleared":{"type":"boolean"},"active":{"type":"boolean"},"events":{"type":"array","items":{"type":"string"}},"result":{"type":"object","properties":{"payout":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"recipient":{"type":"string"},"customer":{"type":"string"},"batch":{"description":"null in the example; holds a value when set."},"externalId":{"description":"null in the example; holds a value when set."},"amount":{"type":"string"},"fee":{"type":"string"},"platformFee":{"description":"null in the example; holds a value when set."},"platformFeeBps":{"type":"integer"},"currency":{"type":"string"},"payoutCurrency":{"type":"string"},"rail":{"type":"string"},"state":{"type":"string"},"receiptAmount":{"description":"null in the example; holds a value when set."},"txHash":{"description":"null in the example; holds a value when set."},"toAddress":{"description":"null in the example; holds a value when set."},"chainStatus":{"type":"string"},"railReference":{"$ref":"#/components/schemas/RailReference"},"delivered":{"type":"boolean"},"paidToBank":{"type":"boolean"},"approval":{"type":"string"},"scheduledAt":{"description":"null in the example; holds a value when set."},"schedule":{"description":"null in the example; holds a value when set."},"review":{"type":"string"},"reviewReasons":{"type":"array"},"destinationAmount":{"description":"null in the example; holds a value when set."},"underfundedBy":{"description":"null in the example; holds a value when set."},"fxExcess":{"description":"null in the example; holds a value when set."},"feeCredit":{"description":"null in the example; holds a value when set."},"leg":{"type":"string"},"fallback":{"type":"string"},"fallbackOf":{"description":"null in the example; holds a value when set."},"fallbackPayout":{"type":"string"},"fallbackProblem":{"description":"null in the example; holds a value when set."},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":"string","format":"date-time"},"paidAt":{"description":"null in the example; holds a value when set."},"businessDaysToPaid":{"description":"null in the example; holds a value when set."},"late":{"type":"boolean"},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true},"steps":{"type":"array","items":{"type":"string"}},"outcomes":{"type":"object","properties":{"returned":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"sandbox":{"type":"boolean"},"message":{"type":"string"}},"additionalProperties":true},"example":{"id":"scn_b0df30d1f1e942c09f15860893eb3281","object":"sandbox_scenario","name":"payout_returned","target":"po_e40de2db776649f59df661877a0241dc","cleared":false,"active":false,"events":["payout.returned","payout.rerouted"],"result":{"payout":{"id":"po_e40de2db776649f59df661877a0241dc","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_3bc341d2345248baa6b2683e4a8b96b8","customer":"cus_8c12f0b469434b07903114cd850c4e3e","batch":null,"externalId":null,"amount":"40.00","fee":"1.20","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usd","rail":"ach","state":"returned","receiptAmount":null,"txHash":null,"toAddress":null,"chainStatus":"none","railReference":null,"delivered":false,"paidToBank":false,"approval":"none","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"bank","fallback":"wallet","fallbackOf":null,"fallbackPayout":"po_562bfe6dcdf944a0a4425dcb14cb8fa0","fallbackProblem":null,"requestedAt":"2026-11-18T21:34:56.934Z","sentAt":"2026-11-18T21:34:56.935Z","paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:34:56.934Z","updatedAt":"2026-11-18T21:34:56.940Z","metadata":{}},"steps":["returned"],"outcomes":{"returned":"applied"}},"sandbox":true,"message":"Sandbox: simulated. No money moved. The receiving bank or wallet sent the payout back. The provider returns the funds to the source wallet."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payouts/{payout}/approve":{"post":{"operationId":"postPayoutsByPayoutApprove","tags":["Payouts"],"summary":"Approve a payout waiting for approval","description":"Needs the approve scope, from a key other than the one that asked. Due now: checked against the balance and sent; with a later scheduleAt: waits for it.","x-scope":"approve","parameters":[{"name":"payout","in":"path","required":true,"schema":{"type":"string","pattern":"^po_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"},"example":{"id":"po_bc3c46b7cd9e4dd19c705e1e10c0e946","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_4c623984552c4069b140e94488ade748","customer":"cus_85ead9564ae74d7d86840a688b81cb11","batch":null,"externalId":"pay-1","amount":"100.00","fee":"1.00","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usdc","rail":"base","state":"payment_submitted","receiptAmount":null,"txHash":null,"toAddress":"0x7777777777777777777777777777777777777777","chainStatus":"none","railReference":null,"delivered":false,"paidToBank":false,"approval":"approved","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"wallet","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:31:47.141Z","sentAt":"2026-11-18T21:31:47.168Z","paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:31:47.091Z","updatedAt":"2026-11-18T21:31:47.168Z","sandbox":true,"metadata":{}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payouts/{payout}/reject":{"post":{"operationId":"postPayoutsByPayoutReject","tags":["Payouts"],"summary":"Reject a payout waiting for approval","description":"Needs the approve scope. Nothing is sent.","x-scope":"approve","parameters":[{"name":"payout","in":"path","required":true,"schema":{"type":"string","pattern":"^po_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"},"example":{"id":"po_b3014b19623e4c28b87b45ee1a783970","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_4c623984552c4069b140e94488ade748","customer":"cus_85ead9564ae74d7d86840a688b81cb11","batch":null,"externalId":null,"amount":"20.00","fee":"0.20","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usdc","rail":"base","state":"rejected","receiptAmount":null,"txHash":null,"toAddress":"0x7777777777777777777777777777777777777777","chainStatus":"none","railReference":null,"delivered":false,"paidToBank":false,"approval":"rejected","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"wallet","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:31:47.292Z","sentAt":null,"paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:31:47.288Z","updatedAt":"2026-11-18T21:31:47.292Z","sandbox":true,"metadata":{}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payouts/{payout}/cancel":{"post":{"operationId":"postPayoutsByPayoutCancel","tags":["Payouts"],"summary":"Cancel a payout waiting for approval or its time","x-scope":"write","parameters":[{"name":"payout","in":"path","required":true,"schema":{"type":"string","pattern":"^po_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"},"example":{"id":"po_412cca915bc64c34a64b748f64476151","object":"payout","wallet":"bw_sim_0002","recipient":"rcp_4c623984552c4069b140e94488ade748","customer":"cus_85ead9564ae74d7d86840a688b81cb11","batch":null,"externalId":null,"amount":"20.00","fee":"0.20","platformFee":null,"platformFeeBps":0,"currency":"usdc","payoutCurrency":"usdc","rail":"base","state":"canceled","receiptAmount":null,"txHash":null,"toAddress":"0x7777777777777777777777777777777777777777","chainStatus":"none","railReference":null,"delivered":false,"paidToBank":false,"approval":"required","scheduledAt":null,"schedule":null,"review":"none","reviewReasons":[],"destinationAmount":null,"underfundedBy":null,"fxExcess":null,"feeCredit":null,"leg":"wallet","fallback":"none","fallbackOf":null,"fallbackPayout":null,"fallbackProblem":null,"requestedAt":"2026-11-18T21:31:47.370Z","sentAt":null,"paidAt":null,"businessDaysToPaid":null,"late":false,"problem":null,"livemode":false,"createdAt":"2026-11-18T21:31:47.370Z","updatedAt":"2026-11-18T21:31:47.381Z","sandbox":true,"metadata":{}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Payout"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payout_limits":{"get":{"operationId":"getPayoutLimits","tags":["Payouts"],"summary":"The limits on your keys and recipients","description":"Per payout and per 24 hours, in USDC; null is none. SET sets them.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"defaults":{"type":"object","properties":{"key":{"type":"object","properties":{"perPayoutMax":{"description":"null in the example; holds a value when set."},"dailyMax":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"recipient":{"type":"object","properties":{"perPayoutMax":{"description":"null in the example; holds a value when set."},"dailyMax":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"additionalProperties":true},"data":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"},"perPayoutMax":{"type":["string","null"]},"dailyMax":{"type":["string","null"]},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"note":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"payout_limits","defaults":{"key":{"perPayoutMax":null,"dailyMax":null},"recipient":{"perPayoutMax":null,"dailyMax":null}},"data":[{"kind":"key","id":"key_26a516b4bef7e2c1ef50570ba0d9d644","perPayoutMax":"250.00","dailyMax":null,"updatedAt":"2026-11-18T21:31:50.209Z"},{"kind":"recipient","id":"rcp_31b8187241c94c5ebbedbf15c1890515","perPayoutMax":null,"dailyMax":"300.00","updatedAt":"2026-11-18T21:31:50.247Z"}],"note":"Amounts are USDC. A null limit is none; a value set for one key or recipient replaces the default. Daily limits count the last 24 hours. SET sets them.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/payout_schedules":{"post":{"operationId":"postPayoutSchedules","tags":["Payouts"],"summary":"A recurring payout","description":"The cron makes one payout per run, under this key, with the same limits, approval and checks. Missed runs are skipped.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"wallet":{"type":"string"},"recipient":{"type":"string"},"amount":{"type":"string","description":"Dollars and cents as a string, for example \"25.00\". Never a float.","pattern":"^\\d{1,12}(\\.\\d{1,6})?$"},"every":{"type":"string","enum":["day","week","month","quarter","year"]},"startAt":{"type":"string","format":"date-time"},"count":{"type":"integer","description":"How many payouts; none runs until canceled."},"approval":{"type":"string","enum":["none","required"]},"externalId":{"type":"string"}},"required":["wallet","recipient","amount","every"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutSchedule"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutSchedule"},"example":{"id":"pos_1314428484e54b8999ea40bf2947c430","object":"payout_schedule","customer":"cus_aec8096bf5d1424a9644653135363437","wallet":"bw_sim_0002","recipient":"rcp_4c5d47a3184c4da2bb266e3d614b2254","externalId":null,"amount":"25.00","currency":"usdc","every":"day","approval":"required","nextRunAt":"2026-11-18T21:31:55.164Z","count":null,"sent":0,"active":true,"lastPayout":null,"lastProblem":null,"livemode":false,"createdAt":"2026-11-18T21:31:55.164Z","updatedAt":"2026-11-18T21:31:55.164Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getPayoutSchedules","tags":["Payouts"],"summary":"Recurring payouts","x-scope":"read","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PayoutSchedule"}}}}]},"example":{"object":"list","data":[{"id":"pos_1314428484e54b8999ea40bf2947c430","object":"payout_schedule","customer":"cus_aec8096bf5d1424a9644653135363437","wallet":"bw_sim_0002","recipient":"rcp_4c5d47a3184c4da2bb266e3d614b2254","externalId":null,"amount":"25.00","currency":"usdc","every":"day","approval":"required","nextRunAt":null,"count":null,"sent":1,"active":false,"lastPayout":"po_34db6e5b151a4466bfe541e6c35b1438","lastProblem":null,"livemode":false,"createdAt":"2026-11-18T21:31:55.164Z","updatedAt":"2026-11-18T21:31:55.178Z"},{"id":"pos_ccea0e398b6c48f2acf8bd5731158de1","object":"payout_schedule","customer":"cus_aec8096bf5d1424a9644653135363437","wallet":"bw_sim_0002","recipient":"rcp_4c5d47a3184c4da2bb266e3d614b2254","externalId":"rent","amount":"25.00","currency":"usdc","every":"week","approval":"none","nextRunAt":null,"count":2,"sent":2,"active":false,"lastPayout":"po_66a7ffe3cbb34646992a2a252a72b41a","lastProblem":null,"livemode":false,"createdAt":"2026-11-18T21:31:54.917Z","updatedAt":"2026-11-18T21:31:55.130Z"}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/payout_schedules/{id}":{"get":{"operationId":"getPayoutSchedulesById","tags":["Payouts"],"summary":"A recurring payout","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutSchedule"},"example":{"id":"pos_1314428484e54b8999ea40bf2947c430","object":"payout_schedule","customer":"cus_aec8096bf5d1424a9644653135363437","wallet":"bw_sim_0002","recipient":"rcp_4c5d47a3184c4da2bb266e3d614b2254","externalId":null,"amount":"25.00","currency":"usdc","every":"day","approval":"required","nextRunAt":"2026-11-19T21:31:55.164Z","count":null,"sent":1,"active":true,"lastPayout":"po_34db6e5b151a4466bfe541e6c35b1438","lastProblem":null,"livemode":false,"createdAt":"2026-11-18T21:31:55.164Z","updatedAt":"2026-11-18T21:31:55.167Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"delete":{"operationId":"deletePayoutSchedulesById","tags":["Payouts"],"summary":"Stop a recurring payout","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object as it now stands (deleted: true, or no longer active). A repeat answers the same and changes nothing.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PayoutSchedule"},"example":{"id":"pos_1314428484e54b8999ea40bf2947c430","object":"payout_schedule","customer":"cus_aec8096bf5d1424a9644653135363437","wallet":"bw_sim_0002","recipient":"rcp_4c5d47a3184c4da2bb266e3d614b2254","externalId":null,"amount":"25.00","currency":"usdc","every":"day","approval":"required","nextRunAt":null,"count":null,"sent":1,"active":false,"lastPayout":"po_34db6e5b151a4466bfe541e6c35b1438","lastProblem":null,"livemode":false,"createdAt":"2026-11-18T21:31:55.164Z","updatedAt":"2026-11-18T21:31:55.178Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/metadata/{id}":{"get":{"operationId":"getMetadataById","tags":["Metadata"],"summary":"An object's metadata","description":"For a customer, virtual account, bank account, Cash-Out Address, Conversion Address, recipient or payout. Every answer and event already carries each such object's metadata.","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"metadata":{"type":"object","properties":{"a":{"type":"string"},"c":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"example":{"id":"cus_99336554cf3843aba025c3d315f9a3cf","object":"customer","metadata":{"a":"1","c":"3"}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"post":{"operationId":"postMetadataById","tags":["Metadata"],"summary":"Change an object's metadata","description":"Keys are set; \"\" or null removes a key; metadata: null clears all. At most 20 keys. A value that looks like an email, has a space, or has a number longer than 8 digits is refused (metadata_personal_data). Creates take metadata in their body too.","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"metadata":{"anyOf":[{"$ref":"#/components/schemas/Metadata"},{"type":"null"}]}},"required":["metadata"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"metadata":{"type":"object","properties":{"a":{"type":"string"},"b":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"example":{"id":"cus_99336554cf3843aba025c3d315f9a3cf","object":"customer","metadata":{"a":"1","b":"2"}}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"metadata":{"type":"object","properties":{"a":{"type":"string"},"b":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/restrictions":{"post":{"operationId":"postRestrictions","tags":["Audit"],"summary":"Restrict one of your own customers, recipients or wallets","description":"reason is always platform_request. Every money path then answers 403 restricted for it, before any provider call. A payment that still arrives from it is recorded, with restriction.payment_flagged; a bank deposit can then be sent back with POST /v1/deposits/{id}/return. A wallet applies to your business alone.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"subject":{"type":"object","properties":{"kind":{"type":"string","enum":["customer","recipient","wallet"]},"id":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"}},"required":["kind"],"additionalProperties":true}},"required":["subject"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"subject":{"type":"object","properties":{"kind":{"type":"string"},"family":{"type":"string"},"address":{"type":"string"}},"additionalProperties":true},"reason":{"type":"string"},"inbound":{"type":"string"},"placedBy":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"liftedAt":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"subject":{"type":"object","properties":{"kind":{"type":"string"},"family":{"type":"string"},"address":{"type":"string"}},"additionalProperties":true},"reason":{"type":"string"},"inbound":{"type":"string"},"placedBy":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"liftedAt":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"rst_10d54a99d21247a097916faf780dc611","object":"restriction","subject":{"kind":"wallet","family":"evm","address":"0x3333333333333333333333333333333333333333"},"reason":"platform_request","inbound":"return","placedBy":"you","state":"active","livemode":false,"createdAt":"2026-11-18T21:32:52.274Z","liftedAt":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getRestrictions","tags":["Audit"],"summary":"Restrictions on your business, its customers and recipients","description":"reason and inbound are shown only on one you placed; placedBy is you or set. A list of restrictions SET placed on a wallet with no business named is not shown. SET may also restrict your business or one of your API keys; a restricted key answers 403 restricted on every call.","x-scope":"read","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"subject":{"type":"object","properties":{"kind":{"type":"string"},"id":{"type":"string"}},"additionalProperties":true},"reason":{"description":"null in the example; holds a value when set."},"inbound":{"description":"null in the example; holds a value when set."},"placedBy":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"liftedAt":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"rst_b3df9c946259474e90b57650db951235","object":"restriction","subject":{"kind":"business","id":"ptr_sandbox_platform"},"reason":null,"inbound":null,"placedBy":"set","state":"active","livemode":false,"createdAt":"2026-11-18T21:29:08.689Z","liftedAt":null},{"id":"rst_d125c92a1fee4251b96a99408ac97f66","object":"restriction","subject":{"kind":"customer","id":"cus_24786a005224470e8e19e66375d8304b"},"reason":null,"inbound":null,"placedBy":"set","state":"active","livemode":false,"createdAt":"2026-11-18T21:29:08.672Z","liftedAt":null}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/restrictions/{restriction}/lift":{"post":{"operationId":"postRestrictionsByRestrictionLift","tags":["Audit"],"summary":"Lift a restriction you placed","description":"One SET placed answers 403 restriction_set_by_set.","x-scope":"write","parameters":[{"name":"restriction","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"subject":{"type":"object","properties":{"kind":{"type":"string"},"family":{"type":"string"},"address":{"type":"string"}},"additionalProperties":true},"reason":{"type":"string"},"inbound":{"type":"string"},"placedBy":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"liftedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"rst_727f65d37ce64430801b51084de3319d","object":"restriction","subject":{"kind":"wallet","family":"evm","address":"0x7777777777777777777777777777777777777777"},"reason":"platform_request","inbound":"return","placedBy":"you","state":"lifted","livemode":false,"createdAt":"2026-11-18T21:27:48.992Z","liftedAt":"2026-11-18T21:27:49.097Z","sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"subject":{"type":"object","properties":{"kind":{"type":"string"},"family":{"type":"string"},"address":{"type":"string"}},"additionalProperties":true},"reason":{"type":"string"},"inbound":{"type":"string"},"placedBy":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"liftedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/data_requests":{"post":{"operationId":"postDataRequests","tags":["Audit"],"summary":"Record a data-subject request","description":"A person asks to see (export) or erase (delete) what is held about them, for one of your customers. SET's operator answers it; whatSetHolds says what SET keeps and what the provider keeps, and retention what SET keeps for 10 years. A delete request erases nothing on receipt.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"kind":{"type":"string","enum":["export","delete"]}},"required":["customer","kind"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"kind":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"whatSetHolds":{"type":"string"},"retention":{"type":"object","properties":{"object":{"type":"string"},"recordsYears":{"type":"integer"},"kept":{"type":"array","items":{"type":"string"}},"erased":{"type":"array"},"statement":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"kind":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"whatSetHolds":{"type":"string"},"retention":{"type":"object","properties":{"object":{"type":"string"},"recordsYears":{"type":"integer"},"kept":{"type":"array","items":{"type":"string"}},"erased":{"type":"array"},"statement":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"example":{"id":"dsr_0e1043b872564f5f8faab6cda5dfed87","object":"data_request","customer":"cus_baa4fdf64b9d423a8364f61fd9d9a856","kind":"delete","state":"received","livemode":false,"createdAt":"2026-11-18T21:27:24.286Z","updatedAt":"2026-11-18T21:27:24.286Z","whatSetHolds":"SET holds this customer's ids, states, amounts and dates for each payment, which payment and tax records require it to keep, and any metadata you set. Identity details (names, documents, bank details) are held by the provider under its own retention; SET does not store them.","retention":{"object":"retention","recordsYears":10,"kept":["each payment's ids, states, amounts, dates and rail references","Travel Rule evidence"],"erased":[],"statement":"A delete request erases nothing on receipt; SET's operator answers it within the time the law gives. SET keeps each payment's ids, states, amounts, dates and rail references, Travel Rule evidence, restrictions, the audit log and its seals, the references and counterparty names a business uploaded to SET Close for 10 years from each record's date (SET-CMP-020 sections 4 and 9.4)."}}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getDataRequests","tags":["Audit"],"summary":"Your data-subject requests","description":"Newest first, up to 100.","x-scope":"read","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"kind":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"whatSetHolds":{"type":"string"},"retention":{"type":"object","properties":{"object":{"type":"string"},"recordsYears":{"type":"integer"},"kept":{"type":"array","items":{"type":"string"}},"erased":{"type":"array"},"statement":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"dsr_dc62236f8a554b3db9c9e65c308806cd","object":"data_request","customer":"cus_724453ab9f054dcfb2a3001c66b8ad40","kind":"export","state":"received","livemode":false,"createdAt":"2026-11-18T21:26:45.959Z","updatedAt":"2026-11-18T21:26:45.959Z","whatSetHolds":"SET holds this customer's ids, states, amounts and dates for each payment, which payment and tax records require it to keep, and any metadata you set. Identity details (names, documents, bank details) are held by the provider under its own retention; SET does not store them.","retention":{"object":"retention","recordsYears":10,"kept":["each payment's ids, states, amounts, dates and rail references","Travel Rule evidence"],"erased":[],"statement":"SET keeps each payment's ids, states, amounts, dates and rail references, Travel Rule evidence, restrictions, the audit log and its seals, the references and counterparty names a business uploaded to SET Close for 10 years from each record's date (SET-CMP-020 sections 4 and 9.4)."}},{"id":"dsr_fcbf73562aa54a9ba3fb9975545e0f4d","object":"data_request","customer":"cus_724453ab9f054dcfb2a3001c66b8ad40","kind":"delete","state":"received","livemode":false,"createdAt":"2026-11-18T21:26:45.953Z","updatedAt":"2026-11-18T21:26:45.953Z","whatSetHolds":"SET holds this customer's ids, states, amounts and dates for each payment, which payment and tax records require it to keep, and any metadata you set. Identity details (names, documents, bank details) are held by the provider under its own retention; SET does not store them.","retention":{"object":"retention","recordsYears":10,"kept":["each payment's ids, states, amounts, dates and rail references","Travel Rule evidence"],"erased":[],"statement":"A delete request erases nothing on receipt; SET's operator answers it within the time the law gives. SET keeps each payment's ids, states, amounts, dates and rail references, Travel Rule evidence, restrictions, the audit log and its seals, the references and counterparty names a business uploaded to SET Close for 10 years from each record's date (SET-CMP-020 sections 4 and 9.4)."}}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/exports":{"post":{"operationId":"postExports","tags":["Audit"],"summary":"Export everything your business holds at SET","description":"Needs a key with the approve scope and the write scope (403 scope_missing otherwise). Takes a snapshot time (asOf) and counts each kind of object created at or before it: customers, bank accounts, recipients, wallets, virtual accounts, Cash-Out and Conversion Addresses, deposits, payments, payouts, refunds, transfers, invoices, journal entries, statements, holds, Travel Rule evidence, webhook endpoints, the audit log, events and SET Close records. Read the objects with GET /v1/exports/{export}/objects. Rows are as SET holds them, with the provider's object ids. Never exported: SET's keyed hashes, sealed values, idempotency keys, key material and webhook secrets.","x-scope":"approve","x-scopes":["write","approve"],"x-scope-mode":"all","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"asOf":{"type":"string","format":"date-time"},"counts":{"type":"object","properties":{"customer":{"type":"integer"},"bank_account":{"type":"integer"},"recipient":{"type":"integer"},"wallet":{"type":"integer"},"virtual_account":{"type":"integer"},"cash_out_address":{"type":"integer"},"conversion_address":{"type":"integer"},"static_memo":{"type":"integer"},"static_template":{"type":"integer"},"deposit":{"type":"integer"},"deposit_return":{"type":"integer"},"cop_payin":{"type":"integer"},"cash_out_payment":{"type":"integer"},"conversion_payment":{"type":"integer"},"payment_reference":{"type":"integer"},"card_payment":{"type":"integer"},"wallet_withdrawal":{"type":"integer"},"payout_batch":{"type":"integer"},"payout":{"type":"integer"},"payout_schedule":{"type":"integer"},"refund":{"type":"integer"},"transfer":{"type":"integer"},"payer":{"type":"integer"},"payment_link":{"type":"integer"},"invoice":{"type":"integer"},"invoice_payment":{"type":"integer"},"invoice_schedule":{"type":"integer"},"journal_entry":{"type":"integer"},"statement":{"type":"integer"},"kickback":{"type":"integer"},"travel_rule_evidence":{"type":"integer"},"hold":{"type":"integer"},"data_request":{"type":"integer"},"webhook_endpoint":{"type":"integer"},"audit_log_entry":{"type":"integer"},"event":{"type":"integer"},"close_source":{"type":"integer"},"close_import":{"type":"integer"},"close_record":{"type":"integer"},"close_match":{"type":"integer"},"close_period":{"type":"integer"}},"additionalProperties":true},"total":{"type":"integer"},"objects":{"type":"string"},"format":{"type":"string"},"livemode":{"type":"boolean"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"example":{"id":"exp_8203916913d242e79c3e007325ed664d","object":"export","asOf":"2026-11-18T13:42:41.353Z","counts":{"customer":1,"bank_account":3,"recipient":0,"wallet":0,"virtual_account":5,"cash_out_address":3,"conversion_address":1,"static_memo":0,"static_template":0,"deposit":4,"deposit_return":0,"cop_payin":0,"cash_out_payment":3,"conversion_payment":1,"payment_reference":0,"card_payment":0,"wallet_withdrawal":0,"payout_batch":0,"payout":0,"payout_schedule":0,"refund":0,"transfer":0,"payer":0,"payment_link":0,"invoice":0,"invoice_payment":0,"invoice_schedule":0,"journal_entry":0,"statement":0,"kickback":0,"travel_rule_evidence":0,"hold":0,"data_request":0,"webhook_endpoint":0,"audit_log_entry":43,"event":39,"close_source":0,"close_import":0,"close_record":0,"close_match":0,"close_period":0},"total":103,"objects":"/v1/exports/exp_8203916913d242e79c3e007325ed664d/objects","format":"application/x-ndjson","livemode":false,"createdBy":"key_d9ec620ff55fd75c18b4c236cc61d8d4","createdAt":"2026-11-18T13:42:41.353Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getExports","tags":["Audit"],"summary":"Your exports","description":"Newest first, with each export's counts.","x-scope":"read","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"object":{"type":"string"},"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"asOf":{"type":"string","format":"date-time"},"counts":{"type":"object","properties":{"customer":{"type":"integer"},"bank_account":{"type":"integer"},"recipient":{"type":"integer"},"wallet":{"type":"integer"},"virtual_account":{"type":"integer"},"cash_out_address":{"type":"integer"},"conversion_address":{"type":"integer"},"static_memo":{"type":"integer"},"static_template":{"type":"integer"},"deposit":{"type":"integer"},"deposit_return":{"type":"integer"},"cop_payin":{"type":"integer"},"cash_out_payment":{"type":"integer"},"conversion_payment":{"type":"integer"},"payment_reference":{"type":"integer"},"card_payment":{"type":"integer"},"wallet_withdrawal":{"type":"integer"},"payout_batch":{"type":"integer"},"payout":{"type":"integer"},"payout_schedule":{"type":"integer"},"refund":{"type":"integer"},"transfer":{"type":"integer"},"payer":{"type":"integer"},"payment_link":{"type":"integer"},"invoice":{"type":"integer"},"invoice_payment":{"type":"integer"},"invoice_schedule":{"type":"integer"},"journal_entry":{"type":"integer"},"statement":{"type":"integer"},"kickback":{"type":"integer"},"travel_rule_evidence":{"type":"integer"},"hold":{"type":"integer"},"data_request":{"type":"integer"},"webhook_endpoint":{"type":"integer"},"audit_log_entry":{"type":"integer"},"event":{"type":"integer"},"close_source":{"type":"integer"},"close_import":{"type":"integer"},"close_record":{"type":"integer"},"close_match":{"type":"integer"},"close_period":{"type":"integer"}},"additionalProperties":true},"total":{"type":"integer"},"objects":{"type":"string"},"format":{"type":"string"},"livemode":{"type":"boolean"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true}]},"example":{"object":"list","data":[{"id":"exp_8203916913d242e79c3e007325ed664d","object":"export","asOf":"2026-11-18T13:42:41.353Z","counts":{"customer":1,"bank_account":3,"recipient":0,"wallet":0,"virtual_account":5,"cash_out_address":3,"conversion_address":1,"static_memo":0,"static_template":0,"deposit":4,"deposit_return":0,"cop_payin":0,"cash_out_payment":3,"conversion_payment":1,"payment_reference":0,"card_payment":0,"wallet_withdrawal":0,"payout_batch":0,"payout":0,"payout_schedule":0,"refund":0,"transfer":0,"payer":0,"payment_link":0,"invoice":0,"invoice_payment":0,"invoice_schedule":0,"journal_entry":0,"statement":0,"kickback":0,"travel_rule_evidence":0,"hold":0,"data_request":0,"webhook_endpoint":0,"audit_log_entry":43,"event":39,"close_source":0,"close_import":0,"close_record":0,"close_match":0,"close_period":0},"total":103,"objects":"/v1/exports/exp_8203916913d242e79c3e007325ed664d/objects","format":"application/x-ndjson","livemode":false,"createdBy":"key_d9ec620ff55fd75c18b4c236cc61d8d4","createdAt":"2026-11-18T13:42:41.353Z"}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/exports/{export}":{"get":{"operationId":"getExportsByExport","tags":["Audit"],"summary":"One export and its counts","x-scope":"read","parameters":[{"name":"export","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"asOf":{"type":"string","format":"date-time"},"counts":{"type":"object","properties":{"customer":{"type":"integer"},"bank_account":{"type":"integer"},"recipient":{"type":"integer"},"wallet":{"type":"integer"},"virtual_account":{"type":"integer"},"cash_out_address":{"type":"integer"},"conversion_address":{"type":"integer"},"static_memo":{"type":"integer"},"static_template":{"type":"integer"},"deposit":{"type":"integer"},"deposit_return":{"type":"integer"},"cop_payin":{"type":"integer"},"cash_out_payment":{"type":"integer"},"conversion_payment":{"type":"integer"},"payment_reference":{"type":"integer"},"card_payment":{"type":"integer"},"wallet_withdrawal":{"type":"integer"},"payout_batch":{"type":"integer"},"payout":{"type":"integer"},"payout_schedule":{"type":"integer"},"refund":{"type":"integer"},"transfer":{"type":"integer"},"payer":{"type":"integer"},"payment_link":{"type":"integer"},"invoice":{"type":"integer"},"invoice_payment":{"type":"integer"},"invoice_schedule":{"type":"integer"},"journal_entry":{"type":"integer"},"statement":{"type":"integer"},"kickback":{"type":"integer"},"travel_rule_evidence":{"type":"integer"},"hold":{"type":"integer"},"data_request":{"type":"integer"},"webhook_endpoint":{"type":"integer"},"audit_log_entry":{"type":"integer"},"event":{"type":"integer"},"close_source":{"type":"integer"},"close_import":{"type":"integer"},"close_record":{"type":"integer"},"close_match":{"type":"integer"},"close_period":{"type":"integer"}},"additionalProperties":true},"total":{"type":"integer"},"objects":{"type":"string"},"format":{"type":"string"},"livemode":{"type":"boolean"},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"example":{"id":"exp_8203916913d242e79c3e007325ed664d","object":"export","asOf":"2026-11-18T13:42:41.353Z","counts":{"customer":1,"bank_account":3,"recipient":0,"wallet":0,"virtual_account":5,"cash_out_address":3,"conversion_address":1,"static_memo":0,"static_template":0,"deposit":4,"deposit_return":0,"cop_payin":0,"cash_out_payment":3,"conversion_payment":1,"payment_reference":0,"card_payment":0,"wallet_withdrawal":0,"payout_batch":0,"payout":0,"payout_schedule":0,"refund":0,"transfer":0,"payer":0,"payment_link":0,"invoice":0,"invoice_payment":0,"invoice_schedule":0,"journal_entry":0,"statement":0,"kickback":0,"travel_rule_evidence":0,"hold":0,"data_request":0,"webhook_endpoint":0,"audit_log_entry":43,"event":39,"close_source":0,"close_import":0,"close_record":0,"close_match":0,"close_period":0},"total":103,"objects":"/v1/exports/exp_8203916913d242e79c3e007325ed664d/objects","format":"application/x-ndjson","livemode":false,"createdBy":"key_d9ec620ff55fd75c18b4c236cc61d8d4","createdAt":"2026-11-18T13:42:41.353Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/exports/{export}/objects":{"get":{"operationId":"getExportsByExportObjects","tags":["Audit"],"summary":"An export's objects, as NDJSON","description":"One JSON object per line, oldest first within each kind; object names the kind. limit 1 to 1,000 (500 by default). The SET-Next-Cursor header (and a Link rel=next) names the next page; pass it as cursor. No header: the export is complete. A page may hold fewer lines than limit when it reached the end of several kinds; follow the cursor. Each object shows its state now, for objects created at or before asOf.","x-scope":"read","parameters":[{"name":"export","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"name":"cursor","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"One JSON object per line (NDJSON).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"SET-Next-Cursor":{"description":"The next page's cursor; absent when the export is complete. Follow it until it is absent; do not count lines.","schema":{"type":"string"}},"SET-Export-Lines":{"description":"How many lines this page holds.","schema":{"type":"integer"}},"Link":{"description":"rel=\"next\": the next page's URL, while there is one.","schema":{"type":"string"}}},"content":{"application/x-ndjson":{"schema":{"type":"string"},"example":"{\"object\":\"customer\",\"id\":\"cus_935b8d29c2134a9f96b0d595d43e1f46\",\"partner_id\":\"ptr_sandbox_platform\",\"external_id\":\"merchant-001\",\"customer_type\":\"business\",\"kyc_link_id\":null,\"customer_id\":\"cust_sim_0001\",\"kyc_status\":\"approved\",\"tos_status\":\"approved\",\"verification\":\"approved\",\"livemode\":0,\"created_at\":\"2026-11-18T13:42:41.193Z\",\"updated_at\":\"2026-11-18T13:42:41.272Z\",\"closed_at\":null,\"requirements_due\":null}\n{\"object\":\"bank_account\",\"id\":\"ea_sim_0003\",\"api_customer_id\":\"cus_935b8d29c2134a9f96b0d595d43e1f46\",\"partner_id\":\"ptr_sandbox_platform\",\"customer_id\":\"cust_sim_0001\",\"livemode\":0,\"created_at\":\"2026-11-18T13:42:41.227Z\",\"currency\":\"usd\"}\n"}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/security_report":{"get":{"operationId":"getSecurityReport","tags":["Audit"],"summary":"Keys, webhook endpoints and audit-log counts, from live state","description":"For a security review: every key as GET /v1/api_keys answers it (not revoked, or revoked in the last 90 days), every webhook endpoint as GET /v1/webhook_endpoints answers it, summaries of both, the Direct Deposit partner key as GET /api/partner/keys answers it (partnerKey), and the audit log's counts for the last 30 days.","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"livemode":{"type":"boolean"},"generatedAt":{"type":"string","format":"date-time"},"keys":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"prefix":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"label":{"type":["string","null"]},"allowedCidrs":{"type":"array","items":{"type":"string"}},"current":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"revokedAt":{"type":["string","null"]},"expiresAt":{"description":"null in the example; holds a value when set."},"expired":{"type":"boolean"},"lastUsedAt":{"description":"null in the example; holds a value when set."},"rotatedTo":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"summary":{"type":"object","properties":{"active":{"type":"integer"},"withWriteScope":{"type":"integer"},"readOnly":{"type":"integer"},"withAllowedCidrs":{"type":"integer"},"withExpiry":{"type":"integer"},"expiringWithin30Days":{"type":"integer"},"neverUsed":{"type":"integer"},"unusedFor90Days":{"type":"integer"},"rotating":{"type":"integer"}},"additionalProperties":true},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"webhookEndpoints":{"type":"object","properties":{"data":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"url":{"type":"string"},"events":{"type":"array"},"primary":{"type":"boolean"},"status":{"type":"string"},"disabledAt":{"description":"null in the example; holds a value when set."},"failures":{"type":"integer"},"failingSince":{"type":"string","format":"date-time"},"secretVersion":{"type":"integer"},"secretRotatedAt":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"summary":{"type":"object","properties":{"total":{"type":"integer"},"enabled":{"type":"integer"},"disabled":{"type":"integer"},"failing":{"type":"integer"}},"additionalProperties":true},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"partnerKey":{"type":"object","properties":{"object":{"type":"string"},"current":{"description":"null in the example; holds a value when set."},"previous":{"description":"null in the example; holds a value when set."},"allowedCidrs":{"type":"array"}},"additionalProperties":true},"auditLog":{"type":"object","properties":{"since":{"type":"string","format":"date-time"},"writes":{"type":"integer"},"byKey":{"type":"integer"},"byOperator":{"type":"integer"},"refused":{"type":"integer"},"refusedAuth":{"type":"integer"},"operatorConsoleChanges":{"type":"integer"},"notes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"security_report","livemode":false,"generatedAt":"2026-11-18T21:29:03.205Z","keys":{"data":[{"id":"key_cb3ab2fb626746b29ffa030b78fc9a66","object":"api_key","prefix":"set_test_Yvi","scopes":["read"],"label":null,"allowedCidrs":[],"current":false,"livemode":false,"createdAt":"2026-11-18T21:29:03.182Z","revokedAt":"2026-11-18T21:29:03.185Z","expiresAt":null,"expired":false,"lastUsedAt":null,"rotatedTo":null},{"id":"key_2cd7554d29b64c08b2c478793b9d2228","object":"api_key","prefix":"set_test_fnH","scopes":["read","write"],"label":"server","allowedCidrs":["203.0.113.0/24"],"current":false,"livemode":false,"createdAt":"2026-11-18T21:29:03.176Z","revokedAt":null,"expiresAt":null,"expired":false,"lastUsedAt":null,"rotatedTo":null}],"summary":{"active":3,"withWriteScope":2,"readOnly":1,"withAllowedCidrs":1,"withExpiry":1,"expiringWithin30Days":1,"neverUsed":2,"unusedFor90Days":0,"rotating":0},"notes":["Keys not revoked, and keys revoked in the last 90 days, each as GET /v1/api_keys answers it.","lastUsedAt is written at most once a minute per key."]},"webhookEndpoints":{"data":[{"id":"primary","object":"webhook_endpoint","url":"https://hooks.example.com/set","events":[],"primary":true,"status":"enabled","disabledAt":null,"failures":1,"failingSince":"2026-11-18T21:29:03.197Z"},{"id":"we_e94883ce0dcd4d898a0a5325b6c2b36a","object":"webhook_endpoint","url":"https://hooks.example.com/second","events":[],"secretVersion":0,"secretRotatedAt":null,"livemode":false,"createdAt":"2026-11-18T21:29:03.200Z","updatedAt":"2026-11-18T21:29:03.200Z","status":"enabled","disabledAt":null,"failures":3,"failingSince":"2026-11-18T20:29:03.201Z"}],"summary":{"total":2,"enabled":2,"disabled":0,"failing":2},"notes":["Each endpoint as GET /v1/webhook_endpoints answers it. Deliveries are signed (SET-Signature, HMAC-SHA256 with a timestamp); failures counts failed deliveries in a row."]},"partnerKey":{"object":"partner_keys","current":null,"previous":null,"allowedCidrs":[]},"auditLog":{"since":"2026-10-19T21:29:03.205Z","writes":9,"byKey":9,"byOperator":0,"refused":1,"refusedAuth":0,"operatorConsoleChanges":0,"notes":["Writes (any method but GET) by your keys and by SET's operator for you, from GET /v1/audit_log; refused counts answers of 400 or more, refusedAuth 401 and 403."]},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/audit_log":{"get":{"operationId":"getAuditLog","tags":["Audit"],"summary":"Every write by your keys and by SET's operator for you","description":"Method, path, object, status, request id and time; never a body. Newest first; page with createdBefore = the last answer's nextCreatedBefore. actor: key or operator. format=csv answers the same page as CSV, with the next page in a Link header (rel=\"next\").","x-scope":"read","parameters":[{"name":"actor","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/AuditEntry"}}}}]},"example":{"object":"list","data":[{"id":"aud_b27bb9676e8f4568ba96c1d5fda5f415","object":"audit_entry","actor":{"type":"key","key":"set_test_oBJ"},"method":"POST","path":"/v1/exports","action":null,"objectId":"exp_905a406931ff4b13a82eeace393801af","status":201,"requestId":"req_115e36cd00354b1099f097ea90b28e82","createdAt":"2026-11-18T21:30:23.589Z"},{"id":"aud_55adf33f379944fda86555e50c914a93","object":"audit_entry","actor":{"type":"key","key":"set_test_oBJ"},"method":"POST","path":"/v1/data_requests","action":null,"objectId":null,"status":400,"requestId":"req_da2f7b5e644241f6bdf6513b50751c38","createdAt":"2026-11-18T21:30:23.557Z"}],"hasMore":true,"nextCreatedBefore":"2026-11-18T21:30:22.926Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/audit_log/verify":{"get":{"operationId":"getAuditLogVerify","tags":["Audit"],"summary":"Verify the audit log's hash chain","description":"Every row GET /v1/audit_log reads is sealed, in order, into a hash chain (SHA-256 over each row and the previous seal). This seals any new rows, then recomputes every seal. checkpoint (B-07): null until SET signs its first daily checkpoint; then the latest one (day, release, root, kid, Ed25519 signature, namedRoots) and, for each of your own chains, its head at that checkpoint and the Merkle path to the signed root (inRoot, matchesChain; verified when all hold and the signature verifies). Keys: GET /.well-known/set-signing-keys.json. Per log (writes: your keys' writes; operator: SET's operator console for you; restrictions: the restrictions you placed yourself, placed and lifted): verified, sealedThrough (the last row checked), unsealedRows, head (the newest seal and its hash: keep it, and a later answer must still pass through it), and firstBroken (seal, row and reason: changed, removed, added or chain) when a row no longer matches. A log with more than 20,000 rows answers complete: false and nextFromSeal; call again with log and fromSeal.","x-scope":"read","parameters":[{"name":"log","in":"query","required":false,"schema":{"type":"string"}},{"name":"fromSeal","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"verified":{"type":"boolean"},"complete":{"type":"boolean"},"checkedAt":{"type":"string","format":"date-time"},"logs":{"type":"array","items":{"type":"object","properties":{"log":{"type":"string"},"verified":{"type":"boolean"},"complete":{"type":"boolean"},"seals":{"type":"integer"},"sealedRows":{"type":"integer"},"sealedThrough":{"type":["object","null"],"properties":{"id":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"unsealedRows":{"type":"integer"},"head":{"type":["object","null"],"properties":{"seal":{"type":"integer"},"hash":{"type":"string"}},"additionalProperties":true},"firstBroken":{"description":"null in the example; holds a value when set."},"nextFromSeal":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"note":{"type":"string"},"checkpoint":{"type":"object","properties":{"object":{"type":"string"},"day":{"type":"string"},"release":{"type":"string"},"root":{"type":"string"},"leafCount":{"type":"integer"},"namedRoots":{"type":"object","properties":{},"additionalProperties":true},"kid":{"type":"string"},"signature":{"type":"string"},"signedAt":{"type":"string","format":"date-time"},"keys":{"type":"string"},"verified":{"type":"boolean"},"signatureValid":{"type":"boolean"},"proofs":{"type":"array","items":{"type":"object","properties":{"log":{"type":"string"},"seal":{"type":"integer"},"hash":{"type":"string"},"path":{"type":"array"},"inRoot":{"type":"boolean"},"matchesChain":{"type":"boolean"}},"additionalProperties":true}}},"additionalProperties":true},"livemode":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"audit_log_verification","verified":true,"complete":true,"checkedAt":"2026-11-18T21:27:08.024Z","logs":[{"log":"writes","verified":true,"complete":true,"seals":1,"sealedRows":3,"sealedThrough":{"id":"aud_92fddd188c0d41b3af99de3e92f45f73","createdAt":"2026-11-18T21:27:07.950Z"},"unsealedRows":0,"head":{"seal":1,"hash":"1a376dd560dc26ce92985a9645e52a56d812fa54418abc518252d0e01a96fd39"},"firstBroken":null,"nextFromSeal":null},{"log":"operator","verified":true,"complete":true,"seals":0,"sealedRows":0,"sealedThrough":null,"unsealedRows":0,"head":null,"firstBroken":null,"nextFromSeal":null}],"note":"Each log is sealed in order into a hash chain. verified: every sealed row still hashes to its seal. Keep head.hash: if a later answer's chain does not pass through it, the past was rewritten.","checkpoint":{"object":"checkpoint","day":"2026-11-14","release":"abc1234","root":"eff2e38025de470369219459a12558faeafe1a6957c989003bb1c9beb4bd4946","leafCount":1,"namedRoots":{},"kid":"set-test-a","signature":"AjRq28FWkRTTSb-agLOagsQP5ZFW4j4ihRvNrTEMSCE4ftBpFwQ6DaHknQ_05EjMt09ARqIkqwkvTw5vSSSfDA","signedAt":"2026-11-14T00:05:00.000Z","keys":"/.well-known/set-signing-keys.json","verified":true,"signatureValid":true,"proofs":[{"log":"writes","seal":1,"hash":"1a376dd560dc26ce92985a9645e52a56d812fa54418abc518252d0e01a96fd39","path":[],"inRoot":true,"matchesChain":true}]},"livemode":false}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/statements":{"post":{"operationId":"postStatements","tags":["Statements"],"summary":"Build a customer's monthly statement","description":"Precomputed in steps; each read of the statement builds more. rebuild: true replaces a ready one.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"customer":{"type":"string"},"month":{"type":"string","description":"YYYY-MM."},"rebuild":{"type":"boolean"}},"required":["customer","month"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Statement"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Statement"},"example":{"id":"stm_1ba099404df8454e814d1177b919ed70","object":"statement","customer":"cus_f7b8f72110d2413e8065f8e758e0ea7d","externalId":"merchant-001","month":"2026-11","state":"ready","rows":3,"totals":[{"type":"deposit","currency":"usd","count":2,"amount":"1250.50","setFee":"12.51","platformFee":"0.00","providerFee":"0.00"},{"type":"payout","currency":"usdc","count":1,"amount":"100.00","setFee":"1.00","platformFee":"0.00","providerFee":"0.00"}],"complete":false,"downloads":{"csv":"/v1/statements/stm_1ba099404df8454e814d1177b919ed70/csv","pdf":"/v1/statements/stm_1ba099404df8454e814d1177b919ed70/pdf"},"notes":["Every row created in the month (UTC), whatever its state; the state column says which completed. Totals add every listed row."],"livemode":false,"createdAt":"2026-11-18T21:25:51.971Z","readyAt":"2026-11-18T21:25:51.974Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"get":{"operationId":"getStatements","tags":["Statements"],"summary":"List statements","x-scope":"read","parameters":[{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"month","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Statement"}}}}]},"example":{"object":"list","data":[{"id":"stm_04dbf8a3a5fae34db3c190ca721392dd","object":"statement","customer":"x_e8043e0053c9c329","externalId":null,"month":"2026-10","state":"ready","rows":0,"totals":[],"complete":false,"downloads":{"csv":"/v1/statements/stm_04dbf8a3a5fae34db3c190ca721392dd/csv","pdf":"/v1/statements/stm_04dbf8a3a5fae34db3c190ca721392dd/pdf"},"notes":["Every row created in the month (UTC), whatever its state; the state column says which completed. Totals add every listed row."],"livemode":false,"createdAt":"2026-11-09T12:00:09.000Z","readyAt":null},{"id":"stm_fb2d44423236c846748e9c3ad9ef167f","object":"statement","customer":"x_35a8484326e9ff2d","externalId":null,"month":"2026-10","state":"ready","rows":0,"totals":[],"complete":false,"downloads":{"csv":"/v1/statements/stm_fb2d44423236c846748e9c3ad9ef167f/csv","pdf":"/v1/statements/stm_fb2d44423236c846748e9c3ad9ef167f/pdf"},"notes":["Every row created in the month (UTC), whatever its state; the state column says which completed. Totals add every listed row."],"livemode":false,"createdAt":"2026-11-09T12:00:05.000Z","readyAt":null}],"hasMore":true,"nextCreatedBefore":"2026-11-09T12:00:05.000Z~stm_fb2d44423236c846748e9c3ad9ef167f","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/statements/{id}":{"get":{"operationId":"getStatementsById","tags":["Statements"],"summary":"A statement: state, totals, downloads","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Statement"},"example":{"id":"stm_70042185391546c49c6d444c3ac2b8c5","object":"statement","customer":"cus_0de9c2c262ea43909955f164cb157abb","externalId":"bulk-payer","month":"2026-11","state":"ready","rows":5000,"totals":[{"type":"payout","currency":"usdc","count":5000,"amount":"500000.00","setFee":"3250.00","platformFee":"0.00","providerFee":"0.00"}],"complete":false,"downloads":{"csv":"/v1/statements/stm_70042185391546c49c6d444c3ac2b8c5/csv","pdf":"/v1/statements/stm_70042185391546c49c6d444c3ac2b8c5/pdf"},"notes":["Every row created in the month (UTC), whatever its state; the state column says which completed. Totals add every listed row."],"livemode":false,"createdAt":"2026-11-18T21:25:54.210Z","readyAt":"2026-11-18T21:25:54.498Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/statements/{id}/csv":{"get":{"operationId":"getStatementsByIdCsv","tags":["Statements"],"summary":"The statement as CSV","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The statement as CSV, one row per transaction.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"text/csv":{"schema":{"type":"string"},"example":"created_at_utc,type,direction,id,amount,currency,set_fee,platform_fee,provider_fee,settled_amount,settled_currency,state\n2026-11-18T21:25:51.622Z,deposit,in,sim_dep_fcb258c6-3c9c-4146-8180-833e1705c00e,1000.00,usd,10.00,,0.00,990.00,,payment_processed\n2026-11-18T21:25:51.735Z,deposit,in,sim_dep_4c028946-6246-4587-878b-5337395431e7,250.50,usd,2.51,,0.00,247.99,,payment_processed\n2026-11-18T21:25:51.901Z,payout,out,po_280abe7dbd64486999e1df43b1f952ec,100.00,usdc,1.00,,,,usdc,payment_submitted\n"}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/statements/{id}/pdf":{"get":{"operationId":"getStatementsByIdPdf","tags":["Statements"],"summary":"The statement as PDF","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The statement as a PDF.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/pdf":{"schema":{"type":"string","contentMediaType":"application/pdf"},"example":"%PDF-1.4\n1 0 obj\n<< /Type /Catalog /Pages 2 0 R >>\nendobj\n2 0 obj\n<< /Type /Pages /Count 1 /Kids [5 0 R] >>\nendobj\n3 0 obj\n<< /Type /Font /Subtype /Type1 /BaseFont /Courier /Encoding /WinAnsiEncoding >>\nendobj\n4 0 obj\n<< /Type /Font /Subtype /Type1 /BaseFont /Courier-Bold /Encoding /WinAnsiEncoding >>\nendobj\n5 0 obj\n<< /Type /Page /Parent 2 0 R /MediaBox [0 0 792 612] /Resources << /Font << /F1 3 0 R /F2 4 0 R >> >> /Contents 6 0 R >>\nendobj\n6 0 obj\n<< /Length 1890 >>\nstream\nBT /F2 7 Tf 9 TL 36 576 Td (SET statement - Sandbox Platform AG - 2026-11  -  page 1 of 1) Tj T* (Date       Type               Id                                             Amount Cur        SET fee     Platform   Other fees            Settled State           ) Tj T* T* /F1 7 Tf\n(Customer: merchant-001 \\(cus_f7b8f72110d2413e8065f8e758e0ea7d\\)) Tj T*\n(Period: 2026-11 \\(UTC\\), 3 transactions. Sandbox: no money moved.) Tj T*\n(Built 2026-11-18T21:25:51.974Z - before the month ended; rebuild for the full month.) Tj T*\n() Tj T*\n(Summary) Tj T*\n(  Bank payments in \\(virtual accounts\\): 2 USD 1250.50; SET fee 12.51 \\(platform 0.00\\); other fees 0.00) Tj T*\n(  Payouts to recipients: 1 USDC 100.00; SET fee 1.00 \\(platform 0.00\\); other fees 0.00) Tj T*\n() Tj T*\n() Tj T*\n(Bank payments in \\(virtual accounts\\)) Tj T*\n(2026-11-18 Bank in            sim_dep_fcb258c6-3c9c-4146-8180-833~          1000.00 USD          10.00                      0.00             990.00 payment_process~) Tj T*\n(2026-11-18 Bank in            sim_dep_4c028946-6246-4587-878b-533~           250.50 USD           2.51                      0.00             247.99 payment_process~) Tj T*\n(           Subtotal \\(2\\)                                                     1250.50 USD          12.51         0.00         0.00                                    ) Tj T*\n() Tj T*\n(Payouts to recipients) Tj T*\n(2026-11-18 Payout             po_280abe7dbd64486999e1df43b1f952ec           -100.00 USDC          1.00                                              payment_submitt~) Tj T*\n(           Subtotal \\(1\\)                                                      100.00 USDC          1.00         0.00         0.00                                    ) Tj T*\n() Tj T*\nET\nendstream\nendobj\nxref\n0 7\n0000000000 65535 f \n0000000009 00000 n \n0000000058 00000 n \n0000000115 00000 n \n0000000210 00000 n \n0000000310 00000 n \n0000000446 00000 n \ntrailer\n<< /Size 7 /Root 1 0 R >>\nstartxref\n2388\n%%EOF\n"}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/tax/payouts":{"get":{"operationId":"getTaxPayouts","tags":["Statements"],"summary":"A year's payouts with their verification","x-scope":"read","parameters":[{"name":"year","in":"query","required":false,"schema":{"type":"string"}},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"year":{"type":"integer"},"data":{"type":"array","items":{"type":"object","properties":{"date":{"type":"string","format":"date-time"},"payout":{"type":"string"},"customer":{"type":"string"},"customerExternalId":{"type":"string"},"recipient":{"type":"string"},"recipientExternalId":{"type":"string"},"destination":{"type":"string"},"chain":{"type":"string"},"rail":{"description":"null in the example; holds a value when set."},"amountUsd":{"type":"string"},"feeUsd":{"type":"string"},"received":{"type":"string"},"receivedCurrency":{"type":"string"},"tx":{"type":"string"},"to":{"type":"string"},"fromWallet":{"type":"string"},"verification":{"type":"string"},"exception":{"type":["string","null"]}},"additionalProperties":true}},"exceptions":{"type":"array","items":{"type":"object","properties":{"payout":{"type":"string"},"verification":{"type":"string"},"whatToDo":{"type":"string"}},"additionalProperties":true}},"truncated":{"type":"boolean"},"notes":{"type":"array","items":{"type":"string"}},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"list","year":2026,"data":[{"date":"2026-11-18T21:25:55.600Z","payout":"po_c245b80932fa46318612d3e6d13d47dc","customer":"cus_164bf1609a86411a937dae4ed06fbcc9","customerExternalId":"payer-1","recipient":"rcp_f3404d6e05bc43c887cc9a61a5c92f86","recipientExternalId":"contractor-1","destination":"wallet","chain":"base","rail":null,"amountUsd":"1500.00","feeUsd":"15.00","received":"1485.00","receivedCurrency":"usdc","tx":"0xaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa","to":"0x1111111111111111111111111111111111111111","fromWallet":"0xc9f7ed608cd1a030d7e2a1c591313c854cb56003","verification":"on_chain_confirmed","exception":null},{"date":"2026-11-18T21:25:55.633Z","payout":"po_edf8856e7b3548879b86191dff434874","customer":"cus_164bf1609a86411a937dae4ed06fbcc9","customerExternalId":"payer-1","recipient":"rcp_f3404d6e05bc43c887cc9a61a5c92f86","recipientExternalId":"contractor-1","destination":"wallet","chain":"base","rail":null,"amountUsd":"600.00","feeUsd":"6.00","received":"594.00","receivedCurrency":"usdc","tx":"0xbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb","to":"0x1111111111111111111111111111111111111111","fromWallet":"0xc9f7ed608cd1a030d7e2a1c591313c854cb56003","verification":"on_chain_pending","exception":"Not final on chain yet: SET re-checks every ten minutes. Export again before filing."}],"exceptions":[{"payout":"po_edf8856e7b3548879b86191dff434874","verification":"on_chain_pending","whatToDo":"Not final on chain yet: SET re-checks every ten minutes. Export again before filing."}],"truncated":false,"notes":["Dates are UTC. A payout on December 31 or January 1 in your own time zone may belong to the other year; check those with your CPA."],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/tax/1099":{"get":{"operationId":"getTax1099","tags":["Statements"],"summary":"A year's payouts per customer and recipient, with the 1099 threshold","description":"include=direct_deposit (a key with the direct_deposit scope; JSON, without customer) adds directDeposit: the business's Direct Deposit and Payable Email payees for the year, as GET /api/partner/tax/1099 gives them. The two groups cannot be matched person to person.","x-scope":"read","parameters":[{"name":"year","in":"query","required":false,"schema":{"type":"string"}},{"name":"customer","in":"query","required":false,"schema":{"type":"string"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"name":"include","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"year":{"type":"integer"},"thresholdUsd":{"type":"string"},"payees":{"type":"array"},"exceptions":{"type":"array"},"summary":{"type":"object","properties":{"payees":{"type":"integer"},"atOrOverThreshold":{"type":"integer"},"payouts":{"type":"integer"},"exceptions":{"type":"integer"}},"additionalProperties":true},"notes":{"type":"array","items":{"type":"string"}},"directDeposit":{"type":"object","properties":{"available":{"type":"boolean"},"payees":{"type":"array","items":{"type":"object","properties":{"payeeId":{"type":"string"},"addresses":{"type":"array","items":{"type":"string"}},"payments":{"type":"integer"},"totalUsd":{"type":"string"},"meetsThreshold":{"type":"boolean"},"firstPaymentAt":{"type":"string","format":"date-time"},"lastPaymentAt":{"type":"string","format":"date-time"},"taxForm":{"description":"null in the example; holds a value when set."},"nextAction":{"type":"string"}},"additionalProperties":true}},"summary":{"type":"object","properties":{"payees":{"type":"integer"},"atOrOverThreshold":{"type":"integer"},"payments":{"type":"integer"}},"additionalProperties":true},"matching":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"tax_year","year":2026,"thresholdUsd":"2000.00","payees":[],"exceptions":[],"summary":{"payees":0,"atOrOverThreshold":0,"payouts":0,"exceptions":0},"notes":["Dates are UTC. A payout on December 31 or January 1 in your own time zone may belong to the other year; check those with your CPA."],"directDeposit":{"available":true,"payees":[{"payeeId":"pye_NKNPWo3YS7xKEJMkEe6dAd4o","addresses":["base:0x9999999999999999999999999999999999999999"],"payments":1,"totalUsd":"2500.00","meetsThreshold":true,"firstPaymentAt":"2026-11-18T21:34:25.139Z","lastPaymentAt":"2026-11-18T21:34:25.139Z","taxForm":null,"nextAction":"At or over the threshold: match this payee to their W-9 or W-8 in your records and decide with your CPA whether a 1099 is due."}],"summary":{"payees":1,"atOrOverThreshold":1,"payments":1},"matching":"These are paid through SET Direct Deposit and Payable Email. Each payee is an opaque id per payer, or the address paid, so SET cannot match them person to person with the /v1 recipients above. Join both groups to your payees' names and tax ids in your e-file provider; one person may appear in both."},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/onboarding_settings":{"get":{"operationId":"getOnboardingSettings","tags":["Onboarding"],"summary":"The white-label page's frame origins and colours","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"frameAncestors":{"type":"array"},"colors":{"type":"object","properties":{"accent":{"description":"null in the example; holds a value when set."},"background":{"description":"null in the example; holds a value when set."},"text":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"onboarding_settings","frameAncestors":[],"colors":{"accent":null,"background":null,"text":null},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}},"post":{"operationId":"postOnboardingSettings","tags":["Onboarding"],"summary":"Set frame origins and colours","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"frameAncestors":{"type":"array","items":{"type":"string","description":"An https origin."}},"colors":{"type":"object","properties":{"accent":{"type":"string","description":"6-digit hex."},"background":{"type":"string"},"text":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"frameAncestors":{"type":"array","items":{"type":"string"}},"colors":{"type":"object","properties":{"accent":{"type":"string"},"background":{"type":"string"},"text":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"object":"onboarding_settings","frameAncestors":["https://app.platform.test"],"colors":{"accent":"7c3aed","background":"fafafa","text":null},"sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"frameAncestors":{"type":"array","items":{"type":"string"}},"colors":{"type":"object","properties":{"accent":{"type":"string"},"background":{"type":"string"},"text":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/onboarding_sessions":{"post":{"operationId":"postOnboardingSessions","tags":["Onboarding"],"summary":"A white-label KYB/KYC page for one customer","description":"The url is shown once.","x-scope":"write","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"externalId":{"type":"string"},"type":{"type":"string","enum":["business","individual"]},"expiresInHours":{"type":"integer"}},"required":["type"],"additionalProperties":true}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"externalId":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"termsAccepted":{"type":"boolean"},"customerStatus":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"submittedAt":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"url":{"type":"string"},"framing":{"type":"string"},"message":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"externalId":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"termsAccepted":{"type":"boolean"},"customerStatus":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"submittedAt":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"url":{"type":"string"},"framing":{"type":"string"},"message":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"onb_8292e8c2e30d41668f6cb968ca4e33fa","object":"onboarding_session","customer":"cus_14b16566610f40469650261b57687368","externalId":"sandbox-merchant","type":"business","state":"open","termsAccepted":false,"customerStatus":"not_started","expiresAt":"2026-11-19T21:25:22.590Z","submittedAt":null,"livemode":false,"createdAt":"2026-11-18T21:25:22.590Z","url":"https://wallet-staging.simpleeasytransactions.com/onboard/G3gtPVI9RNNvKU4Et5OSzrCQpP-aXDbBkT1ltNeeW-Q","framing":"No frame origins set yet: the page opens on its own, but cannot be framed until you set frameAncestors with POST /v1/onboarding_settings.","message":"The url is shown once and works until submitted, canceled or expired. Anyone with it can fill the form for this customer.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/onboarding_sessions/{id}":{"get":{"operationId":"getOnboardingSessionsById","tags":["Onboarding"],"summary":"An onboarding session","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"externalId":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"termsAccepted":{"type":"boolean"},"customerStatus":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"submittedAt":{"type":"string","format":"date-time"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"onb_628d6c8f72284cc2ace26738b669a872","object":"onboarding_session","customer":"cus_5530c53c76fe4a909929293dcdb4857c","externalId":"m-1","type":"business","state":"submitted","termsAccepted":true,"customerStatus":"in_review","expiresAt":"2026-11-19T21:25:56.637Z","submittedAt":"2026-11-18T21:25:56.667Z","livemode":false,"createdAt":"2026-11-18T21:25:56.637Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/onboarding_sessions/{id}/cancel":{"post":{"operationId":"postOnboardingSessionsByIdCancel","tags":["Onboarding"],"summary":"Cancel an onboarding session","x-scope":"write","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"externalId":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"termsAccepted":{"type":"boolean"},"customerStatus":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"submittedAt":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true},"example":{"id":"onb_6dd04a3497404086a7643e3d84fc09e6","object":"onboarding_session","customer":"cus_18e1f6bfc1ff4216a770a3b879142dce","externalId":"m-3","type":"individual","state":"canceled","termsAccepted":false,"customerStatus":"not_started","expiresAt":"2026-11-19T21:25:56.696Z","submittedAt":null,"livemode":false,"createdAt":"2026-11-18T21:25:56.696Z","sandbox":true}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"externalId":{"type":"string"},"type":{"type":"string"},"state":{"type":"string"},"termsAccepted":{"type":"boolean"},"customerStatus":{"type":"string"},"expiresAt":{"type":"string","format":"date-time"},"submittedAt":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/statements/{id}/camt054":{"get":{"operationId":"getStatementsByIdCamt054","tags":["Statements"],"summary":"The statement as ISO 20022 camt.054.001.08, one entry per bank-currency movement","description":"One entry per row with a bank-currency leg: the row's own amount when it is in USD, EUR, GBP, MXN, BRL or COP, else the amount the provider reports as settled in one. Rows in a stablecoin only, rows whose bank amount is not reported yet, failed rows and amounts with more decimals than the currency allows are left out and counted in the file's AddtlInf and the set-entries-excluded header; nothing is converted or rounded. SET's fee on a card payment is its own charge record. The account is SET's id in Othr (never an IBAN). Times UTC. 404 statement_unknown; 409 statement_building until ready; 413 statement_too_large past 20,000 rows. Only for an account whose plan includes it (GET /v1/capabilities features.treasury says which of these calls this key has): any other answers 403 treasury_plan_required.","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"An ISO 20022 camt.054.001.08 file.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Content-Disposition":{"description":"attachment, with the file's name.","schema":{"type":"string"}},"SET-Entries-Written":{"description":"Entries in the file.","schema":{"type":"integer"}},"SET-Entries-Excluded":{"description":"Rows left out (stablecoin only, bank amount not reported yet, failed, or more decimals than the currency allows).","schema":{"type":"integer"}}},"content":{"application/xml":{"schema":{"type":"string"},"example":"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<Document xmlns=\"urn:iso:std:iso:20022:tech:xsd:camt.054.001.08\"><BkToCstmrDbtCdtNtfctn><GrpHdr><MsgId>SET202611588053156d96</MsgId><CreDtTm>2026-11-18T13:42:50.836Z</CreDtTm><AddtlInf>Times are UTC. Not in this file: 1 with no bank currency (stablecoin only); 1 whose bank amount is not reported yet. GET /v1/balance_transactions lists every row.</AddtlInf></GrpHdr><Ntfctn><Id>SET202611588053156d96</Id><CreDtTm>2026-11-18T13:42:50.836Z</CreDtTm><FrToDt><FrDtTm>2026-11-01T00:00:00.000Z</FrDtTm><ToDtTm>2026-12-01T00:00:00.000Z</ToDtTm></FrToDt><Acct><Id><Othr><Id>ptr_sandbox_platform</Id><SchmeNm><Prtry>SET account</Prtry></SchmeNm><Issr>SET</Issr></Othr></Id><Nm>Sandbox Platform AG</Nm></Acct><Ntry><Amt Ccy=\"USD\">1000.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><DtTm>2026-11-18T13:42:50.560Z</DtTm></BookgDt><BkTxCd><Prtry><Cd>SET:deposit</Cd><Issr>SET</Issr></Prtry></BkTxCd><AddtlNtryInf>SET deposit sim_dep_c7ecbc1b-b7f5-4a11-b9e9-984c821b2b77</AddtlNtryInf></Ntry><Ntry><Amt Ccy=\"USD\">5000.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><DtTm>2026-11-18T13:42:50.603Z</DtTm></BookgDt><BkTxCd><Prtry><Cd>SET:deposit</Cd><Issr>SET</Issr></Prtry></BkTxCd><AddtlNtryInf>SET deposit sim_dep_830efbd6-5a38-49fd-a6f7-6ed3514c88e9</AddtlNtryInf></Ntry><Ntry><Amt Ccy=\"USD\">2000.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><DtTm>2026-11-18T13:42:50.628Z</DtTm></BookgDt><BkTxCd><Prtry><Cd>SET:deposit</Cd><Issr>SET</Issr></Prtry></BkTxCd><AddtlNtryInf>SET deposit sim_dep_57298b85-2d5f-4f1f-b7a3-584461f90f57</AddtlNtryInf></Ntry><Ntry><Amt Ccy=\"EUR\">750.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><DtTm>2026-11-18T13:42:50.648Z</DtTm></BookgDt><BkTxCd><Prtry><Cd>SET:deposit</Cd><Issr>SET</Issr></Prtry></BkTxCd><AddtlNtryInf>SET deposit sim_dep_92aab909-9c21-41dd-9030-a75ec0c9b2ff</AddtlNtryInf></Ntry><Ntry><Amt Ccy=\"USD\">247.50</Amt><CdtDbtInd>CRDT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><DtTm>2026-11-18T13:42:50.585Z</DtTm></BookgDt><BkTxCd><Prtry><Cd>SET:cash_out_payment</Cd><Issr>SET</Issr></Prtry></BkTxCd><AddtlNtryInf>SET cash_out_payment sim_drain_26fef3da-9643-40f0-823e-f4a71b70456d</AddtlNtryInf></Ntry><Ntry><Amt Ccy=\"USD\">4950.00</Amt><CdtDbtInd>CRDT</CdtDbtInd><Sts><Cd>BOOK</Cd></Sts><BookgDt><DtTm>2026-11-18T13:42:50.609Z</DtTm></BookgDt><BkTxCd><Prtry><Cd>SET:cash_out_payment</Cd><Issr>SET</Issr></Prtry></BkTxCd><AddtlNtryInf>SET cash_out_payment sim_drain_ec575513-5f75-4d78-8ab5-d1c8f63bb0d5</AddtlNtryInf></Ntry><AddtlNtfctnInf>Times are UTC. Not in this file: 1 with no bank currency (stablecoin only); 1 whose bank amount is not reported yet. GET /v1/balance_transactions lists every row.</AddtlNtfctnInf></Ntfctn></BkToCstmrDbtCdtNtfctn></Document>\n"}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/statements/{id}/bai2":{"get":{"operationId":"getStatementsByIdBai2","tags":["Statements"],"summary":"The statement as BAI2, one group per day and currency","description":"The rows camt054 carries that are booked, one group per day and currency, with the implied decimals of BAI's Appendix B (EUR and BRL have none: an amount with cents is left out and counted, never rounded). No balance codes. Times UTC, said in a type 890 record. 404 statement_unknown; 409 statement_building until ready; 413 statement_too_large past 20,000 rows. Only for an account whose plan includes it (GET /v1/capabilities features.treasury says which of these calls this key has): any other answers 403 treasury_plan_required.","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"A BAI2 file.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Content-Disposition":{"description":"attachment, with the file's name.","schema":{"type":"string"}},"SET-Entries-Written":{"description":"Entries in the file.","schema":{"type":"integer"}},"SET-Entries-Excluded":{"description":"Rows left out (stablecoin only, bank amount not reported yet, failed, or more decimals than the currency allows).","schema":{"type":"integer"}}},"content":{"text/plain":{"schema":{"type":"string"},"example":"01,SET,ptr_sandbox_platform,261118,1342,202611a3262fca,,,2/\n02,ptr_sandbox_platform,SET,1,261118,,EUR,/\n03,ptr_sandbox_platform,EUR,,,,/\n16,890,,,,,Times are UTC. Not in this file: 1 with no bank currency (stablecoin only); 1 whose bank amount is not reported yet. GET /v1/balance_transactions lists every row.\n16,399,750,,sim_dep_92aab909-9c21-41dd-9030-a75ec0c9b2ff,,SET deposit sim_dep_92aab909-9c21-41dd-9030-a75ec0c9b2ff at 2026-11-18T13:42:50.648Z\n49,750,4/\n98,750,1,6/\n02,ptr_sandbox_platform,SET,1,261118,,USD,/\n03,ptr_sandbox_platform,USD,,,,/\n16,399,100000,,sim_dep_c7ecbc1b-b7f5-4a11-b9e9-984c821b2b77,,SET deposit sim_dep_c7ecbc1b-b7f5-4a11-b9e9-984c821b2b77 at 2026-11-18T13:42:50.560Z\n16,399,500000,,sim_dep_830efbd6-5a38-49fd-a6f7-6ed3514c88e9,,SET deposit sim_dep_830efbd6-5a38-49fd-a6f7-6ed3514c88e9 at 2026-11-18T13:42:50.603Z\n16,399,200000,,sim_dep_57298b85-2d5f-4f1f-b7a3-584461f90f57,,SET deposit sim_dep_57298b85-2d5f-4f1f-b7a3-584461f90f57 at 2026-11-18T13:42:50.628Z\n16,399,24750,,sim_drain_26fef3da-9643-40f0-823e-f4a71b70456d,,SET cash_out_payment sim_drain_26fef3da-9643-40f0-823e-f4a71b70456d at 2026-11-18T13:42:50.585Z\n16,399,495000,,sim_drain_ec575513-5f75-4d78-8ab5-d1c8f63bb0d5,,SET cash_out_payment sim_drain_ec575513-5f75-4d78-8ab5-d1c8f63bb0d5 at 2026-11-18T13:42:50.609Z\n49,1319750,7/\n98,1319750,1,9/\n99,1320500,2,17/\n"}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/treasury/cash_position":{"get":{"operationId":"getTreasuryCashPosition","tags":["Wallets"],"summary":"Where the account's money is: every wallet's balance read now, with what is pending","description":"Each wallet's balances re-read from the provider as GET /v1/wallets/{id} reads them (never stored or computed from SET's records), each asset's issuer and status as GET /v1/assets answers it, and the latest SET Close position check of the wallet on chain, if any (no new chain read). A wallet that cannot be read is listed with source unavailable and left out of totals, and partial is true. pending (payouts waiting for approval or their time; deposits on their way, per currency) and outflow (the rolling 24 hours GET /v1/outflow_alert reads) come from SET's own records. limit 1 to 25 wallets (default 10); page on with createdBefore and add each answer's totals. 400 limit_invalid. Only for an account whose plan includes it (GET /v1/capabilities features.treasury says which of these calls this key has): any other answers 403 treasury_plan_required.","x-scope":"read","parameters":[{"name":"limit","in":"query","required":false,"schema":{"type":"string"}},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"type":"object","properties":{"object":{"type":"string"},"asOf":{"type":"string","format":"date-time"},"wallets":{"type":"array","items":{"type":"object","properties":{"wallet":{"type":"string"},"chain":{"type":"string"},"balances":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string"},"amount":{"type":"string"},"issuer":{"type":"object","properties":{"name":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"reserved":{"type":"string"},"spendable":{"type":"string"},"source":{"type":"string"},"readAt":{"type":"string","format":"date-time"},"chainCheck":{"type":"object","properties":{"checkedAt":{"type":"string","format":"date-time"},"block":{"description":"null in the example; holds a value when set."},"state":{"type":"string"},"matches":{"type":"boolean"}},"additionalProperties":true},"treasuryRule":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"partial":{"type":"boolean"},"totals":{"type":"array","items":{"type":"object","properties":{"asset":{"type":"string"},"amount":{"type":"string"}},"additionalProperties":true}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"description":"null in the example; holds a value when set."},"pending":{"type":"object","properties":{"payoutsAwaitingApproval":{"type":"object","properties":{"count":{"type":"integer"},"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"payoutsQueued":{"type":"object","properties":{"count":{"type":"integer"},"amount":{"type":"string"},"currency":{"type":"string"}},"additionalProperties":true},"depositsInFlight":{"type":"object","properties":{"count":{"type":"integer"},"amounts":{"type":"array"}},"additionalProperties":true}},"additionalProperties":true},"outflow":{"type":"object","properties":{"last24h":{"type":"string"},"byKind":{"type":"object","properties":{"payouts":{"type":"string"},"withdrawals":{"type":"string"},"transfers":{"type":"string"},"cashOutPayments":{"type":"string"},"directDepositPayouts":{"type":"string"}},"additionalProperties":true},"alertThreshold":{"description":"null in the example; holds a value when set."},"alertState":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"notes":{"type":"array","items":{"type":"string"}},"sandbox":{"type":"boolean"},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"additionalProperties":true},"example":{"object":"cash_position","asOf":"2026-11-18T13:42:50.844Z","wallets":[{"wallet":"bw_sim_0014","chain":"base","balances":[{"asset":"usdc","amount":"1250.50","issuer":{"name":"Circle","status":"unknown"}}],"reserved":"0.00","spendable":"1250.50","source":"provider","readAt":"2026-11-18T13:42:50.843Z","chainCheck":{"checkedAt":"2026-11-18T13:42:50.780Z","block":null,"state":"not_applicable","matches":false},"treasuryRule":null}],"partial":false,"totals":[{"asset":"usdc","amount":"1250.50"}],"hasMore":false,"nextCreatedBefore":null,"pending":{"payoutsAwaitingApproval":{"count":0,"amount":"0.00","currency":"usdc"},"payoutsQueued":{"count":0,"amount":"0.00","currency":"usdc"},"depositsInFlight":{"count":0,"amounts":[]}},"outflow":{"last24h":"7250.00","byKind":{"payouts":"0.00","withdrawals":"0.00","transfers":"0.00","cashOutPayments":"7250.00","directDepositPayouts":"0.00"},"alertThreshold":null,"alertState":null},"notes":["Balances are read from the provider now, as GET /v1/wallets/{id} reads them; SET does not compute a balance from its own records. A wallet that could not be read is listed with source unavailable and left out of totals (partial: true).","chainCheck is the latest SET Close position check of the wallet on chain, if any; this answer starts no chain read.","issuer.status is what GET /v1/assets answers: unknown until SET's operator records a status with its source.","pending and outflow come from SET's own records: payouts waiting for approval or for their time, deposits still on their way, and the rolling 24 hours GET /v1/outflow_alert reads."],"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/statements/{id}/camt053":{"get":{"operationId":"getStatementsByIdCamt053","tags":["Statements"],"summary":"camt.053 is not written: 409 balance_not_stated, a statement holds movements, not balances","description":"Never answers 200. camt.053 carries an opening and a closing balance. SET states a balance only as read from the provider or the chain, so it never writes one into a statement: use /camt054, and GET /v1/treasury/cash_position for balances. Checked in this order: 403 treasury_plan_required for an account whose plan does not include the bank-format files, 404 statement_unknown, then 409 balance_not_stated.","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_-]{6,80}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"description":"An error: {error, message, requestId, details?}. Request-Id and SET-Version always; the RateLimit headers for a key SET knows; a 429 also carries Retry-After and RateLimit-Policy.","headers":{"Request-Id":{"$ref":"#/components/headers/Request-Id"},"SET-Version":{"$ref":"#/components/headers/SET-Version"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Problem"},"example":{"error":"balance_not_stated","message":"A camt.053 statement carries an opening and a closing balance, and this statement holds movements only: SET states a balance only as read from the provider or the chain. Download the same movements as camt.054 (a notification of entries, no balance): GET /v1/statements/stm_3a6cd80704b04bc392be2bed520afb93/camt054. GET /v1/treasury/cash_position reads balances now.","requestId":"req_8b0884473be64fc499354a54f78268ba"}}}},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/escrows":{"post":{"operationId":"postEscrows","tags":["Escrow"],"summary":"Open a milestone escrow","description":"Buyer, seller and, for 2-of-3, an arbiter both parties name (each an address the party controls), milestones in USDC, the network, and the Travel Rule parties (buyer as originator, seller as beneficiary: a business name and ISO 3166-1 alpha-3 country, sealed by SET and never returned). Every address is screened against OFAC's list (403 restricted, nothing written) and the asset is checked against your asset policy (403 asset_not_allowed) and SET's GENIUS cutoff (400 asset_not_permitted). Answers the Safe's counterfactual address and acceptance: the typed data each party signs. SET is never an owner or a signer of the escrow's Safe, never deploys it with a key of its own and never broadcasts: the owners sign, any party sends. externalId: a retry with the same one answers the existing escrow (200). 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"network":{"type":"string","enum":["base","ethereum","arbitrum","optimism","polygon","avalanche"]},"buyer":{"type":"object","properties":{"address":{"type":"string","description":"An EVM address the party controls.","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["address"]},"seller":{"type":"object","properties":{"address":{"type":"string","description":"An EVM address the party controls.","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["address"]},"arbiter":{"type":"object","properties":{"address":{"type":"string","description":"An EVM address the party controls.","pattern":"^0x[0-9a-fA-F]{40}$"}},"required":["address"]},"milestones":{"type":"array","items":{"type":"object","properties":{"amount":{"type":"string","description":"A decimal string in USDC, never a float."},"label":{"type":"string","description":"Your own short code; never personal data."}},"required":["amount"]}},"travelRule":{"type":"object","properties":{"originator":{"type":"object"},"beneficiary":{"type":"object"}},"required":["originator","beneficiary"]},"invoice":{"type":"string","description":"inv_…"},"externalId":{"type":"string"},"ledgerSide":{"type":"string","description":"Which party your business is, for its journal entries and SET Close: buyer or seller. Defaults to seller when invoice is given (buyer is then refused, 400 ledger_side_invalid); left out otherwise, no journal entry is written.","enum":["buyer","seller"]}},"required":["network","buyer","seller","milestones","travelRule"]}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Escrow"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Escrow"},"example":{"id":"esc_e4aadd8290c98fd4979daaf58fddbc93","object":"escrow","livemode":false,"externalId":"po-2026-0042","invoice":null,"ledgerSide":null,"state":"awaiting_acceptance","network":"base","chainId":84532,"asset":"usdc-base","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","scheme":"2_of_3","threshold":2,"parties":{"buyer":{"address":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","acceptedAt":null},"seller":{"address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","acceptedAt":null},"arbiter":{"address":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","acceptedAt":null}},"safe":{"address":"0xE83ED6603d27d3808DbF102E4eAf45F572baAdc0","version":"1.4.1","saltNonce":"102190708728330757936721462499293330242912723353318854267385772721477014725460","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","nextNonce":0,"custody":"The buyer, the seller and any arbiter own this Safe. SET is not an owner or a signer and never holds its funds."},"termsHash":"0xa2ac80396dfdafdf332d0786efd35b0f7d92e381c16281fd3c19aa2c9bd5c2e9","amount":"1000.00","released":"0.00","refunded":"0.00","funded":null,"screening":"not_screened","milestones":[{"id":"esm_8b975bebc5b5dad697510445fa162a4b","object":"escrow_milestone","position":1,"amount":"600.00","label":"deposit","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}},{"id":"esm_974b765213e542b9e5bb1c35296568fb","object":"escrow_milestone","position":2,"amount":"400.00","label":"delivery","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}}],"proposals":[],"createdAt":"2026-11-19T05:29:28.662Z","updatedAt":"2026-11-19T05:29:28.662Z","acceptance":{"domain":{"name":"SET Escrow","version":"1","chainId":84532},"types":{"EIP712Domain":[{"name":"name","type":"string"},{"name":"version","type":"string"},{"name":"chainId","type":"uint256"}],"EscrowAction":[{"name":"escrow","type":"string"},{"name":"action","type":"string"},{"name":"milestone","type":"string"},{"name":"subject","type":"bytes32"},{"name":"termsHash","type":"bytes32"}]},"primaryType":"EscrowAction","message":{"escrow":"esc_e4aadd8290c98fd4979daaf58fddbc93","action":"accept","milestone":"","subject":"0x0000000000000000000000000000000000000000000000000000000000000000","termsHash":"0xa2ac80396dfdafdf332d0786efd35b0f7d92e381c16281fd3c19aa2c9bd5c2e9"}},"next":"Each party (buyer, seller and any arbiter) signs acceptance with eth_signTypedData_v4 and posts it to POST /v1/escrows/{id}/accept. Then the buyer sends the amount to safe.address on this chain.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"get":{"operationId":"getEscrows","tags":["Escrow"],"summary":"List escrows","description":"Newest first. Filters: state, invoice, network. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"read","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"invoice","in":"query","required":false,"schema":{"type":"string"}},{"name":"network","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Escrow"}}}}]},"example":{"object":"list","data":[{"id":"esc_b82f4c19313b4bfb6ff8c9d9d9bd1f92","object":"escrow","livemode":false,"externalId":null,"invoice":null,"ledgerSide":null,"state":"completed","network":"base","chainId":84532,"asset":"usdc-base","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","scheme":"2_of_3","threshold":2,"parties":{"buyer":{"address":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","acceptedAt":"2026-11-19T05:29:29.238Z"},"seller":{"address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","acceptedAt":"2026-11-19T05:29:29.243Z"},"arbiter":{"address":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","acceptedAt":"2026-11-19T05:29:29.248Z"}},"safe":{"address":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1","version":"1.4.1","saltNonce":"11574162610879669096074398520846252562380558428465634299716694722175156696525","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","nextNonce":2,"custody":"The buyer, the seller and any arbiter own this Safe. SET is not an owner or a signer and never holds its funds."},"termsHash":"0xbe9d022b30044758c7a2204c0aa76301a36628ed1ae100f5252d91d650896074","amount":"1000.00","released":"1000.00","refunded":"0.00","funded":{"amount":"1000.00","at":"2026-11-19T05:29:29.254Z","source":"simulator"},"screening":"not_screened","milestones":[{"id":"esm_4ba8aa2742e6679615ffa388e8e704fc","object":"escrow_milestone","position":1,"amount":"600.00","label":"deposit","state":"released","evidenceHash":"0xabababababababababababababababababababababababababababababababab","submissionReference":"BOL-7781","submittedAt":"2026-11-19T05:29:29.281Z","payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}},{"id":"esm_f5e7c69759ee9f124a6992e4915f08f8","object":"escrow_milestone","position":2,"amount":"400.00","label":"delivery","state":"released","evidenceHash":"0xabababababababababababababababababababababababababababababababab","submissionReference":"BOL-7781","submittedAt":"2026-11-19T05:29:29.295Z","payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}}],"proposals":[{"id":"esp_a488bda81e3e702e007da783e7c29323","object":"escrow_proposal","kind":"release","milestone":"esm_4ba8aa2742e6679615ffa388e8e704fc","state":"executed","amount":"600.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":0,"safeTxHash":"0x7fac0e3a4328ccea3048a478c458196a34d93ca6cb5acd64c6a76d27d6c166e5","signatures":[{"signer":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","role":"buyer","at":"2026-11-19T05:29:29.309Z"},{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","role":"seller","at":"2026-11-19T05:29:29.315Z"}],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c34600","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0"}},"executedAt":"2026-11-19T05:29:29.319Z","executedSource":"simulator","createdAt":"2026-11-19T05:29:29.286Z"},{"id":"esp_26caba2398e63be3ca5aa29f5556dbb3","object":"escrow_proposal","kind":"release","milestone":"esm_f5e7c69759ee9f124a6992e4915f08f8","state":"executed","amount":"400.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":1,"safeTxHash":"0x2318eef18378521f19f3b423c4cfbe7890cde166d3f862c71442f457ab44514c","signatures":[{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","role":"seller","at":"2026-11-19T05:29:29.331Z"},{"signer":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","role":"arbiter","at":"2026-11-19T05:29:29.335Z"}],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000017d78400","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"1"}},"executedAt":"2026-11-19T05:29:29.338Z","executedSource":"simulator","createdAt":"2026-11-19T05:29:29.325Z"}],"createdAt":"2026-11-19T05:29:29.226Z","updatedAt":"2026-11-19T05:29:29.338Z"}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}":{"get":{"operationId":"getEscrowsByEscrow","tags":["Escrow"],"summary":"Read an escrow","description":"With chain: the Safe as the chain shows it (deployed, token balance, nonce), or status unreadable. A balance that covers the escrow moves it to funded; a ready proposal whose execution event is on chain is settled. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"read","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Escrow"},"example":{"id":"esc_b82f4c19313b4bfb6ff8c9d9d9bd1f92","object":"escrow","livemode":false,"externalId":null,"invoice":null,"ledgerSide":null,"state":"completed","network":"base","chainId":84532,"asset":"usdc-base","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","scheme":"2_of_3","threshold":2,"parties":{"buyer":{"address":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","acceptedAt":"2026-11-19T05:29:29.238Z"},"seller":{"address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","acceptedAt":"2026-11-19T05:29:29.243Z"},"arbiter":{"address":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","acceptedAt":"2026-11-19T05:29:29.248Z"}},"safe":{"address":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1","version":"1.4.1","saltNonce":"11574162610879669096074398520846252562380558428465634299716694722175156696525","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","nextNonce":2,"custody":"The buyer, the seller and any arbiter own this Safe. SET is not an owner or a signer and never holds its funds."},"termsHash":"0xbe9d022b30044758c7a2204c0aa76301a36628ed1ae100f5252d91d650896074","amount":"1000.00","released":"1000.00","refunded":"0.00","funded":{"amount":"1000.00","at":"2026-11-19T05:29:29.254Z","source":"simulator"},"screening":"not_screened","milestones":[{"id":"esm_4ba8aa2742e6679615ffa388e8e704fc","object":"escrow_milestone","position":1,"amount":"600.00","label":"deposit","state":"released","evidenceHash":"0xabababababababababababababababababababababababababababababababab","submissionReference":"BOL-7781","submittedAt":"2026-11-19T05:29:29.281Z","payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}},{"id":"esm_f5e7c69759ee9f124a6992e4915f08f8","object":"escrow_milestone","position":2,"amount":"400.00","label":"delivery","state":"released","evidenceHash":"0xabababababababababababababababababababababababababababababababab","submissionReference":"BOL-7781","submittedAt":"2026-11-19T05:29:29.295Z","payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}}],"proposals":[{"id":"esp_a488bda81e3e702e007da783e7c29323","object":"escrow_proposal","kind":"release","milestone":"esm_4ba8aa2742e6679615ffa388e8e704fc","state":"executed","amount":"600.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":0,"safeTxHash":"0x7fac0e3a4328ccea3048a478c458196a34d93ca6cb5acd64c6a76d27d6c166e5","signatures":[{"signer":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","role":"buyer","at":"2026-11-19T05:29:29.309Z"},{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","role":"seller","at":"2026-11-19T05:29:29.315Z"}],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c34600","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0"}},"executedAt":"2026-11-19T05:29:29.319Z","executedSource":"simulator","createdAt":"2026-11-19T05:29:29.286Z"},{"id":"esp_26caba2398e63be3ca5aa29f5556dbb3","object":"escrow_proposal","kind":"release","milestone":"esm_f5e7c69759ee9f124a6992e4915f08f8","state":"executed","amount":"400.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":1,"safeTxHash":"0x2318eef18378521f19f3b423c4cfbe7890cde166d3f862c71442f457ab44514c","signatures":[{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","role":"seller","at":"2026-11-19T05:29:29.331Z"},{"signer":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","role":"arbiter","at":"2026-11-19T05:29:29.335Z"}],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000017d78400","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"1"}},"executedAt":"2026-11-19T05:29:29.338Z","executedSource":"simulator","createdAt":"2026-11-19T05:29:29.325Z"}],"createdAt":"2026-11-19T05:29:29.226Z","updatedAt":"2026-11-19T05:29:29.338Z","chain":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}/accept":{"post":{"operationId":"postEscrowsByEscrowAccept","tags":["Escrow"],"summary":"Post a party's acceptance","description":"Needs the approve scope. The party's EIP-712 signature over the terms (the create answer's acceptance). Once the buyer, the seller and any arbiter have accepted, the escrow is accepted. The time SET verified each signature is that party's wallet attestation for the Travel Rule. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"approve","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"signature":{"type":"string","description":"A 65-byte secp256k1 signature from eth_signTypedData_v4: 0x and 130 hex characters, v 27 or 28.","pattern":"^0x[0-9a-fA-F]{130}$"}},"required":["signature"]}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Escrow"},"example":{"id":"esc_b82f4c19313b4bfb6ff8c9d9d9bd1f92","object":"escrow","livemode":false,"externalId":null,"invoice":null,"ledgerSide":null,"state":"accepted","network":"base","chainId":84532,"asset":"usdc-base","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","scheme":"2_of_3","threshold":2,"parties":{"buyer":{"address":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","acceptedAt":"2026-11-19T05:29:29.238Z"},"seller":{"address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","acceptedAt":"2026-11-19T05:29:29.243Z"},"arbiter":{"address":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","acceptedAt":"2026-11-19T05:29:29.248Z"}},"safe":{"address":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1","version":"1.4.1","saltNonce":"11574162610879669096074398520846252562380558428465634299716694722175156696525","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","nextNonce":0,"custody":"The buyer, the seller and any arbiter own this Safe. SET is not an owner or a signer and never holds its funds."},"termsHash":"0xbe9d022b30044758c7a2204c0aa76301a36628ed1ae100f5252d91d650896074","amount":"1000.00","released":"0.00","refunded":"0.00","funded":null,"screening":"not_screened","milestones":[{"id":"esm_4ba8aa2742e6679615ffa388e8e704fc","object":"escrow_milestone","position":1,"amount":"600.00","label":"deposit","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}},{"id":"esm_f5e7c69759ee9f124a6992e4915f08f8","object":"escrow_milestone","position":2,"amount":"400.00","label":"delivery","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}}],"proposals":[],"createdAt":"2026-11-19T05:29:29.226Z","updatedAt":"2026-11-19T05:29:29.248Z","acceptedBy":"arbiter","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}/cancel":{"post":{"operationId":"postEscrowsByEscrowCancel","tags":["Escrow"],"summary":"Cancel an unfunded escrow","description":"Only while nothing is paid in (409 escrow_funded). On a live key the Safe's balance is read first; if it cannot be read, nothing is cancelled (503 chain_unreadable). 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Escrow"},"example":{"id":"esc_3f9417f54405da421018268063f5aca4","object":"escrow","livemode":false,"externalId":null,"invoice":null,"ledgerSide":null,"state":"cancelled","network":"base","chainId":84532,"asset":"usdc-base","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","scheme":"2_of_3","threshold":2,"parties":{"buyer":{"address":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","acceptedAt":"2026-11-19T05:29:29.856Z"},"seller":{"address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","acceptedAt":"2026-11-19T05:29:29.860Z"},"arbiter":{"address":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","acceptedAt":"2026-11-19T05:29:29.865Z"}},"safe":{"address":"0x95E20146F126cA9EE0fC0D6d614620999A678e10","version":"1.4.1","saltNonce":"42573369121781262514866553786831337652203806550664377731039410601238142790268","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","nextNonce":0,"custody":"The buyer, the seller and any arbiter own this Safe. SET is not an owner or a signer and never holds its funds."},"termsHash":"0xade9f356a61efbb6f9791c86af8d5b97d99d8da5ce89d6706de3ca285b460749","amount":"1000.00","released":"0.00","refunded":"0.00","funded":null,"screening":"not_screened","milestones":[{"id":"esm_c918b4d9c0b5175733e3b6ff989f9f56","object":"escrow_milestone","position":1,"amount":"600.00","label":"deposit","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}},{"id":"esm_a3081c0dbc64d90b62677f0b4db3db14","object":"escrow_milestone","position":2,"amount":"400.00","label":"delivery","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}}],"proposals":[],"createdAt":"2026-11-19T05:29:29.850Z","updatedAt":"2026-11-19T05:29:29.869Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}/milestones/{milestone}/submit":{"post":{"operationId":"postEscrowsByEscrowMilestonesByMilestoneSubmit","tags":["Escrow"],"summary":"Submit a milestone","description":"The seller's signed submission (action submit, subject = evidenceHash). SET stores the hash, never the evidence. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"name":"milestone","in":"path","required":true,"schema":{"type":"string","pattern":"^esm_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"evidenceHash":{"type":"string","description":"0x and 64 hex characters.","pattern":"^0x[0-9a-fA-F]{64}$"},"reference":{"type":"string","description":"Your own short code, such as a bill of lading number."},"signature":{"type":"string","description":"A 65-byte secp256k1 signature from eth_signTypedData_v4: 0x and 130 hex characters, v 27 or 28.","pattern":"^0x[0-9a-fA-F]{130}$"}},"required":["evidenceHash","signature"]}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Escrow"},"example":{"id":"esc_b82f4c19313b4bfb6ff8c9d9d9bd1f92","object":"escrow","livemode":false,"externalId":null,"invoice":null,"ledgerSide":null,"state":"funded","network":"base","chainId":84532,"asset":"usdc-base","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","scheme":"2_of_3","threshold":2,"parties":{"buyer":{"address":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","acceptedAt":"2026-11-19T05:29:29.238Z"},"seller":{"address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","acceptedAt":"2026-11-19T05:29:29.243Z"},"arbiter":{"address":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","acceptedAt":"2026-11-19T05:29:29.248Z"}},"safe":{"address":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1","version":"1.4.1","saltNonce":"11574162610879669096074398520846252562380558428465634299716694722175156696525","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","nextNonce":0,"custody":"The buyer, the seller and any arbiter own this Safe. SET is not an owner or a signer and never holds its funds."},"termsHash":"0xbe9d022b30044758c7a2204c0aa76301a36628ed1ae100f5252d91d650896074","amount":"1000.00","released":"0.00","refunded":"0.00","funded":{"amount":"1000.00","at":"2026-11-19T05:29:29.254Z","source":"simulator"},"screening":"not_screened","milestones":[{"id":"esm_4ba8aa2742e6679615ffa388e8e704fc","object":"escrow_milestone","position":1,"amount":"600.00","label":"deposit","state":"submitted","evidenceHash":"0xabababababababababababababababababababababababababababababababab","submissionReference":"BOL-7781","submittedAt":"2026-11-19T05:29:29.281Z","payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}},{"id":"esm_f5e7c69759ee9f124a6992e4915f08f8","object":"escrow_milestone","position":2,"amount":"400.00","label":"delivery","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}}],"proposals":[],"createdAt":"2026-11-19T05:29:29.226Z","updatedAt":"2026-11-19T05:29:29.254Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}/milestones/{milestone}/propose_release":{"post":{"operationId":"postEscrowsByEscrowMilestonesByMilestoneProposeRelease","tags":["Escrow"],"summary":"Propose a milestone's release","description":"The Safe transaction (a USDC transfer) to the seller's wallet, the seller's Cash-Out Address, or, for a milestone pledged to a prefunding provider, the provider's repayment address and nowhere else. The destination is screened (403 restricted), the Travel Rule data must be complete (409 travel_rule_*), and after SET's GENIUS cutoff a non-permitted asset is refused. One open proposal per escrow (409 proposal_open). format=safe adds the Safe Transaction Service's proposal shape. SET is never an owner or a signer of the escrow's Safe, never deploys it with a key of its own and never broadcasts: the owners sign, any party sends. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"name":"milestone","in":"path","required":true,"schema":{"type":"string","pattern":"^esm_[0-9a-f]{32}$"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"destination":{"type":"object","properties":{"kind":{"type":"string","enum":["seller_wallet","cash_out_address"]},"cashOutAddress":{"type":"string"}}}}}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowProposal"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowProposal"},"example":{"id":"esp_a488bda81e3e702e007da783e7c29323","object":"escrow_proposal","kind":"release","milestone":"esm_4ba8aa2742e6679615ffa388e8e704fc","state":"awaiting_signatures","amount":"600.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":0,"safeTxHash":"0x7fac0e3a4328ccea3048a478c458196a34d93ca6cb5acd64c6a76d27d6c166e5","signatures":[],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c34600","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0"}},"executedAt":null,"executedSource":null,"createdAt":"2026-11-19T05:29:29.286Z","safe":{"safe":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1","chainId":84532,"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c34600","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0","contractTransactionHash":"0x7fac0e3a4328ccea3048a478c458196a34d93ca6cb5acd64c6a76d27d6c166e5"},"next":"Owners sign typedData with eth_signTypedData_v4 and post each signature to POST /v1/escrows/{escrow}/signatures. With two, the answer carries the execTransaction call any party may send.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}/signatures":{"post":{"operationId":"postEscrowsByEscrowSignatures","tags":["Escrow"],"summary":"Post an owner's signature","description":"Needs the approve scope. An owner's EIP-712 signature over a proposal's SafeTx, verified against the Safe's owners (422 signature_not_an_owner). With two, the proposal is ready and execution carries the execTransaction call any party may broadcast from its own wallet. Contract and passkey owners are not supported. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"approve","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"proposal":{"type":"string","description":"esp_…"},"signature":{"type":"string","description":"A 65-byte secp256k1 signature from eth_signTypedData_v4: 0x and 130 hex characters, v 27 or 28.","pattern":"^0x[0-9a-fA-F]{130}$"}},"required":["proposal","signature"]}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowProposal"},"example":{"id":"esp_a488bda81e3e702e007da783e7c29323","object":"escrow_proposal","kind":"release","milestone":"esm_4ba8aa2742e6679615ffa388e8e704fc","state":"ready","amount":"600.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":0,"safeTxHash":"0x7fac0e3a4328ccea3048a478c458196a34d93ca6cb5acd64c6a76d27d6c166e5","signatures":[{"signer":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","role":"buyer","at":"2026-11-19T05:29:29.309Z"},{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","role":"seller","at":"2026-11-19T05:29:29.315Z"}],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c34600","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0"}},"executedAt":null,"executedSource":null,"createdAt":"2026-11-19T05:29:29.286Z","signedBy":"seller","execution":{"to":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1","value":"0","chainId":84532,"data":"0x6a761202000000000000000000000000036cbd53842c5426634e7929541ec2318f3dcf7e0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001c00000000000000000000000000000000000000000000000000000000000000044a9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c3460000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008207084d81ab1791384654a0192d77f7584096dbf6e737af43ffab9f8d3d171f55623f1d50ff5dc96006da1abf5252573f99ce3f27e89870a47eb2fd85c5e7972f1b2dc458fe6c8f67ea884b46650e0bd09ea45fcffc4f0504731c39291d8a2f5c6b03fb49104b45a724d8af92475643dbd74d44e467deb64a317acfd737b6665f9b1c000000000000000000000000000000000000000000000000000000000000","note":"Ready to broadcast from any party's own wallet. SET does not send it. If the Safe is not deployed yet, send safe.deployment from GET …/safe_bundle first."},"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}/dispute":{"post":{"operationId":"postEscrowsByEscrowDispute","tags":["Escrow"],"summary":"Raise a dispute","description":"The buyer's or seller's signed dispute (action dispute, subject = evidenceHash). A proposal still waiting for signatures is withdrawn; one already signed by two owners can be sent by any party, so it stands. Any two owners then sign a release or a refund. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"evidenceHash":{"type":"string","description":"0x and 64 hex characters.","pattern":"^0x[0-9a-fA-F]{64}$"},"milestone":{"type":"string","description":"esm_…"},"signature":{"type":"string","description":"A 65-byte secp256k1 signature from eth_signTypedData_v4: 0x and 130 hex characters, v 27 or 28.","pattern":"^0x[0-9a-fA-F]{130}$"}},"required":["evidenceHash","signature"]}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Escrow"},"example":{"id":"esc_ab0925a208cb94a5d9e90e826174f19e","object":"escrow","livemode":false,"externalId":null,"invoice":null,"ledgerSide":null,"state":"disputed","network":"base","chainId":84532,"asset":"usdc-base","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","scheme":"2_of_3","threshold":2,"parties":{"buyer":{"address":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","acceptedAt":"2026-11-19T05:29:29.879Z"},"seller":{"address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","acceptedAt":"2026-11-19T05:29:29.883Z"},"arbiter":{"address":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","acceptedAt":"2026-11-19T05:29:29.891Z"}},"safe":{"address":"0x8B893a783089B03DCfC1430dBAbF45e7e37A4ADF","version":"1.4.1","saltNonce":"114301794660428744845235050050743542065447353037105796044138049532046941693989","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","nextNonce":0,"custody":"The buyer, the seller and any arbiter own this Safe. SET is not an owner or a signer and never holds its funds."},"termsHash":"0x449238dc687b5ddd22bac3ae5d16c8da5c895edac3ba657fcd43f9946c4edb7f","amount":"1000.00","released":"0.00","refunded":"0.00","funded":{"amount":"1000.00","at":"2026-11-19T05:29:29.894Z","source":"simulator"},"screening":"not_screened","milestones":[{"id":"esm_8fb3e434a905f7738793e03c4d8c50c0","object":"escrow_milestone","position":1,"amount":"600.00","label":"deposit","state":"disputed","evidenceHash":"0xabababababababababababababababababababababababababababababababab","submissionReference":"BOL-7781","submittedAt":"2026-11-19T05:29:29.900Z","payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}},{"id":"esm_2e55ff0d000290adce08bd7ba5e42344","object":"escrow_milestone","position":2,"amount":"400.00","label":"delivery","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}}],"proposals":[{"id":"esp_162253c48ab88b66c8ab60c0f3dd3ace","object":"escrow_proposal","kind":"release","milestone":"esm_8fb3e434a905f7738793e03c4d8c50c0","state":"cancelled","amount":"600.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":0,"safeTxHash":"0xac31ec123d350cf13b9ac976422709b8c8235314f8d5b81f6ce2feda398edfce","signatures":[],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x8B893a783089B03DCfC1430dBAbF45e7e37A4ADF"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c34600","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0"}},"executedAt":null,"executedSource":null,"createdAt":"2026-11-19T05:29:29.904Z"}],"createdAt":"2026-11-19T05:29:29.874Z","updatedAt":"2026-11-19T05:29:29.914Z","next":"Any two owners resolve it: buyer and seller together, or either with the arbiter, by signing a release or a refund.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}/propose_refund":{"post":{"operationId":"postEscrowsByEscrowProposeRefund","tags":["Escrow"],"summary":"Propose a refund to the buyer","description":"One Safe transaction returning every unreleased milestone not pledged to a prefunding provider to the buyer's address. Signed by buyer and seller, or the buyer and the arbiter. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowProposal"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowProposal"},"example":{"id":"esp_172e5faf166e16bc32b1603a4ea3e451","object":"escrow_proposal","kind":"refund","milestone":null,"state":"awaiting_signatures","amount":"1000.00","destination":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","destinationKind":"buyer_wallet","safeNonce":0,"safeTxHash":"0x4ff14b5865d4cdccc41ee20b8b66fb235a522f6a62aa730aec819c5eb64dde76","signatures":[],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x8B893a783089B03DCfC1430dBAbF45e7e37A4ADF"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000003b9aca00","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0"}},"executedAt":null,"executedSource":null,"createdAt":"2026-11-19T05:29:29.918Z","milestones":["esm_8fb3e434a905f7738793e03c4d8c50c0","esm_2e55ff0d000290adce08bd7ba5e42344"],"next":"Two owners sign: buyer and seller, or the buyer with the arbiter.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}/travel_rule":{"get":{"operationId":"getEscrowsByEscrowTravelRule","tags":["Escrow"],"summary":"Read an escrow's Travel Rule record","description":"Presence, wallet attestation and the commitment of the sealed record. The parties' names and countries are never returned. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"read","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowTravelRule"},"example":{"object":"escrow_travel_rule","escrow":"esc_e4aadd8290c98fd4979daaf58fddbc93","sealed":true,"commitment":"sha256:9596a19d37f95fc810ffbcbd3cc96556687214085facf9e23da1ae0319184596","originator":{"role":"buyer","present":true,"walletType":"self_custodied","walletAddress":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","attestedOwnershipAt":null,"attestation":"the party's EIP-712 signature over the terms, verified by SET"},"beneficiary":{"role":"seller","present":true,"walletType":"self_custodied","walletAddress":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","attestedOwnershipAt":null,"attestation":"the party's EIP-712 signature over the terms, verified by SET"},"note":"The parties' names and countries are sealed (AES-256-GCM) and never returned. commitment is the SHA-256 of the sealed record, to compare with your own copy."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/escrows/{escrow}/safe_bundle":{"get":{"operationId":"getEscrowsByEscrowSafeBundle","tags":["Escrow"],"summary":"Everything to run the escrow without SET","description":"The Safe's owners, threshold, salt nonce and deployment call, every proposal with its SafeTx and the owners' signatures. format=safe: the open proposal as a Safe Transaction Builder file. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"read","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"name":"format","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EscrowSafeBundle"},"example":{"object":"escrow_safe_bundle","escrow":"esc_b82f4c19313b4bfb6ff8c9d9d9bd1f92","network":"base","chainId":84532,"chainLabel":"Base Sepolia","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","safe":{"address":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1","version":"1.4.1","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"saltNonce":"11574162610879669096074398520846252562380558428465634299716694722175156696525","factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","deployment":{"to":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","value":"0","data":"0x1688f0b900000000000000000000000029fcb43b46531bca003ddc8fcb67ffe91900c76200000000000000000000000000000000000000000000000000000000000000601996be6f740c4a2261f45d8b8e7878fe2518959e5cf2e96ade5cf207865d35cd00000000000000000000000000000000000000000000000000000000000001a4b63e800d0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000fd0732dc9e303f09fcef3a7388ad10a83459ec9900000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000030000000000000000000000003c44cdddb6a900fa2b585dd299e03d12fa4293bc00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c8000000000000000000000000f39fd6e51aad88f6f4ce6ab8827279cfffb92266000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000"}},"termsHash":"0xbe9d022b30044758c7a2204c0aa76301a36628ed1ae100f5252d91d650896074","proposals":[{"id":"esp_a488bda81e3e702e007da783e7c29323","object":"escrow_proposal","kind":"release","milestone":"esm_4ba8aa2742e6679615ffa388e8e704fc","state":"executed","amount":"600.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":0,"safeTxHash":"0x7fac0e3a4328ccea3048a478c458196a34d93ca6cb5acd64c6a76d27d6c166e5","signatures":[{"signer":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","role":"buyer","at":"2026-11-19T05:29:29.309Z"},{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","role":"seller","at":"2026-11-19T05:29:29.315Z"}],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c34600","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0"}},"executedAt":"2026-11-19T05:29:29.319Z","executedSource":"simulator","createdAt":"2026-11-19T05:29:29.286Z","tx":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c34600","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0"},"ownerSignatures":[{"signer":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","signature":"0x2dc458fe6c8f67ea884b46650e0bd09ea45fcffc4f0504731c39291d8a2f5c6b03fb49104b45a724d8af92475643dbd74d44e467deb64a317acfd737b6665f9b1c"},{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","signature":"0x07084d81ab1791384654a0192d77f7584096dbf6e737af43ffab9f8d3d171f55623f1d50ff5dc96006da1abf5252573f99ce3f27e89870a47eb2fd85c5e7972f1b"}]},{"id":"esp_26caba2398e63be3ca5aa29f5556dbb3","object":"escrow_proposal","kind":"release","milestone":"esm_f5e7c69759ee9f124a6992e4915f08f8","state":"executed","amount":"400.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":1,"safeTxHash":"0x2318eef18378521f19f3b423c4cfbe7890cde166d3f862c71442f457ab44514c","signatures":[{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","role":"seller","at":"2026-11-19T05:29:29.331Z"},{"signer":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","role":"arbiter","at":"2026-11-19T05:29:29.335Z"}],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000017d78400","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"1"}},"executedAt":"2026-11-19T05:29:29.338Z","executedSource":"simulator","createdAt":"2026-11-19T05:29:29.325Z","tx":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000017d78400","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"1"},"ownerSignatures":[{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","signature":"0xcd4b98e644a88f5ee68a03b914dbb391dbc47e92976c16b1d315b83a352703984169aa4734d05de78f0db12823ea7f4f13e8ad77177286180aff7e63c682e80f1c"},{"signer":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","signature":"0x810fbb05999da03a360c91639b7812cced7f1b75ce36533b02afc71f76174030145a88c67f558945ed6cbc0face844885141d24024b3ee65969dbcaa169c18b41c"}]}],"howTo":["Anyone may deploy the Safe by sending safe.deployment (to, data) on this chain; the owners and threshold are fixed by it, so the address is the one shown.","Each proposal's typedData is the SafeTx an owner signs with eth_signTypedData_v4; safeTxHash is its EIP-712 hash.","With enough owner signatures, any party calls execTransaction on the Safe with the signatures ordered by owner address. Safe{Wallet} can import the Safe by its address."]}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/escrows/{escrow}/fund":{"post":{"operationId":"postSandboxEscrowsByEscrowFund","tags":["Escrow"],"summary":"Sandbox: fund an accepted escrow","description":"Staging only (404 elsewhere). Simulated: no token moves. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Escrow"},"example":{"id":"esc_b82f4c19313b4bfb6ff8c9d9d9bd1f92","object":"escrow","livemode":false,"externalId":null,"invoice":null,"ledgerSide":null,"state":"funded","network":"base","chainId":84532,"asset":"usdc-base","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","scheme":"2_of_3","threshold":2,"parties":{"buyer":{"address":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","acceptedAt":"2026-11-19T05:29:29.238Z"},"seller":{"address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","acceptedAt":"2026-11-19T05:29:29.243Z"},"arbiter":{"address":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","acceptedAt":"2026-11-19T05:29:29.248Z"}},"safe":{"address":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1","version":"1.4.1","saltNonce":"11574162610879669096074398520846252562380558428465634299716694722175156696525","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","nextNonce":0,"custody":"The buyer, the seller and any arbiter own this Safe. SET is not an owner or a signer and never holds its funds."},"termsHash":"0xbe9d022b30044758c7a2204c0aa76301a36628ed1ae100f5252d91d650896074","amount":"1000.00","released":"0.00","refunded":"0.00","funded":{"amount":"1000.00","at":"2026-11-19T05:29:29.254Z","source":"simulator"},"screening":"not_screened","milestones":[{"id":"esm_4ba8aa2742e6679615ffa388e8e704fc","object":"escrow_milestone","position":1,"amount":"600.00","label":"deposit","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}},{"id":"esm_f5e7c69759ee9f124a6992e4915f08f8","object":"escrow_milestone","position":2,"amount":"400.00","label":"delivery","state":"open","evidenceHash":null,"submissionReference":null,"submittedAt":null,"payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}}],"proposals":[],"createdAt":"2026-11-19T05:29:29.226Z","updatedAt":"2026-11-19T05:29:29.254Z","sandbox":true,"message":"Sandbox: simulated. No token moved on any chain."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/escrows/{escrow}/milestones/{milestone}/confirm":{"post":{"operationId":"postSandboxEscrowsByEscrowMilestonesByMilestoneConfirm","tags":["Escrow"],"summary":"Sandbox: execute the ready proposal for a milestone","description":"Staging only. Treats the milestone's ready release (or a ready refund that covers it) as executed on chain, or failed with outcome failed. Nothing is broadcast. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"}],"parameters":[{"name":"escrow","in":"path","required":true,"schema":{"type":"string","pattern":"^esc_[0-9a-f]{32}$"}},{"name":"milestone","in":"path","required":true,"schema":{"type":"string","pattern":"^esm_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"outcome":{"type":"string","enum":["executed","failed"]}}}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Escrow"},"example":{"id":"esc_b82f4c19313b4bfb6ff8c9d9d9bd1f92","object":"escrow","livemode":false,"externalId":null,"invoice":null,"ledgerSide":null,"state":"funded","network":"base","chainId":84532,"asset":"usdc-base","token":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","scheme":"2_of_3","threshold":2,"parties":{"buyer":{"address":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","acceptedAt":"2026-11-19T05:29:29.238Z"},"seller":{"address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","acceptedAt":"2026-11-19T05:29:29.243Z"},"arbiter":{"address":"0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC","acceptedAt":"2026-11-19T05:29:29.248Z"}},"safe":{"address":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1","version":"1.4.1","saltNonce":"11574162610879669096074398520846252562380558428465634299716694722175156696525","owners":["0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","0x70997970C51812dc3A010C7d01b50e0d17dc79C8","0x3C44CdDdB6a900fa2b585dd299e03d12FA4293BC"],"threshold":2,"factory":"0x4e1DCf7AD4e460CfD30791CCC4F9c8a4f820ec67","singleton":"0x29fcB43b46531BcA003ddC8FCB67FFE91900C762","fallbackHandler":"0xfd0732Dc9E303f09fCEf3a7388Ad10A83459Ec99","nextNonce":1,"custody":"The buyer, the seller and any arbiter own this Safe. SET is not an owner or a signer and never holds its funds."},"termsHash":"0xbe9d022b30044758c7a2204c0aa76301a36628ed1ae100f5252d91d650896074","amount":"1000.00","released":"600.00","refunded":"0.00","funded":{"amount":"1000.00","at":"2026-11-19T05:29:29.254Z","source":"simulator"},"screening":"not_screened","milestones":[{"id":"esm_4ba8aa2742e6679615ffa388e8e704fc","object":"escrow_milestone","position":1,"amount":"600.00","label":"deposit","state":"released","evidenceHash":"0xabababababababababababababababababababababababababababababababab","submissionReference":"BOL-7781","submittedAt":"2026-11-19T05:29:29.281Z","payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}},{"id":"esm_f5e7c69759ee9f124a6992e4915f08f8","object":"escrow_milestone","position":2,"amount":"400.00","label":"delivery","state":"submitted","evidenceHash":"0xabababababababababababababababababababababababababababababababab","submissionReference":"BOL-7781","submittedAt":"2026-11-19T05:29:29.295Z","payout":{"kind":"seller_wallet","address":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","cashOutAddress":null,"advance":null,"locked":false}}],"proposals":[{"id":"esp_a488bda81e3e702e007da783e7c29323","object":"escrow_proposal","kind":"release","milestone":"esm_4ba8aa2742e6679615ffa388e8e704fc","state":"executed","amount":"600.00","destination":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","destinationKind":"seller_wallet","safeNonce":0,"safeTxHash":"0x7fac0e3a4328ccea3048a478c458196a34d93ca6cb5acd64c6a76d27d6c166e5","signatures":[{"signer":"0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266","role":"buyer","at":"2026-11-19T05:29:29.309Z"},{"signer":"0x70997970C51812dc3A010C7d01b50e0d17dc79C8","role":"seller","at":"2026-11-19T05:29:29.315Z"}],"threshold":2,"typedData":{"domain":{"chainId":84532,"verifyingContract":"0x394e87f3DE93CE432442aa9e05d44A7F539C53e1"},"types":{"EIP712Domain":[{"name":"chainId","type":"uint256"},{"name":"verifyingContract","type":"address"}],"SafeTx":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"},{"name":"operation","type":"uint8"},{"name":"safeTxGas","type":"uint256"},{"name":"baseGas","type":"uint256"},{"name":"gasPrice","type":"uint256"},{"name":"gasToken","type":"address"},{"name":"refundReceiver","type":"address"},{"name":"nonce","type":"uint256"}]},"primaryType":"SafeTx","message":{"to":"0x036CbD53842c5426634e7929541eC2318f3dCF7e","value":"0","data":"0xa9059cbb00000000000000000000000070997970c51812dc3a010c7d01b50e0d17dc79c80000000000000000000000000000000000000000000000000000000023c34600","operation":0,"safeTxGas":"0","baseGas":"0","gasPrice":"0","gasToken":"0x0000000000000000000000000000000000000000","refundReceiver":"0x0000000000000000000000000000000000000000","nonce":"0"}},"executedAt":"2026-11-19T05:29:29.319Z","executedSource":"simulator","createdAt":"2026-11-19T05:29:29.286Z"}],"createdAt":"2026-11-19T05:29:29.226Z","updatedAt":"2026-11-19T05:29:29.319Z","sandbox":true,"message":"Sandbox: simulated. Nothing was broadcast; the owners' signed transaction is treated as executed on chain."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/prefunding/providers":{"get":{"operationId":"getPrefundingProviders","tags":["Prefunding"],"summary":"List prefunding providers","description":"Licensed providers connected to SET. None is connected live: on a live key the list is empty and note says so. A test key sees the sandbox provider. SET does not lend. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 503 prefunding_disabled while Trade-finance prefunding is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which). 403 prefunding_off while Trade-finance prefunding for this account is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which).","x-scope":"read","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"},{"error":"prefunding_disabled","status":503,"capability":"features.tradeFinancePrefunding"},{"error":"prefunding_off","status":403,"capability":"features.tradeFinancePrefunding"}],"parameters":[{"name":"network","in":"query","required":false,"schema":{"type":"string"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefundingProviderList"},"example":{"object":"list","data":[{"id":"pfp_00000000000000000000000000005a4d","object":"prefunding_provider","kind":"sandbox","label":"Sandbox prefunding provider (simulated; no money moves)","network":"base","repaymentAddress":"0x5e700000000000000000000000000000000000af","sandbox":true,"feeBps":200}],"hasMore":false,"nextCreatedBefore":null,"sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/prefunding/quotes":{"post":{"operationId":"postPrefundingQuotes","tags":["Prefunding"],"summary":"Ask a provider to quote a milestone","description":"For a funded escrow's open or submitted milestone not already pledged (409 milestone_already_pledged). Answers the provider's numbers and assignment: the typed data the seller signs. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 503 prefunding_disabled while Trade-finance prefunding is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which). 403 prefunding_off while Trade-finance prefunding for this account is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"},{"error":"prefunding_disabled","status":503,"capability":"features.tradeFinancePrefunding"},{"error":"prefunding_off","status":403,"capability":"features.tradeFinancePrefunding"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"escrow":{"type":"string","description":"esc_…"},"milestone":{"type":"string","description":"esm_…"},"provider":{"type":"string","description":"pfp_…"}},"required":["escrow","milestone","provider"]}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefundingQuote"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefundingQuote"},"example":{"id":"pfq_c3e1edf15d8be46c4c7ee0fb101a3645","object":"prefunding_quote","provider":"pfp_00000000000000000000000000005a4d","escrow":"esc_562dd395135ca51e0e77756e81802fa2","milestone":"esm_ce2fc3c567919b6a472353a2c7c8c446","advance":"588.00","fee":"12.00","repayment":"600.00","repaymentAddress":"0x5e700000000000000000000000000000000000af","expiresAt":"2026-11-19T05:44:31.107Z","sandbox":true,"createdAt":"2026-11-19T05:29:31.107Z","lender":"The provider, not SET. SET does not lend, quote or disburse.","assignment":{"domain":{"name":"SET Escrow","version":"1","chainId":84532},"types":{"EIP712Domain":[{"name":"name","type":"string"},{"name":"version","type":"string"},{"name":"chainId","type":"uint256"}],"EscrowAction":[{"name":"escrow","type":"string"},{"name":"action","type":"string"},{"name":"milestone","type":"string"},{"name":"subject","type":"bytes32"},{"name":"termsHash","type":"bytes32"}]},"primaryType":"EscrowAction","message":{"escrow":"esc_562dd395135ca51e0e77756e81802fa2","action":"assign_payout","milestone":"esm_ce2fc3c567919b6a472353a2c7c8c446","subject":"0x0000000000000000000000005e700000000000000000000000000000000000af","termsHash":"0xf8b41cd98f9df0c2a5ac83957f321c57d3f0013fc8be1bda12a05579ca80e847"}},"next":"To take it, the seller signs assignment with eth_signTypedData_v4 and you post {quote, signature} to POST /v1/prefunding/advances before expiresAt. That locks the milestone's payout to repaymentAddress."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/prefunding/advances":{"get":{"operationId":"getPrefundingAdvances","tags":["Prefunding"],"summary":"List advances","description":"503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 503 prefunding_disabled while Trade-finance prefunding is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which). 403 prefunding_off while Trade-finance prefunding for this account is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which).","x-scope":"read","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"},{"error":"prefunding_disabled","status":503,"capability":"features.tradeFinancePrefunding"},{"error":"prefunding_off","status":403,"capability":"features.tradeFinancePrefunding"}],"parameters":[{"name":"escrow","in":"query","required":false,"schema":{"type":"string"}},{"name":"state","in":"query","required":false,"schema":{"type":"string"}},{"name":"limit","in":"query","required":false,"schema":{"type":"string"},"description":"1 to 100; 50 by default (any other value is 50)."},{"name":"createdBefore","in":"query","required":false,"schema":{"type":"string"},"description":"The last answer's nextCreatedBefore, passed back unchanged; or an ISO 8601 time (rows created before it)."},{"$ref":"#/components/parameters/SetVersion"},{"name":"startingAfter","in":"query","required":false,"description":"The cursor (SET-Version 2026-11-23): the last answer's nextStartingAfter, passed back unchanged. Older names for it still work on every version: createdBefore on these lists, after on the event lists. Two that disagree are 400 cursor_conflict.","schema":{"type":"string"}}],"responses":{"200":{"description":"A page, newest first.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/ListPage"},{"type":"object","properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/PrefundingAdvance"}}}}]},"example":{"object":"list","data":[{"id":"pfa_4eb1e24a6360d5e84021f5b490c81dda","object":"prefunding_advance","provider":"pfp_00000000000000000000000000005a4d","quote":"pfq_c3e1edf15d8be46c4c7ee0fb101a3645","escrow":"esc_562dd395135ca51e0e77756e81802fa2","milestone":"esm_ce2fc3c567919b6a472353a2c7c8c446","advance":"588.00","fee":"12.00","repayment":"600.00","repaymentAddress":"0x5e700000000000000000000000000000000000af","state":"repaid","advancedSource":"simulator","sandbox":true,"createdAt":"2026-11-19T05:29:31.117Z","updatedAt":"2026-11-19T05:29:31.155Z"}],"hasMore":false,"nextCreatedBefore":null}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true},"post":{"operationId":"postPrefundingAdvances","tags":["Prefunding"],"summary":"Take a quote: assign the milestone's payout","description":"The seller's signature over the quote's assignment. In one transaction SET records it, writes the advance and locks the milestone's payout to the provider's repayment address; a milestone already pledged answers 409 milestone_already_pledged and nothing is written. The lock binds what SET proposes; the Safe's owners can still sign any transaction on chain. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 503 prefunding_disabled while Trade-finance prefunding is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which). 403 prefunding_off while Trade-finance prefunding for this account is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"},{"error":"prefunding_disabled","status":503,"capability":"features.tradeFinancePrefunding"},{"error":"prefunding_off","status":403,"capability":"features.tradeFinancePrefunding"}],"parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"quote":{"type":"string","description":"pfq_…"},"signature":{"type":"string","description":"A 65-byte secp256k1 signature from eth_signTypedData_v4: 0x and 130 hex characters, v 27 or 28.","pattern":"^0x[0-9a-fA-F]{130}$"}},"required":["quote","signature"]}}}},"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefundingAdvance"}}}},"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefundingAdvance"},"example":{"id":"pfa_4eb1e24a6360d5e84021f5b490c81dda","object":"prefunding_advance","provider":"pfp_00000000000000000000000000005a4d","quote":"pfq_c3e1edf15d8be46c4c7ee0fb101a3645","escrow":"esc_562dd395135ca51e0e77756e81802fa2","milestone":"esm_ce2fc3c567919b6a472353a2c7c8c446","advance":"588.00","fee":"12.00","repayment":"600.00","repaymentAddress":"0x5e700000000000000000000000000000000000af","state":"requested","advancedSource":null,"sandbox":true,"createdAt":"2026-11-19T05:29:31.117Z","updatedAt":"2026-11-19T05:29:31.117Z","next":"The provider disburses to the seller outside SET. The milestone's release, when its owners sign it, pays repaymentAddress."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/prefunding/advances/{advance}":{"get":{"operationId":"getPrefundingAdvancesByAdvance","tags":["Prefunding"],"summary":"Read an advance","description":"503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 503 prefunding_disabled while Trade-finance prefunding is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which). 403 prefunding_off while Trade-finance prefunding for this account is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which).","x-scope":"read","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"},{"error":"prefunding_disabled","status":503,"capability":"features.tradeFinancePrefunding"},{"error":"prefunding_off","status":403,"capability":"features.tradeFinancePrefunding"}],"parameters":[{"name":"advance","in":"path","required":true,"schema":{"type":"string","pattern":"^pfa_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefundingAdvance"},"example":{"id":"pfa_4eb1e24a6360d5e84021f5b490c81dda","object":"prefunding_advance","provider":"pfp_00000000000000000000000000005a4d","quote":"pfq_c3e1edf15d8be46c4c7ee0fb101a3645","escrow":"esc_562dd395135ca51e0e77756e81802fa2","milestone":"esm_ce2fc3c567919b6a472353a2c7c8c446","advance":"588.00","fee":"12.00","repayment":"600.00","repaymentAddress":"0x5e700000000000000000000000000000000000af","state":"repaid","advancedSource":"simulator","sandbox":true,"createdAt":"2026-11-19T05:29:31.117Z","updatedAt":"2026-11-19T05:29:31.155Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/prefunding/advances/{advance}/cancel":{"post":{"operationId":"postPrefundingAdvancesByAdvanceCancel","tags":["Prefunding"],"summary":"Cancel an advance before it is disbursed","description":"Only while requested (409 advance_disbursed). The milestone's payout returns to the seller's wallet. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 503 prefunding_disabled while Trade-finance prefunding is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which). 403 prefunding_off while Trade-finance prefunding for this account is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"},{"error":"prefunding_disabled","status":503,"capability":"features.tradeFinancePrefunding"},{"error":"prefunding_off","status":403,"capability":"features.tradeFinancePrefunding"}],"parameters":[{"name":"advance","in":"path","required":true,"schema":{"type":"string","pattern":"^pfa_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefundingAdvance"},"example":{"id":"pfa_2d12251ffe50df70bea912a34b7ef76b","object":"prefunding_advance","provider":"pfp_00000000000000000000000000005a4d","quote":"pfq_a00db40713598490c259592a303fc402","escrow":"esc_871bb00884ade715254806abbfe2f740","milestone":"esm_bef1e6ccfdfdc80903956d22c49d936d","advance":"588.00","fee":"12.00","repayment":"600.00","repaymentAddress":"0x5e700000000000000000000000000000000000af","state":"cancelled","advancedSource":null,"sandbox":true,"createdAt":"2026-11-19T05:29:31.732Z","updatedAt":"2026-11-19T05:29:31.735Z"}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/sandbox/prefunding/advances/{advance}/advance":{"post":{"operationId":"postSandboxPrefundingAdvancesByAdvanceAdvance","tags":["Prefunding"],"summary":"Sandbox: the provider disburses","description":"Staging only. Simulated: no provider pays anything. 503 escrow_disabled while SET Escrow is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 403 escrow_off while SET Escrow for this account is switched off for this deployment (GET /v1/capabilities features.escrow.status says which). 503 prefunding_disabled while Trade-finance prefunding is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which). 403 prefunding_off while Trade-finance prefunding for this account is switched off for this deployment (GET /v1/capabilities features.tradeFinancePrefunding.status says which).","x-scope":"write","x-set-switches":[{"error":"escrow_disabled","status":503,"capability":"features.escrow"},{"error":"escrow_off","status":403,"capability":"features.escrow"},{"error":"prefunding_disabled","status":503,"capability":"features.tradeFinancePrefunding"},{"error":"prefunding_off","status":403,"capability":"features.tradeFinancePrefunding"}],"parameters":[{"name":"advance","in":"path","required":true,"schema":{"type":"string","pattern":"^pfa_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrefundingAdvance"},"example":{"id":"pfa_4eb1e24a6360d5e84021f5b490c81dda","object":"prefunding_advance","provider":"pfp_00000000000000000000000000005a4d","quote":"pfq_c3e1edf15d8be46c4c7ee0fb101a3645","escrow":"esc_562dd395135ca51e0e77756e81802fa2","milestone":"esm_ce2fc3c567919b6a472353a2c7c8c446","advance":"588.00","fee":"12.00","repayment":"600.00","repaymentAddress":"0x5e700000000000000000000000000000000000af","state":"advanced","advancedSource":"simulator","sandbox":true,"createdAt":"2026-11-19T05:29:31.117Z","updatedAt":"2026-11-19T05:29:31.136Z","message":"Sandbox: simulated. No provider disbursed anything."}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/wallets/{id}/recovery_bundle":{"get":{"operationId":"getWalletsByIdRecoveryBundle","tags":["Wallets"],"summary":"What a self-custody wallet's owners keep to recover it","description":"A self-custody wallet as it is: its address and chain, its owner quorum (members, the business's own public keys, the threshold), its limits, and the provider's recovery path. It is a provider server wallet under the owners' key quorum, not a Safe, so no Safe or EIP-712 payload is given. Moving money needs a threshold of the owners' signatures; the provider's wallet export is restricted to the wallet's owners. Every request to the provider also needs the provider app's credentials, which SET holds: SET can relay what the owners sign but cannot authorize it, and offers no export relay in this release. The bundle contains no secret. 503 self_custody_disabled while self-custody wallets is switched off for this deployment (GET /v1/capabilities features.selfCustodyWallets.status says which).","x-scope":"read","x-set-switches":[{"error":"self_custody_disabled","status":503,"capability":"features.selfCustodyWallets"}],"parameters":[{"name":"id","in":"path","required":true,"description":"A self-custody wallet (swl_…). Any other id is 404 wallet_unknown.","schema":{"type":"string","pattern":"^swl_[a-f0-9]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletRecoveryBundle"},"example":{"object":"wallet_recovery_bundle","wallet":"swl_13c10ae5e54440a0b09b95408f4b6bc8","custody":"self","state":"active","livemode":false,"chain":"base","providerChain":"base_sepolia","caip2":"eip155:84532","chainId":84532,"address":"0x5555555555555555555555555555555555555553","model":{"type":"provider_server_wallet","smartContract":false,"note":"One key held by SET's wallet provider, controlled by the owner key quorum below. Not a Safe or other smart-contract wallet: there is no on-chain owner list and no Safe (EIP-712) transaction to sign."},"provider":{"appId":"cmtestapp0000000000000001","walletId":"wl0000000000000000000003","ownerQuorumId":"kq0000000000000000000001","policyId":"pl0000000000000000000002"},"owners":{"threshold":1,"members":[{"member":"pmb_coreownera00000001","acceptedAt":"2026-11-19T04:13:34.892Z"}],"publicKeys":["MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEk2WaNwWRm+CMArwofA+/CnkBPcwOJoUxzjn5NBn7yypqHzrwnCZyUD8uhFeM4F8wvY8Lx2K9DuFk2FlewXR6sw=="]},"limits":{"assets":["usdc"],"perPayment":"500.00","perDay":"2000.00"},"recovery":{"moveFunds":"A transfer request to the wallet provider for provider.walletId, signed by at least owners.threshold owners (each member in their signed-in console, or your server key). Through SET: POST /v1/wallets/{id}/payments, then each owner posts a signature to …/signatures.","exportPrivateKey":{"how":"The wallet provider's export of the wallet's private key, encrypted to a key the owners generate and authorized by the owner quorum's signatures. In the provider's words, export is restricted to wallet owners; this wallet's policy has no rule that denies it.","availableThroughSet":false},"dependsOnSet":"Every request to the wallet provider for this wallet also needs the provider app's id and secret, which SET holds. SET can relay a request the owners signed, but it cannot authorize a movement or an export, and it does not offer an export relay in this release."},"secrets":"None. This bundle holds no private key, seed phrase, app secret, session or signature.","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/Problem"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}},"x-set-crypto-suite":true}},"/v1/quotes":{"post":{"operationId":"postQuotes","tags":["Payouts"],"summary":"Quote a payout's conversion: indicative, or locked where the provider offers it","description":"lock false (default): the provider's current rate as an estimate (rateLocked false, expiresAt null); it guarantees nothing, and read (or payouts:read) is enough. lock true needs write (or payouts:write) and customer: the rate is locked at the provider that would send that customer's payout, only if that provider offers locked rates (RFQ). The primary provider does not: it answers 409 rate_lock_not_supported and nothing is written. A locked quote pays one payout of exactly its amount and currency for that customer, before expiresAt (POST /v1/payouts quoteId).","x-scope":"read","parameters":[{"$ref":"#/components/parameters/SetVersion"},{"$ref":"#/components/parameters/IdempotencyKey"}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","additionalProperties":true,"required":["targetCurrency","amount"],"properties":{"targetCurrency":{"type":"string","enum":["eur","gbp","mxn","brl","cop"]},"amount":{"type":"string","description":"USDC in dollars and cents, for example \"250.00\".","pattern":"^\\d{1,12}(\\.\\d{1,2})?$"},"sourceCurrency":{"type":"string","description":"usdc (default); usd is taken as the same dollar amount.","enum":["usdc","usd"]},"customer":{"type":"string","description":"cus_…; required with lock true."},"lock":{"type":"boolean"}}}}}},"responses":{"201":{"description":"Created.","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Idempotent-Replayed":{"$ref":"#/components/headers/Idempotent-Replayed"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"},"example":{"id":"qt_1d3ce10f29ba49f580af99fe89c67f09","object":"quote","customer":"cus_ce3f3ab0463247429ec7a7c029130904","provider":"primary","sourceCurrency":"usdc","targetCurrency":"eur","amount":"100.00","fee":"1.00","rate":"0.90450","netTargetAmount":"89.54","rateLocked":false,"expiresAt":null,"status":"indicative","payout":null,"notice":"Indicative: the provider's current rate, given as an estimate. It is not locked and guarantees nothing; the rate applied when a payout converts can differ.","livemode":false,"createdAt":"2026-11-20T23:25:03.970Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"422":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}},"/v1/quotes/{id}":{"get":{"operationId":"getQuotesById","tags":["Payouts"],"summary":"Read a quote","x-scope":"read","parameters":[{"name":"id","in":"path","required":true,"description":"A quote (qt_…). Any other id is 404 quote_unknown.","schema":{"type":"string","pattern":"^qt_[0-9a-f]{32}$"}},{"$ref":"#/components/parameters/SetVersion"}],"responses":{"200":{"description":"The object, or a list ({object: \"list\", data, hasMore}).","headers":{"SET-Version":{"$ref":"#/components/headers/SET-Version"},"Request-Id":{"$ref":"#/components/headers/Request-Id"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Quote"},"example":{"id":"qt_1d3ce10f29ba49f580af99fe89c67f09","object":"quote","customer":"cus_ce3f3ab0463247429ec7a7c029130904","provider":"primary","sourceCurrency":"usdc","targetCurrency":"eur","amount":"100.00","fee":"1.00","rate":"0.90450","netTargetAmount":"89.54","rateLocked":false,"expiresAt":null,"status":"indicative","payout":null,"notice":"Indicative: the provider's current rate, given as an estimate. It is not locked and guarantees nothing; the rate applied when a payout converts can differ.","livemode":false,"createdAt":"2026-11-20T23:25:03.970Z","sandbox":true}}}},"400":{"$ref":"#/components/responses/Problem"},"401":{"$ref":"#/components/responses/Problem"},"403":{"$ref":"#/components/responses/ProblemOutsideCryptoSuite"},"404":{"$ref":"#/components/responses/Problem"},"409":{"$ref":"#/components/responses/Problem"},"429":{"$ref":"#/components/responses/Problem"},"502":{"$ref":"#/components/responses/Problem"},"503":{"$ref":"#/components/responses/Problem"}}}}},"webhooks":{"customer.updated":{"post":{"operationId":"onCustomerUpdated","summary":"The provider's verification status changed.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"bank_account.created":{"post":{"operationId":"onBankAccountCreated","summary":"bank_account.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_address.created":{"post":{"operationId":"onCashOutAddressCreated","summary":"cash_out_address.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_address.updated":{"post":{"operationId":"onCashOutAddressUpdated","summary":"cash_out_address.updated","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"virtual_account.created":{"post":{"operationId":"onVirtualAccountCreated","summary":"virtual_account.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"virtual_account.deactivated":{"post":{"operationId":"onVirtualAccountDeactivated","summary":"virtual_account.deactivated","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"virtual_account.activated":{"post":{"operationId":"onVirtualAccountActivated","summary":"virtual_account.activated","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.payment_processed":{"post":{"operationId":"onDepositPaymentProcessed","summary":"The provider delivered a deposit; deposit.<state> for every state.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.delivered":{"post":{"operationId":"onDepositDelivered","summary":"The chain agrees (live).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.reorg_detected":{"post":{"operationId":"onDepositReorgDetected","summary":"The block that confirmed a deposit's delivery is no longer on the chain (a reorganisation). finalityStatus is reorg_review and delivered is false; SET's operator reviews it. Nothing moves on by itself.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.reorg_detected":{"post":{"operationId":"onPayoutReorgDetected","summary":"The block that confirmed a crypto payout is no longer on the chain. finalityStatus is reorg_review and delivered is false; SET's operator reviews it.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"transfer.reorg_detected":{"post":{"operationId":"onTransferReorgDetected","summary":"The block that confirmed a wire in's USDC delivery is no longer on the chain. finalityStatus is reorg_review; SET's operator reviews it.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.forwarded":{"post":{"operationId":"onDepositForwarded","summary":"A deposit into the customer's own wallet, which the provider holds for the customer (way 3 through the wallet), was sent on to the customer's Cash-Out Address. data: the forward (deposit, wallet, cashOutAddress, amount, transfer).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.forward_failed":{"post":{"operationId":"onDepositForwardFailed","summary":"The provider refused that forward; the money stays in the customer's wallet and SET tries again (at most once an hour).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.forward_skipped":{"post":{"operationId":"onDepositForwardSkipped","summary":"A deposit that cannot be forwarded (reason: below_minimum, under 1.00; or unroutable). The money stays in the customer's wallet; move it with POST /v1/wallets/{id}/withdrawals. Sent once.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_payment.payment_processed":{"post":{"operationId":"onCashOutPaymentPaymentProcessed","summary":"The provider paid the bank; cash_out_payment.<state> for every state.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_address.policy_drift":{"post":{"operationId":"onCashOutAddressPolicyDrift","summary":"The provider now lists, for a chain \"evm\" address, a network or currency your asset policy does not take: data.excluded names them, data.pairs is the whole list. You decide whether to close the address. Once per change.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_payment.trade_pending":{"post":{"operationId":"onCashOutPaymentTradePending","summary":"Deprecated: the provider holds a retired USDT payment with a trade awaiting execution. Nothing moves until you execute it (POST /v1/cash_out_payments/{id}/execute_trade); SET never does. Once per payment.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_payment.trade_executed":{"post":{"operationId":"onCashOutPaymentTradeExecuted","summary":"You executed the payment's pending trade; the provider continues at its current market rate.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_payment.unknown_sender":{"post":{"operationId":"onCashOutPaymentUnknownSender","summary":"Sandbox only (POST /v1/sandbox/unknown_sender): a payment from a wallet nobody named, held until its sender is named.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"conversion_address.created":{"post":{"operationId":"onConversionAddressCreated","summary":"conversion_address.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"conversion_payment.payment_processed":{"post":{"operationId":"onConversionPaymentPaymentProcessed","summary":"conversion_payment.payment_processed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"wallet.created":{"post":{"operationId":"onWalletCreated","summary":"wallet.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"wallet.activity":{"post":{"operationId":"onWalletActivity","summary":"wallet.activity","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"wallet_withdrawal.created":{"post":{"operationId":"onWalletWithdrawalCreated","summary":"wallet_withdrawal.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"wallet_withdrawal.payment_processed":{"post":{"operationId":"onWalletWithdrawalPaymentProcessed","summary":"wallet_withdrawal.payment_processed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.fx_excess_owed":{"post":{"operationId":"onPayoutFxExcessOwed","summary":"A destinationAmount payout was paid, and the provider's buffer above what the conversion needed is credited against SET's fee on the customer's next payouts: fxExcess.owed, in USD.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.funding_sent":{"post":{"operationId":"onPayoutFundingSent","summary":"The issuer topped up an underfunded payout from its wallet (POST /v1/payouts/{payout}/fund).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.underfunded":{"post":{"operationId":"onPayoutUnderfunded","summary":"The rate moved past the provider's buffer; underfundedBy is the shortfall.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"recipient.created":{"post":{"operationId":"onRecipientCreated","summary":"recipient.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"recipient.disabled":{"post":{"operationId":"onRecipientDisabled","summary":"recipient.disabled","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"recipient.payee_details_given":{"post":{"operationId":"onRecipientPayeeDetailsGiven","summary":"The payee entered their own EUR or GBP bank details from the link (destination.detailsFrom payee): detailsGiven true and the payee check. Never the details.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"recipient.payee_checked":{"post":{"operationId":"onRecipientPayeeChecked","summary":"The receiving bank's answer to an EUR or GBP payee name check, once a pending check completed. matchLevel only; never the bank's name.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"outflow.threshold_reached":{"post":{"operationId":"onOutflowThresholdReached","summary":"The rolling 24-hour outflow reached your alert's base × percent (POST /v1/outflow_alert). Once per crossing.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"asset_policy.updated":{"post":{"operationId":"onAssetPolicyUpdated","summary":"Your asset policy changed.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"incident.opened":{"post":{"operationId":"onIncidentOpened","summary":"SET opened an incident on its status page: the incident as the status page shows it (title, impact, services, state, times) and the update that opened it. Sent to every business.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"incident.updated":{"post":{"operationId":"onIncidentUpdated","summary":"SET posted an update to an open incident, or reopened a resolved one.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"incident.resolved":{"post":{"operationId":"onIncidentResolved","summary":"SET resolved an incident, or posted one already resolved.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"asset.status_changed":{"post":{"operationId":"onAssetStatusChanged","summary":"SET's operator recorded a new issuer status for an asset in the register: the asset as GET /v1/assets shows it, with previousStatus. Sent to every business.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_payment.screened":{"post":{"operationId":"onCashOutPaymentScreened","summary":"The wallet that paid this Cash-Out Address was screened. senderScreening: clear or under_review, screened against OFAC's list of sanctioned digital-currency addresses (ofac_sdn); not_screened only when no source could answer (SET is reviewing this wallet; it says nothing more, on any SET-Version).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"conversion_payment.screened":{"post":{"operationId":"onConversionPaymentScreened","summary":"The wallet that paid this Conversion Address was screened.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"restriction.placed":{"post":{"operationId":"onRestrictionPlaced","summary":"You restricted a subject of your own. A restriction SET places sends no event.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"restriction.lifted":{"post":{"operationId":"onRestrictionLifted","summary":"You lifted a restriction you placed. A restriction SET lifts sends no event.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"restriction.payment_flagged":{"post":{"operationId":"onRestrictionPaymentFlagged","summary":"A payment arrived from a restricted party. action: return_required (send it back), held, or no_return_path.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.late":{"post":{"operationId":"onPayoutLate","summary":"Unpaid after 2 US business days. wallet_withdrawal.late, transfer.late and cash_out_payment.late likewise.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"wallet_withdrawal.late":{"post":{"operationId":"onWalletWithdrawalLate","summary":"wallet_withdrawal.late","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"transfer.late":{"post":{"operationId":"onTransferLate","summary":"transfer.late","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_payment.late":{"post":{"operationId":"onCashOutPaymentLate","summary":"cash_out_payment.late","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.created":{"post":{"operationId":"onPayoutCreated","summary":"payout.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.payment_processed":{"post":{"operationId":"onPayoutPaymentProcessed","summary":"payout.<state> for every state.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.delivered":{"post":{"operationId":"onPayoutDelivered","summary":"A crypto payout confirmed on chain (live).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.create_failed":{"post":{"operationId":"onPayoutCreateFailed","summary":"payout.create_failed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.rerouted":{"post":{"operationId":"onPayoutRerouted","summary":"A bank payout with fallback \"wallet\" was refused or returned; data.reroute names the leg (wallet), the reason and the new payout (fallbackOf on it).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"transfer.created":{"post":{"operationId":"onTransferCreated","summary":"transfer.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"transfer.payment_processed":{"post":{"operationId":"onTransferPaymentProcessed","summary":"transfer.<state> for every state.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"transfer.create_failed":{"post":{"operationId":"onTransferCreateFailed","summary":"transfer.create_failed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"transfer.trade_executed":{"post":{"operationId":"onTransferTradeExecuted","summary":"transfer.trade_executed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout_batch.created":{"post":{"operationId":"onPayoutBatchCreated","summary":"payout_batch.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout_batch.submitted":{"post":{"operationId":"onPayoutBatchSubmitted","summary":"payout_batch.submitted","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout_batch.completed":{"post":{"operationId":"onPayoutBatchCompleted","summary":"payout_batch.completed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"refund.created":{"post":{"operationId":"onRefundCreated","summary":"refund.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_payment.succeeded":{"post":{"operationId":"onCardPaymentSucceeded","summary":"A card payment succeeded (a business account).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"accounting.connected":{"post":{"operationId":"onAccountingConnected","summary":"A merchant connected QuickBooks or Xero.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"close.exception.opened":{"post":{"operationId":"onCloseExceptionOpened","summary":"SET Close found a payment whose records are missing or disagree (ids, reason and variance only).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"close.exception.resolved":{"post":{"operationId":"onCloseExceptionResolved","summary":"An exception was linked, ignored or left open with a note.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"close.period.prepared":{"post":{"operationId":"onClosePeriodPrepared","summary":"close.period.prepared","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"close.period.locked":{"post":{"operationId":"onClosePeriodLocked","summary":"A period locked; carries its snapshotHash and priorHash.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"close.week.prepared":{"post":{"operationId":"onCloseWeekPrepared","summary":"close.week.prepared","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"close.week.signed":{"post":{"operationId":"onCloseWeekSigned","summary":"A week was signed; carries its snapshotHash and priorHash.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"close.position.mismatch":{"post":{"operationId":"onClosePositionMismatch","summary":"A wallet's provider balance and chain balance disagreed (wallet, block and variance only).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"close.position.noted":{"post":{"operationId":"onClosePositionNoted","summary":"A balance mismatch was given a note.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"journal_entry.posted":{"post":{"operationId":"onJournalEntryPosted","summary":"A journal entry was posted to the connected ledger.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"return_addresses.updated":{"post":{"operationId":"onReturnAddressesUpdated","summary":"return_addresses.updated","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"webhook_endpoint.updated":{"post":{"operationId":"onWebhookEndpointUpdated","summary":"webhook_endpoint.updated","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"webhook_endpoint.created":{"post":{"operationId":"onWebhookEndpointCreated","summary":"webhook_endpoint.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"webhook_endpoint.deleted":{"post":{"operationId":"onWebhookEndpointDeleted","summary":"webhook_endpoint.deleted","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"webhook_endpoint.secret_rotated":{"post":{"operationId":"onWebhookEndpointSecretRotated","summary":"webhook_endpoint.secret_rotated","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"webhook_endpoint.disabled":{"post":{"operationId":"onWebhookEndpointDisabled","summary":"SET stopped sending to an endpoint that failed every delivery for a day and 20 times in a row; set its URL again to resume. Events stay listed.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"api_key.created":{"post":{"operationId":"onApiKeyCreated","summary":"api_key.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"api_key.revoked":{"post":{"operationId":"onApiKeyRevoked","summary":"api_key.revoked","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"api_key.allowed_cidrs_changed":{"post":{"operationId":"onApiKeyAllowedCidrsChanged","summary":"api_key.allowed_cidrs_changed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"data_request.received":{"post":{"operationId":"onDataRequestReceived","summary":"data_request.received","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"kickback.accrued":{"post":{"operationId":"onKickbackAccrued","summary":"Last month's fee share statement.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"kickback.paid":{"post":{"operationId":"onKickbackPaid","summary":"SET paid it (see the payout).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"kickback.awaiting_destination":{"post":{"operationId":"onKickbackAwaitingDestination","summary":"kickback.awaiting_destination","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"kickback.awaiting_funds":{"post":{"operationId":"onKickbackAwaitingFunds","summary":"kickback.awaiting_funds","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"customer.closed":{"post":{"operationId":"onCustomerClosed","summary":"POST /v1/customers/{id}/close finished.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"customer.requirements_due":{"post":{"operationId":"onCustomerRequirementsDue","summary":"The requirement names the provider lists as due changed (names only, never values).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"rfi.created":{"post":{"operationId":"onRfiCreated","summary":"The provider raised a request for information (ids, state and answer types; read it with GET /v1/customers/{id}/rfis).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cash_out_address.retired":{"post":{"operationId":"onCashOutAddressRetired","summary":"Retired when its customer was closed.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_account.created":{"post":{"operationId":"onCardAccountCreated","summary":"card_account.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_account.frozen":{"post":{"operationId":"onCardAccountFrozen","summary":"card_account.frozen","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_account.unfrozen":{"post":{"operationId":"onCardAccountUnfrozen","summary":"card_account.unfrozen","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_account.closed":{"post":{"operationId":"onCardAccountClosed","summary":"card_account.closed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.return_requested":{"post":{"operationId":"onDepositReturnRequested","summary":"A platform asked the provider to send a deposit back; deposit_return.<state> follows.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit_return.payment_processed":{"post":{"operationId":"onDepositReturnPaymentProcessed","summary":"deposit_return.<state> for every state.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"static_memo.created":{"post":{"operationId":"onStaticMemoCreated","summary":"static_memo.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"static_memo_deposit.payment_processed":{"post":{"operationId":"onStaticMemoDepositPaymentProcessed","summary":"static_memo_deposit.<state> for every state.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cop_payin.created":{"post":{"operationId":"onCopPayinCreated","summary":"cop_payin.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"static_template.created":{"post":{"operationId":"onStaticTemplateCreated","summary":"static_template.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"static_template.canceled":{"post":{"operationId":"onStaticTemplateCanceled","summary":"static_template.canceled","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"static_template_transfer.payment_processed":{"post":{"operationId":"onStaticTemplateTransferPaymentProcessed","summary":"static_template_transfer.<state> for every state.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"cop_payin.payment_processed":{"post":{"operationId":"onCopPayinPaymentProcessed","summary":"cop_payin.<state> for every state.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"onboarding_session.submitted":{"post":{"operationId":"onOnboardingSessionSubmitted","summary":"The customer sent its details from the white-label page (never the details themselves).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"ping":{"post":{"operationId":"onPing","summary":"From POST /v1/webhook_test.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.pending_approval":{"post":{"operationId":"onPayoutPendingApproval","summary":"Waits for a key with the approve scope.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.approved":{"post":{"operationId":"onPayoutApproved","summary":"payout.approved","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.rejected":{"post":{"operationId":"onPayoutRejected","summary":"payout.rejected","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.scheduled":{"post":{"operationId":"onPayoutScheduled","summary":"Waits for its scheduleAt.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.canceled":{"post":{"operationId":"onPayoutCanceled","summary":"Canceled before it was sent.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.pending_review":{"post":{"operationId":"onPayoutPendingReview","summary":"Held by SET's checks before sending; SET releases or refuses it.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.released":{"post":{"operationId":"onPayoutReleased","summary":"SET released it; it is sent now.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.refused":{"post":{"operationId":"onPayoutRefused","summary":"SET refused it; nothing was sent.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment_reference.created":{"post":{"operationId":"onPaymentReferenceCreated","summary":"payment_reference.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment_reference.matched":{"post":{"operationId":"onPaymentReferenceMatched","summary":"A Cash-Out payment of exactly the payable amount reached the address; cashOutPayment names it.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment_reference.underpaid":{"post":{"operationId":"onPaymentReferenceUnderpaid","summary":"A payment of the order's amount without its full tag (or set by hand below it); shortBy says how much.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment_reference.overpaid":{"post":{"operationId":"onPaymentReferenceOverpaid","summary":"Above the payable amount; overBy says how much.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment_reference.expired":{"post":{"operationId":"onPaymentReferenceExpired","summary":"No payment settled it before expiresAt; its payable amount is free again.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment_reference.canceled":{"post":{"operationId":"onPaymentReferenceCanceled","summary":"payment_reference.canceled","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout_schedule.created":{"post":{"operationId":"onPayoutScheduleCreated","summary":"payout_schedule.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout_schedule.skipped":{"post":{"operationId":"onPayoutScheduleSkipped","summary":"A run made no payout; see problem.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout_schedule.completed":{"post":{"operationId":"onPayoutScheduleCompleted","summary":"Its last payout was made.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout_schedule.canceled":{"post":{"operationId":"onPayoutScheduleCanceled","summary":"payout_schedule.canceled","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"api_key.rotated":{"post":{"operationId":"onApiKeyRotated","summary":"A key was rotated (POST /v1/api_keys/{key}/rotate): the old key's id and prefix, the new key's (rotatedTo) and when the old one stops. Never a key.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_payment.processing":{"post":{"operationId":"onCardPaymentProcessing","summary":"card_payment.<state> for every state but pending.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_payment.failed":{"post":{"operationId":"onCardPaymentFailed","summary":"card_payment.failed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_payment.canceled":{"post":{"operationId":"onCardPaymentCanceled","summary":"card_payment.canceled","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_payment.refunded":{"post":{"operationId":"onCardPaymentRefunded","summary":"Some or all of a card payment was refunded: refundedNow and fullyRefunded.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_payment.fee_refunded":{"post":{"operationId":"onCardPaymentFeeRefunded","summary":"SET's fee on a card payment came back with a refund: feeRefundedNow.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"card_payment.dispute.needs_response":{"post":{"operationId":"onCardPaymentDisputeNeedsResponse","summary":"card_payment.dispute.<status> each time the card processor reports a dispute's status changed (disputeStatus on the card payment).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"close.post.failed":{"post":{"operationId":"onClosePostFailed","summary":"SET Close could not post a journal entry to the connected ledger; it is retried (POST /v1/accounting/entries/{entry}/retry).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.chain_mismatch":{"post":{"operationId":"onDepositChainMismatch","summary":"Live: the chain shows a delivery that does not match the deposit.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.chain_failed":{"post":{"operationId":"onDepositChainFailed","summary":"Live: the delivery failed on chain.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"conversion_payment.delivered":{"post":{"operationId":"onConversionPaymentDelivered","summary":"The chain agrees (live).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"conversion_payment.chain_mismatch":{"post":{"operationId":"onConversionPaymentChainMismatch","summary":"conversion_payment.chain_mismatch","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"conversion_payment.chain_failed":{"post":{"operationId":"onConversionPaymentChainFailed","summary":"conversion_payment.chain_failed","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.chain_mismatch":{"post":{"operationId":"onPayoutChainMismatch","summary":"Live: the chain shows a delivery that does not match the crypto payout.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.chain_failed":{"post":{"operationId":"onPayoutChainFailed","summary":"Live: the crypto payout failed on chain.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"invoice.created":{"post":{"operationId":"onInvoiceCreated","summary":"invoice.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"invoice.short":{"post":{"operationId":"onInvoiceShort","summary":"Paid in part.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"invoice.paid":{"post":{"operationId":"onInvoicePaid","summary":"Paid in full.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"invoice.over":{"post":{"operationId":"onInvoiceOver","summary":"Paid more than the amount.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"invoice.voided":{"post":{"operationId":"onInvoiceVoided","summary":"invoice.voided","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"invoice_schedule.created":{"post":{"operationId":"onInvoiceScheduleCreated","summary":"invoice_schedule.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"invoice_schedule.invoiced":{"post":{"operationId":"onInvoiceScheduleInvoiced","summary":"A recurring schedule issued its period's invoice.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"invoice_schedule.canceled":{"post":{"operationId":"onInvoiceScheduleCanceled","summary":"invoice_schedule.canceled","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"journal_entry.created":{"post":{"operationId":"onJournalEntryCreated","summary":"A balanced journal entry was recorded (GET /v1/journal_entries).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment.matched":{"post":{"operationId":"onPaymentMatched","summary":"A payment was matched to an invoice (by its amount tag, a claim, or by hand).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment.unmatched":{"post":{"operationId":"onPaymentUnmatched","summary":"A payment no invoice matched.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment_link.created":{"post":{"operationId":"onPaymentLinkCreated","summary":"payment_link.created","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payment_link.deactivated":{"post":{"operationId":"onPaymentLinkDeactivated","summary":"payment_link.deactivated","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"treasury_rule.updated":{"post":{"operationId":"onTreasuryRuleUpdated","summary":"A wallet's balance floor and sweep rule was set (PUT /v1/wallets/{id}/treasury).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"treasury_rule.deleted":{"post":{"operationId":"onTreasuryRuleDeleted","summary":"treasury_rule.deleted","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"treasury_sweep.created":{"post":{"operationId":"onTreasurySweepCreated","summary":"A sweep moved a wallet's balance above its floor.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.created":{"post":{"operationId":"onEscrowCreated","summary":"An escrow was opened; data names its Safe.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.accepted":{"post":{"operationId":"onEscrowAccepted","summary":"Every party accepted the terms.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.funded":{"post":{"operationId":"onEscrowFunded","summary":"The Safe holds the escrow's amount (source chain or simulator).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.milestone_submitted":{"post":{"operationId":"onEscrowMilestoneSubmitted","summary":"The seller submitted a milestone with an evidence hash.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.release_proposed":{"post":{"operationId":"onEscrowReleaseProposed","summary":"A milestone's release was proposed for the owners to sign.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.refund_proposed":{"post":{"operationId":"onEscrowRefundProposed","summary":"A refund to the buyer was proposed for the owners to sign.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.proposal_ready":{"post":{"operationId":"onEscrowProposalReady","summary":"Two owners signed a proposal; any party may broadcast it.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.milestone_released":{"post":{"operationId":"onEscrowMilestoneReleased","summary":"A milestone's release executed on chain.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.refunded":{"post":{"operationId":"onEscrowRefunded","summary":"A refund executed on chain.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.proposal_failed":{"post":{"operationId":"onEscrowProposalFailed","summary":"A proposal's Safe transaction executed but its transfer failed; the nonce is spent.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.disputed":{"post":{"operationId":"onEscrowDisputed","summary":"The buyer or seller raised a dispute.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.cancelled":{"post":{"operationId":"onEscrowCancelled","summary":"An unfunded escrow was cancelled.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"escrow.completed":{"post":{"operationId":"onEscrowCompleted","summary":"Every milestone is released or refunded.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"prefunding.advance_requested":{"post":{"operationId":"onPrefundingAdvanceRequested","summary":"The seller assigned a milestone's payout to a provider; the payout is locked.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"prefunding.advance_declined":{"post":{"operationId":"onPrefundingAdvanceDeclined","summary":"The provider declined; the milestone's payout is the seller's again.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"prefunding.advance_disbursed":{"post":{"operationId":"onPrefundingAdvanceDisbursed","summary":"The provider disbursed the advance (simulator in the sandbox).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"prefunding.advance_cancelled":{"post":{"operationId":"onPrefundingAdvanceCancelled","summary":"The advance was cancelled before disbursement; the payout is the seller's again.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"prefunding.advance_repaid":{"post":{"operationId":"onPrefundingAdvanceRepaid","summary":"The milestone's release paid the provider's repayment address.","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"deposit.reorg_resolved":{"post":{"operationId":"onDepositReorgResolved","summary":"SET's operator resolved a deposit in reorg_review: reorgResolution.resolution reconfirmed (finalityStatus finalized on the canonical transaction, read on chain; delivered true) or failed_orphaned (finalityStatus reorg_failed; never delivered).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"payout.reorg_resolved":{"post":{"operationId":"onPayoutReorgResolved","summary":"SET's operator resolved a crypto payout in reorg_review: reconfirmed on chain proof (finalized, delivered) or failed_orphaned (reorg_failed, not delivered).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}},"transfer.reorg_resolved":{"post":{"operationId":"onTransferReorgResolved","summary":"SET's operator resolved a wire in's USDC delivery in reorg_review: reconfirmed on chain proof (finalized) or failed_orphaned (reorg_failed).","parameters":[{"name":"SET-Signature","in":"header","required":true,"description":"t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\"> under the endpoint's signing secret; during a secret rotation a second v1 (the previous secret's) is added for 24 hours. SET's verifiers (sdk/webhooks) refuse a t more than 5 minutes from now by default.","schema":{"type":"string","pattern":"^t=[0-9]+(,v1=[0-9a-f]{64})+$"}},{"name":"SET-Signature-Ed25519","in":"header","required":false,"description":"When SET signs records (B-14): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with the key at /.well-known/set-signing-keys.json.","schema":{"type":"string","pattern":"^t=[0-9]+,kid=[^,]+,v1=[A-Za-z0-9_-]+$"}}],"description":"Signed: SET-Signature-Ed25519 (B-14, when SET signs records): t=<unix seconds>,kid=<SET key id>,v1=<base64url Ed25519 of \"<t>.<raw body>\">, verified with /.well-known/set-signing-keys.json. And SET-Signature: t=<unix seconds>,v1=<hex HMAC-SHA256 of \"<t>.<raw body>\">; during a secret rotation a second v1 is added. Delivery is at least once: deduplicate on id.","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Event"}}}},"responses":{"200":{"description":"Answer 2xx; anything else is retried (1 minute, doubling, at most a day apart, 15 tries)."}}}}},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"set_live_ or set_test_ followed by 32–64 characters. Shown once. On /api/partner/* calls the key needs the direct_deposit scope (and write to write); a key of the other mode answers 401 api_key_wrong_mode."}},"headers":{"SET-Version":{"description":"The SET-Version this answer follows.","schema":{"type":"string","enum":["2026-11-09","2026-11-13","2026-11-23"]}},"Request-Id":{"description":"req_…, unique to this answer; every error body's requestId is the same. Quote it to SET support.","schema":{"type":"string","pattern":"^req_[0-9a-f]{32}$"}},"RateLimit-Limit":{"description":"Requests a minute this key may make of the kind this one is: the per-key limit, or for a write the write limit when it is the tighter. On every answer to a key SET knows.","schema":{"type":"integer","minimum":0}},"RateLimit-Remaining":{"description":"SET's own count of what is left of RateLimit-Limit in the current minute (0 on a 429). The limiter itself counts per location, so a 429 can come a little before or after 0.","schema":{"type":"integer","minimum":0}},"RateLimit-Reset":{"description":"Seconds until the current minute's window ends.","schema":{"type":"integer","minimum":0}},"Retry-After":{"description":"429 only: seconds to wait before trying again.","schema":{"type":"integer","minimum":0}},"RateLimit-Policy":{"description":"429 only: the limits, as <requests>;w=<seconds> (for /v1, the per-key and the write limit).","schema":{"type":"string"}},"Idempotent-Replayed":{"description":"\"true\" when this POST or PUT repeated an Idempotency-Key with the same body. Absent otherwise.","schema":{"type":"string","const":"true"}}},"parameters":{"SetVersion":{"name":"SET-Version","in":"header","required":false,"description":"Pin the API version. With no header a request follows its key's pin (a key follows the SET-Version current when it was issued; a SET Direct Deposit partner key issued before 2026-11-13, or a previous key kept through rotation, follows 2026-11-09). An unknown version is refused with 400 version_unsupported before anything runs.","schema":{"type":"string","enum":["2026-11-09","2026-11-13","2026-11-23"]}},"IdempotencyKey":{"name":"Idempotency-Key","in":"header","required":false,"description":"1–255 visible ASCII characters, scoped to your key, the method and the path, and remembered for 24 hours. The same key with the same body again is answered with Idempotent-Replayed: true. The money-movement creates (POST /v1/payouts, /v1/payout_batches, /v1/transfers, /v1/wallets/{id}/withdrawals, /v1/wallets/{id}/sweeps and /v1/payment_setups) keep their first successful answer for 24 hours and replay it byte for byte, status included, without running again, unless that answer carried bank details or personal data (a wire-in's or a payment setup's deposit instructions), which are never stored. Every other create is content-idempotent, so the request runs again and returns the same object (the staging sandbox routes, a SET Close source and a Close file upload store their first answer and return it). A refusal (4xx) is not replayed: after you fix its cause, the same key runs again. The same key with a different body is 422 idempotency_key_reused; a repeat while the first is still running is 409 idempotency_key_in_progress. A 5xx frees the key for a retry.","schema":{"type":"string","minLength":1,"maxLength":255,"pattern":"^[!-~]{1,255}$"}}},"responses":{"ProblemOutsideCryptoSuite":{"description":"An error, as Problem. A SET Crypto API Suite key is refused this call with 403 crypto_suite_call_not_included: it is part of the SET API, not the suite.","headers":{"Request-Id":{"$ref":"#/components/headers/Request-Id"},"SET-Version":{"$ref":"#/components/headers/SET-Version"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Problem"}}}},"Problem":{"description":"An error: {error, message, requestId, details?}. Request-Id and SET-Version always; the RateLimit headers for a key SET knows; a 429 also carries Retry-After and RateLimit-Policy.","headers":{"Request-Id":{"$ref":"#/components/headers/Request-Id"},"SET-Version":{"$ref":"#/components/headers/SET-Version"},"RateLimit-Limit":{"$ref":"#/components/headers/RateLimit-Limit"},"RateLimit-Remaining":{"$ref":"#/components/headers/RateLimit-Remaining"},"RateLimit-Reset":{"$ref":"#/components/headers/RateLimit-Reset"},"Retry-After":{"$ref":"#/components/headers/Retry-After"},"RateLimit-Policy":{"$ref":"#/components/headers/RateLimit-Policy"}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Problem"}}}}},"schemas":{"ErrorCode":{"type":"string","description":"A stable, machine-readable SET API error code (mirrors sdk/error-codes.json). New codes may be added without a version bump.","enum":["acceptance_needs_a_person","account_conflict","account_invalid","account_limit_reached","account_type_invalid","accounting_connectors_off","accounting_merchant_only","accounting_not_connected","accounting_reauthorize","accounting_unavailable","acknowledge_invalid","action_invalid","activity_unknown","actor_invalid","address_invalid","address_unknown","address_watched","advance_disbursed","advance_not_requested","advance_pending","advance_unknown","after_invalid","allowed_invalid","already_paid","amount_invalid","amount_out_of_range","amount_too_small","amount_unknown","amounts_invalid","api_disabled","api_invalid","api_key_already_rotated","api_key_expired","api_key_inactive","api_key_invalid","api_key_required","api_key_unknown","api_key_wrong_mode","approval_invalid","approver_is_requester","asset_invalid","asset_not_allowed","asset_not_permitted","asset_retired","asset_unknown","balance_not_stated","balance_too_low","bank_account_already_linked","bank_account_conflict","bank_account_invalid","bank_account_required","bank_account_unknown","bank_currency_mismatch","bank_details_refused","base_invalid","batch_busy","batch_full","batch_moved","batch_not_approved","batch_not_pending_approval","batch_too_large","batch_unknown","batched_settlement_unavailable","before_start_period","before_start_week","below_minimum","beneficiary_invalid","body_invalid","card_payment_fully_refunded","card_payment_not_refundable","card_payment_unknown","card_payments_merchant_only","card_required","cash_out_address_conflict","cash_out_address_exists","cash_out_address_in_wallet","cash_out_address_invalid","cash_out_address_mismatch","cash_out_address_missing","cash_out_address_pays_recipient","cash_out_address_retired","cash_out_address_unknown","cash_out_payment_unknown","chain_invalid","chain_unavailable","chain_unreadable","charge_bearer_invalid","cidrs_invalid","claim_needs_base","claim_not_applicable","clear_invalid","clear_unsupported","close_budget_reached","close_imports_unavailable","close_off","close_positions_unavailable","close_sources_full","close_watch_off","close_watch_unavailable","colors_invalid","company_invalid","compliance_profile_invalid","conversion_address_conflict","conversion_address_invalid","conversion_address_not_supported","conversion_address_unknown","conversion_payment_unknown","cop_payin_refused","cop_payin_unknown","count_invalid","country_invalid","country_unsupported","created_after_invalid","created_before_invalid","created_since_invalid","currency_invalid","currency_mismatch","currency_not_supported","currency_required","cursor_conflict","cursor_invalid","custodial_wallets_disabled","customer_already_created","customer_closed","customer_invalid","customer_not_created","customer_on_hosted_link","customer_required","customer_scope","customer_type_conflict","customer_unknown","date_invalid","deposit_not_ready","deposit_not_returnable","deposit_return_unknown","deposit_unknown","description_invalid","description_required","destination_amount_invalid","destination_amount_not_supported","destination_invalid","destination_refused","details_already_given","details_from_invalid","details_from_not_offered","details_not_from_payee","direct_deposit_disabled","dry_run_not_supported","due_at_invalid","due_days_invalid","email_already_onboarded","email_invalid","endorsement_invalid","endorsement_required","endorsements_invalid","endpoint_invalid","endpoint_limit","entry_not_failed","escrow_disabled","escrow_funded","escrow_invalid","escrow_not_accepted","escrow_not_awaiting_acceptance","escrow_not_funded","escrow_off","escrow_unknown","event_unknown","events_invalid","every_invalid","evidence_hash_invalid","expanded_routes_off","expires_at_invalid","expires_invalid","external_id_in_use","external_id_invalid","external_id_repeated","external_id_taken","fallback_invalid","fallback_unavailable","fallback_wallet_invalid","fednow_disabled","fednow_not_supported","fee_credit_changed","fee_share_payout_retired","fee_tx_hash_invalid","fee_tx_not_final","fee_tx_too_early","field_not_used","filename_invalid","fixed_output_payouts_disabled","format_invalid","frame_ancestors_invalid","from_address_invalid","from_block_invalid","from_seal_invalid","funding_already_sent","group_by_invalid","hold_check_unavailable","id_strategy_invalid","idempotency_key_in_progress","idempotency_key_invalid","idempotency_key_reused","import_too_large","include_invalid","initiation_required","intent_closed","intent_unknown","internal_error","interval_invalid","invoice_amount_mismatch","invoice_card_only","invoice_currency_mismatch","invoice_currency_not_card","invoice_elsewhere","invoice_invalid","invoice_not_open","invoice_number_taken","invoice_payer_unavailable","invoice_schedule_unknown","invoice_settled","invoice_unknown","invoices_merchant_only","ip_not_allowed","issued_at_invalid","items_invalid","key_changed","key_not_current","key_unknown","kickbacks_platform_only","kind_invalid","kyb_incomplete","kyb_invalid","kyb_refused","label_invalid","ledger_side_invalid","limit_invalid","location_not_supported","lock_invalid","log_invalid","match_changed","max_rate_drift_invalid","max_rate_drift_not_applicable","memo_invalid","merchant_name_mismatch","merchant_no_direct_deposit","merchant_no_senders","merchant_single_customer","metadata_invalid","method_not_allowed","milestone_already_pledged","milestone_not_open","milestone_not_submitted","milestone_pledged","milestone_settled","milestone_unknown","milestones_invalid","month_in_future","month_invalid","movement_unknown","multichain_unavailable","name_invalid","network_invalid","not_a_business","not_a_mismatch","not_an_exception","not_an_owner","not_found","note_invalid","note_required","nothing_to_refund","nothing_to_set","nothing_to_simulate","number_invalid","number_prefix_invalid","object_invalid","object_unknown","onboarding_session_unknown","operator_cannot_approve","operator_cannot_issue","operator_cannot_pay_out","operator_cannot_refund","operator_cannot_rotate","operator_cannot_withdraw","outcome_invalid","overlap_invalid","ownership_verified_at_invalid","pair_unsupported","partner_key_invalid","partner_key_required","partner_required","party_invalid","pay_invalid","payable_amount_exhausted","payable_email_disabled","payable_email_merchant","payable_email_off","payee_bank_details_disabled","payee_cap_reached","payee_details_missing","payee_invalid","payee_not_payable","payee_not_ready","payee_not_verified","payee_unknown","payer_unknown","payers_disabled","payers_merchant_only","payload_too_large","payment_card","payment_elsewhere","payment_failed","payment_link_unknown","payment_links_merchant_only","payment_matched","payment_mismatch","payment_not_claimable","payment_not_found","payment_not_waiting","payment_reference_closed","payment_reference_payer_unavailable","payment_reference_unknown","payment_references_platform_only","payment_taken","payment_unknown","payout_batch_unknown","payout_final","payout_moved","payout_not_underfunded","payout_schedule_unknown","payout_unknown","payouts_unavailable","percent_invalid","period_changed","period_invalid","period_locked","period_not_ended","period_not_locked","period_not_prepared","plan_invalid","platform_api_paused","platform_details_incomplete","platform_fee_at_address","platform_fee_invalid","platform_fee_not_allowed","platform_fee_too_high","platform_funds_not_allowed","policy_refused","post_on_invalid","prefunding_disabled","prefunding_off","previous_key_unknown","prior_period_open","prior_week_open","product_invalid","prohibited_activity","proof_invalid","proof_message_invalid","proof_not_from_wallet","proposal_closed","proposal_not_ready","proposal_open","proposal_unknown","provider_declined","provider_invalid","provider_refused","provider_refused_cancel","provider_unavailable","provider_unknown","public_key_invalid","quote_already_used","quote_expired","quote_invalid","quote_mismatch","quote_not_applicable","quote_not_locked","quote_unknown","rail_currency_mismatch","rail_invalid","rate_limited","rate_limiter_unavailable","rate_lock_not_supported","rate_unavailable","reason_invalid","reasons_invalid","recipient_disabled","recipient_incomplete","recipient_invalid","recipient_is_customer","recipient_other_customer","recipient_unknown","recipients_unavailable","record_in_use","record_invalid","record_slot_filled","redirect_uri_invalid","redirect_url_invalid","reference_invalid","reference_not_supported","reference_repeated","reference_unknown","references_unconfigured","refund_exceeds_payment","refund_unknown","refunds_merchant_only","report_overlap","request_signature_expired","request_signature_invalid","request_signature_required","require_match_invalid","require_match_not_applicable","require_permitted_issuer_from_invalid","required_invalid","responses_invalid","restricted","restriction_check_unavailable","restriction_set_by_set","restriction_subject_unknown","restriction_unknown","return_address_invalid","return_address_required","return_conflict","return_currency_not_supported","return_exists","return_policy_missing","return_rail_not_supported","return_refused","return_window_passed","revenue_share_retired","revoke_self","rfi_closed","rfi_unknown","role_unknown","rotation_in_progress","route_not_supported","same_approver","sandbox_keys_exhausted","sandbox_limit","scenario_active","scenario_not_active","scenario_unknown","schedule_at_invalid","scope_exceeds_caller","scope_missing","scopes_invalid","screening_unavailable","self_custody_disabled","self_custody_winding_down","sender_invalid","sender_not_named","sender_not_needed","sender_required","sender_taken","sender_type_invalid","sender_unknown","sender_unregistered","sender_wallet_unknown","set_connect_account_changed","set_connect_not_linked","set_connect_not_ready","set_connect_unavailable","set_fee_missing","settle_route_not_supported","settlement_invalid","settlement_rail_not_supported","signature_expired","signature_invalid","signature_not_a_party","signature_not_an_owner","signature_not_from_wallet","signature_not_seller","signed_agreement_required","signing_key_exists","since_invalid","source_invalid","source_kind_invalid","source_label_invalid","source_not_uploadable","stablecoin_invalid","stage_unconfigured","start_at_invalid","start_period_invalid","starting_after_invalid","state_invalid","statement_building","statement_conflict","statement_too_large","statement_unknown","static_memo_conflict","static_memo_deposit_unknown","static_memo_invalid","static_memo_refused","static_memo_unknown","static_template_canceled","static_template_conflict","static_template_invalid","static_template_refused","static_template_transfer_unknown","static_template_unknown","stripe_refused","stripe_unavailable","subject_invalid","swift_reference_invalid","sync_from_invalid","tax_forms_off","time_invalid","timestamp_invalid","to_invalid","too_many_keys","trade_not_pending","transfer_not_executable","transfer_unknown","travel_rule_incomplete","travel_rule_invalid","travel_rule_key_missing","treasury_plan_required","tx_already_claimed","tx_already_reported","tx_hash_invalid","type_invalid","url_invalid","verification_incomplete","virtual_account_deactivated","virtual_account_inactive","virtual_account_invalid","virtual_account_unknown","wallet_balance_remaining","wallet_balance_too_low","wallet_invalid","wallet_not_active","wallet_provider_unavailable","wallet_type_invalid","wallet_unknown","wallet_unregistered","watch_stopped","watched_addresses_full","way_invalid","webhook_endpoint_unknown","webhook_url_invalid","webhook_url_missing","webhooks_unconfigured","week_changed","week_not_ended","week_not_prepared","week_not_signed","week_signed","window_invalid","window_too_long","withdrawal_in_flight","would_lock_out","year_invalid"]},"Problem":{"type":"object","description":"An error. error is stable; message is for people; requestId equals the Request-Id header.","properties":{"error":{"anyOf":[{"$ref":"#/components/schemas/ErrorCode"},{"type":"string"}],"description":"A stable, machine-readable code, such as amount_invalid or partner_key_invalid. Known codes are listed in ErrorCode (sdk/error-codes.json); clients should still handle unknown future codes."},"message":{"type":"string","description":"What to do, in words."},"requestId":{"type":"string","description":"Equal to the Request-Id header. Quote it to SET support."},"details":{"type":"array","description":"Optional: field-level reasons, when the refusal names them.","items":{"type":"object","description":"One field-level reason the request was refused.","properties":{"field":{"type":"string","description":"The request field it concerns, as a JSON path (items[2].amount); absent when it concerns no one field."},"code":{"type":"string","description":"A stable, machine-readable code for this reason."},"message":{"type":"string","description":"What to do, in words."}},"required":["message"],"additionalProperties":false}}},"required":["error","message","requestId"],"additionalProperties":true},"Event":{"type":"object","properties":{"id":{"type":"string","description":"evt_ and 32 hex characters."},"object":{"type":"string","const":"event"},"type":{"type":"string"},"api":{"type":"string","description":"Which API the event belongs to: set_api (the SET API's own objects), direct_deposit (Direct Deposit and Payable Email objects) or account (your account itself: webhook endpoints, fee share, ping). payout.* is a /v1 payout on set_api and a payee's cash-out on direct_deposit.","enum":["set_api","direct_deposit","account"]},"seq":{"type":"integer","description":"The event's place in your stream: rising, never reused. Order and resume by it; GET /v1/events?after= reads the same order."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"data":{"type":"object"},"delivery":{"type":"object","properties":{"delivered":{"type":"boolean"},"deliveredAt":{"type":["string","null"]},"attempts":{"type":"integer"},"lastStatus":{"type":["integer","null"]},"nextAttemptAt":{"type":["string","null"]},"filtered":{"type":"boolean"}},"additionalProperties":true},"endpointDeliveries":{"type":"array"},"redelivery":{"type":"string"},"webhookUrl":{"type":"string"},"deliveryState":{"type":"string"}},"additionalProperties":true,"required":["id","object","type","livemode","createdAt","data"]},"RailReference":{"type":["object","null"],"properties":{"rail":{"type":"string","description":"The rail, as the provider names it: ach, wire, sepa, faster_payments, spei, pix, fednow, …"},"traceNumber":{"type":["string","null"],"description":"ACH trace number; null when the rail has none."},"imad":{"type":["string","null"],"description":"Fedwire IMAD; null when the rail has none."},"trackingNumber":{"type":["string","null"],"description":"UETR on SWIFT, SEPA and Faster Payments; clave de rastreo on SPEI; end-to-end id on PIX. null when the rail has none."},"endToEndId":{"type":["string","null"],"description":"FedNow end-to-end id (assigned by the sending bank; not guaranteed unique). null when the rail has none."},"simulated":{"type":"boolean","description":"Staging only: written by SET's simulator, never by a bank."}},"additionalProperties":true,"description":"The bank rail's own reference for a payment, as the provider reports it once a bank payment is processed. Identifiers only. null until then, and for payments on chain or by card."},"ListPage":{"type":"object","properties":{"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"type":"object"}},"hasMore":{"type":"boolean","description":"More rows are older than this page."},"nextCreatedBefore":{"type":["string","null"],"description":"Pass back as createdBefore for the next page, unchanged: the last row's createdAt, followed by ~ and its id when the next row shares that time. null on the last page."},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"required":["object","data","hasMore","nextCreatedBefore"],"additionalProperties":true},"Metadata":{"type":"object","maxProperties":20,"propertyNames":{"pattern":"^[A-Za-z0-9_.:-]{1,40}$"},"additionalProperties":{"type":"string","maxLength":200},"description":"Your own ids, up to 20 keys. Taken by every create of a customer, virtual account, bank account, Cash-Out Address, Conversion Address, recipient or payout, and returned on each. Never personal data: a value that looks like an email, has a space, or has a number longer than 8 digits is refused."},"AuditEntry":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"audit_entry"},"actor":{"type":"object","properties":{"type":{"type":"string","enum":["key","operator"]},"key":{"type":"string","description":"The key's prefix."}},"additionalProperties":true},"method":{"type":["string","null"],"description":"null for an operator console change."},"path":{"type":["string","null"],"description":"null for an operator console change."},"action":{"type":["string","null"],"description":"An operator console change (method and path are null); null for a call with a key."},"objectId":{"type":["string","null"]},"status":{"type":"integer"},"requestId":{"type":"string"},"createdAt":{"type":"string","format":"date-time"}},"additionalProperties":true,"required":["object","id"]},"Sender":{"type":"object","properties":{"type":{"type":"string","description":"business or individual; customer when the customer paid itself (then nothing else is read).","enum":["business","individual","customer"]},"name":{"type":"string","description":"The legal name."},"legalEntityIdentifier":{"type":"string","description":"type business only: an LEI or registration number."},"address":{"type":"object","properties":{"streetLine1":{"type":"string"},"streetLine2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string","description":"State, province or region."},"postalCode":{"type":"string"},"country":{"type":"string","description":"ISO 3166-1 alpha-3, for example USA.","pattern":"^[A-Z]{3}$"}},"required":["country"],"additionalProperties":true},"proof":{"type":"object","properties":{"message":{"type":"string","description":"What GET on the same path returns."},"signature":{"type":"string","description":"The paying wallet's signature of message."}},"additionalProperties":true}},"required":["type"],"additionalProperties":true,"description":"Who paid (Travel Rule originator). type business or individual needs name and address.country (ISO 3166-1 alpha-3); type customer, nothing else.","if":{"properties":{"type":{"enum":["business","individual"]}},"required":["type"]},"then":{"required":["type","name","address"]}},"Customer":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"customer"},"externalId":{"type":"string"},"type":{"type":"string"},"status":{"type":"string"},"tosLink":{"description":"null in the example; holds a value when set."},"kycLink":{"description":"null in the example; holds a value when set."},"requirementsDue":{"type":"array"},"rejectionReasons":{"type":"array"},"endorsements":{"type":"object","properties":{"base":{"type":"string"},"sepa":{"type":"string"},"faster_payments":{"type":"string"},"spei":{"type":"string"},"pix":{"type":"string"},"cop":{"type":"string"}},"additionalProperties":true},"currencies":{"type":"array","items":{"type":"string"}},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"closedAt":{"type":["string","null"]},"metadata":{"type":"object","properties":{"platformRef":{"type":"string"},"tier":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"},"message":{"type":"string"},"changed":{"type":"boolean"},"closed":{"type":"object","properties":{"virtualAccounts":{"type":"array"},"cashOutAddresses":{"type":"array"},"recipients":{"type":"array"}},"additionalProperties":true},"wallets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"chain":{"type":"string"},"balances":{"description":"null in the example; holds a value when set."},"balanceError":{"type":"string"}},"additionalProperties":true}},"walletBalancesAcknowledged":{"type":"boolean"},"notes":{"type":"array","items":{"type":"string"}},"retention":{"type":"object","properties":{"object":{"type":"string"},"recordsYears":{"type":"integer"},"kept":{"type":"array","items":{"type":"string"}},"erased":{"type":"array"},"statement":{"type":"string"}},"additionalProperties":true},"complianceProfile":{"anyOf":[{"$ref":"#/components/schemas/ComplianceProfile"},{"type":"null"}]}},"additionalProperties":true,"required":["object","id"]},"BankAccount":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"bank_account"},"customer":{"type":"string"},"currency":{"type":"string"},"bankName":{"type":["string","null"]},"last4":{"type":["string","null"]},"active":{"type":["boolean","null"]},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","properties":{},"additionalProperties":true},"accountType":{"type":"string"},"rails":{"type":"array","items":{"type":"string"}},"payWith":{"type":"object","properties":{"rail":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"VirtualAccount":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"virtual_account"},"customer":{"type":"string"},"status":{"type":"string"},"currency":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":["string","null"]},"currency":{"type":["string","null"]},"address":{"type":"string"},"beneficiary":{"type":["string","object"]},"screening":{"type":"string"}},"additionalProperties":true},"settlesTo":{"type":["object","null"]},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"depositInstructions":{"type":["object","null"],"properties":{"bankName":{"type":"string"},"bankRoutingNumber":{"type":"string"},"bankAccountNumber":{"type":"string"},"bankBeneficiaryName":{"type":"string"},"paymentRails":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","properties":{},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"Deposit":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"deposit"},"virtualAccount":{"type":"string"},"customer":{"type":"string"},"state":{"type":"string","enum":["funds_scheduled","funds_received","in_review","payment_submitted","payment_processed","refund_in_flight","refund","refunded","refund_failed"]},"currency":{"type":"string"},"amount":{"type":["string","null"]},"developerFee":{"type":["string","null"]},"exchangeFee":{"description":"null in the example; holds a value when set."},"gasFee":{"description":"null in the example; holds a value when set."},"received":{"description":"null in the example; holds a value when set."},"asset":{"type":"string"},"destinationAddress":{"type":"string"},"txHash":{"description":"null in the example; holds a value when set."},"chainStatus":{"type":"string"},"railReference":{"$ref":"#/components/schemas/RailReference"},"delivered":{"type":"boolean"},"senderState":{"type":"string"},"restriction":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"settledAt":{"description":"null in the example; holds a value when set."},"source":{"type":"object","properties":{"paymentRail":{"type":"string"},"senderName":{"type":"string"},"description":{"description":"null in the example; holds a value when set."},"senderBankRoutingNumber":{"description":"null in the example; holds a value when set."},"traceNumber":{"description":"null in the example; holds a value when set."},"imad":{"type":"string"},"reference":{"description":"null in the example; holds a value when set."},"senderAccountLast4":{"description":"null in the example; holds a value when set."},"senderBic":{"description":"null in the example; holds a value when set."},"senderSortCode":{"description":"null in the example; holds a value when set."},"uetr":{"description":"null in the example; holds a value when set."},"paymentScheme":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"sandbox":{"type":"boolean"},"confirmations":{"type":["integer","null"],"minimum":0,"description":"Confirmations the delivery had when SET last read the chain; null until read (staging never is)."},"requiredConfirmations":{"type":["integer","null"],"minimum":1,"description":"Confirmations its chain needs before SET calls it confirmed: ethereum 12, polygon 64, base, arbitrum and optimism 10, avalanche 3, celo 6, bitcoin 3, solana 1 (finalized commitment)."},"finalityStatus":{"type":["string","null"],"enum":["pending","confirming","confirmed","finalized","reorg_review","reorg_failed",null],"description":"pending (no block yet), confirming (below requiredConfirmations), confirmed, finalized (the same block at twice the depth), or reorg_review: the confirming block is no longer the chain's; nothing moves on by itself until SET's operator reviews it. The operator resolves it finalized (reconfirmed on chain proof) or reorg_failed (the delivery is not on the chain; never delivered), with <object>.reorg_resolved."}},"additionalProperties":true,"required":["object","id"]},"Wallet":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"wallet"},"custody":{"type":"string"},"customer":{"type":"string"},"chain":{"type":"string"},"state":{"type":"string"},"address":{"type":["string","null"]},"owners":{"type":"object","properties":{"members":{"type":"array","items":{"type":"object","properties":{"member":{"type":"string"},"acceptedAt":{"type":["string","null"]}},"additionalProperties":true}},"publicKeys":{"type":"array","items":{"type":"object","properties":{"fingerprint":{"type":"string"}},"additionalProperties":true}},"threshold":{"type":"integer"}},"additionalProperties":true},"limits":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"string"}},"perPayment":{"type":["string","null"]},"perDay":{"type":["string","null"]}},"additionalProperties":true},"policy":{"type":["object","null"],"properties":{"readBack":{"type":"string"},"mismatch":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"custodyNote":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"next":{"type":"string"},"sandbox":{"type":"boolean"},"balances":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"balance":{"type":"string"},"source":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true,"required":["object","id"]},"SelfCustodyPayment":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"self_wallet_payment"},"wallet":{"type":"string"},"kind":{"type":"string"},"asset":{"type":"string"},"amount":{"type":"string"},"destination":{"type":"string"},"state":{"type":"string"},"txHash":{"type":["string","null"]},"failureCode":{"description":"null in the example; holds a value when set."},"externalId":{"type":"string"},"intent":{"type":"object","properties":{"id":{"type":"string"},"expiresAt":{"type":["string","null"]},"signingPayload":{"type":"object","properties":{"bytesBase64":{"type":"string"},"timestamp":{"type":"integer"},"payload":{"type":"object","properties":{"version":{"type":"integer"},"method":{"type":"string"},"body":{"type":"object","properties":{"source":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":"string"},"amount":{"type":"string"}},"additionalProperties":true},"destination":{"type":"object","properties":{"address":{"type":"string"}},"additionalProperties":true},"amount_type":{"type":"string"}},"additionalProperties":true},"timestamp":{"type":"integer"},"intent_id":{"type":"string"},"headers":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"screening":{"type":"string"},"next":{"type":"string"},"sandbox":{"type":"boolean"},"recipient":{"type":"string"}},"additionalProperties":true,"required":["object","id"]},"CashOutAddress":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"cash_out_address"},"customer":{"type":"string"},"bankAccount":{"type":"string"},"chain":{"type":"string"},"currency":{"type":"string"},"address":{"type":"string"},"rail":{"type":"string"},"payoutCurrency":{"type":"string"},"reference":{"description":"null in the example; holds a value when set."},"returnAddress":{"type":"string"},"returnAddressScreening":{"type":"string"},"developerFeePercent":{"type":"string"},"platformFeeBps":{"type":"integer"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"recipient":{"description":"null in the example; holds a value when set."},"settlement":{"type":"string"},"metadata":{"type":"object","properties":{},"additionalProperties":true},"minimumPayout":{"type":"string"},"networks":{"type":"array","items":{"type":"string"}},"pairs":{"type":"array","items":{"type":"object","properties":{"chain":{"type":"string"},"currency":{"type":"string"},"minimum":{"type":"string"}},"additionalProperties":true}},"networksReadAt":{"type":"string","format":"date-time"},"warning":{"type":"object","properties":{"unlisted":{"type":"string"},"noReturnAddress":{"type":"string"},"label":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"},"policyExcludes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true,"required":["object","id"]},"CashOutPayment":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"cash_out_payment"},"cashOutAddress":{"type":"string"},"customer":{"type":"string"},"state":{"type":"string","enum":["awaiting_funds","in_review","funds_received","payment_submitted","payment_processed","returned","undeliverable","missing_return_policy","error","canceled","refund_in_flight","refunded","refund_failed"]},"currency":{"type":"string"},"amount":{"type":"string"},"developerFee":{"type":"string"},"depositTxHash":{"description":"null in the example; holds a value when set."},"payoutCurrency":{"type":"string"},"paidAmount":{"type":["string","null"]},"exchangeRate":{"description":"null in the example; holds a value when set."},"paidToBank":{"type":"boolean"},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":["string","null"]},"paidAt":{"type":["string","null"]},"businessDaysToPaid":{"type":["integer","null"]},"late":{"type":"boolean"},"senderScreening":{"type":["string","null"]},"restriction":{"description":"null in the example; holds a value when set."},"railReference":{"$ref":"#/components/schemas/RailReference"},"senderState":{"type":"string"},"sourceDeposit":{"type":["string","null"]},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"settledAt":{"type":["string","null"]},"paymentReference":{"description":"null in the example; holds a value when set."},"sandbox":{"type":"boolean"},"senderAddress":{"type":"string"},"outcome":{"type":"string"},"action":{"type":"string"},"message":{"type":"string"},"confirmations":{"type":["integer","null"],"minimum":0,"description":"Confirmations the delivery had when SET last read the chain; null until read (staging never is)."},"requiredConfirmations":{"type":["integer","null"],"minimum":1,"description":"Confirmations its chain needs before SET calls it confirmed: ethereum 12, polygon 64, base, arbitrum and optimism 10, avalanche 3, celo 6, bitcoin 3, solana 1 (finalized commitment)."},"finalityStatus":{"type":["string","null"],"enum":["pending","confirming","confirmed","finalized","reorg_review","reorg_failed",null],"description":"pending (no block yet), confirming (below requiredConfirmations), confirmed, finalized (the same block at twice the depth), or reorg_review: the confirming block is no longer the chain's; nothing moves on by itself until SET's operator reviews it. The operator resolves it finalized (reconfirmed on chain proof) or reorg_failed (the delivery is not on the chain; never delivered), with <object>.reorg_resolved."}},"additionalProperties":true,"required":["object","id"]},"ConversionAddress":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"conversion_address"},"customer":{"type":"string"},"source":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":["string","null"]},"currency":{"type":["string","null"]}},"additionalProperties":true},"address":{"type":"string"},"destination":{"type":"object","properties":{"asset":{"type":"string"},"chain":{"type":["string","null"]},"currency":{"type":["string","null"]},"address":{"type":"string"},"beneficiary":{"type":"string"},"screening":{"type":"string"},"wallet":{"type":"string"}},"additionalProperties":true},"minimumUsd":{"type":["string","null"]},"returnAddress":{"type":"string"},"returnAddressScreening":{"type":"string"},"developerFeePercent":{"type":"string"},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","properties":{},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"ConversionPayment":{"type":"object","properties":{"senderScreening":{"type":["string","null"]},"id":{"type":"string"},"object":{"type":"string","const":"conversion_payment"},"conversionAddress":{"type":"string"},"customer":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"amount":{"type":["string","null"]},"developerFee":{"type":["string","null"]},"exchangeRate":{"description":"null in the example; holds a value when set."},"received":{"description":"null in the example; holds a value when set."},"destinationCurrency":{"type":["string","null"]},"destination":{"type":"object","properties":{"asset":{"type":"string"},"address":{"type":"string"}},"additionalProperties":true},"depositTxHash":{"description":"null in the example; holds a value when set."},"txHash":{"description":"null in the example; holds a value when set."},"chainStatus":{"type":"string"},"delivered":{"type":"boolean"},"senderState":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"settledAt":{"type":["string","null"]},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"Transfer":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"transfer"},"kind":{"type":"string"},"customer":{"type":"string"},"externalId":{"type":["string","null"]},"amount":{"type":"string"},"currency":{"type":"string"},"fee":{"type":"string"},"platformFeeBps":{"type":"integer"},"source":{"type":"object","properties":{"kind":{"type":"string"},"currency":{"type":"string"},"wallet":{"type":"string"}},"additionalProperties":true},"destination":{"type":"object","properties":{"kind":{"type":"string"},"currency":{"type":"string"},"chain":{"type":"string"},"address":{"type":"string"},"screening":{"type":"string"},"wallet":{"type":"string"},"bankAccount":{"type":"string"}},"additionalProperties":true},"state":{"type":"string","enum":["pending_create","awaiting_funds","in_review","kyc_required","kyc_in_review","developer_kyb_required","underfunded","funds_received","payment_submitted","payment_processed","returned","undeliverable","missing_return_policy","error","refund_in_flight","refunded","refund_failed","canceled","create_failed"]},"receiptAmount":{"type":["string","null"]},"txHash":{"type":["string","null"]},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"depositInstructions":{"type":"object","properties":{"payment_rail":{"type":"string"},"currency":{"type":"string"},"amount":{"type":"string"},"deposit_message":{"type":"string"},"bank_name":{"type":"string"},"bank_routing_number":{"type":"string"},"bank_account_number":{"type":"string"}},"additionalProperties":true},"sandbox":{"type":"boolean"},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":"string","format":"date-time"},"paidAt":{"description":"null in the example; holds a value when set."},"businessDaysToPaid":{"description":"null in the example; holds a value when set."},"late":{"type":"boolean"},"executed":{"type":"boolean"},"railReference":{"$ref":"#/components/schemas/RailReference"},"confirmations":{"type":["integer","null"],"minimum":0,"description":"Confirmations the delivery had when SET last read the chain; null until read (staging never is)."},"requiredConfirmations":{"type":["integer","null"],"minimum":1,"description":"Confirmations its chain needs before SET calls it confirmed: ethereum 12, polygon 64, base, arbitrum and optimism 10, avalanche 3, celo 6, bitcoin 3, solana 1 (finalized commitment)."},"finalityStatus":{"type":["string","null"],"enum":["pending","confirming","confirmed","finalized","reorg_review","reorg_failed",null],"description":"pending (no block yet), confirming (below requiredConfirmations), confirmed, finalized (the same block at twice the depth), or reorg_review: the confirming block is no longer the chain's; nothing moves on by itself until SET's operator reviews it. The operator resolves it finalized (reconfirmed on chain proof) or reorg_failed (the delivery is not on the chain; never delivered), with <object>.reorg_resolved."}},"additionalProperties":true,"required":["object","id"]},"Payout":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"payout"},"wallet":{"type":"string"},"recipient":{"type":"string"},"customer":{"type":"string"},"batch":{"description":"null in the example; holds a value when set."},"externalId":{"type":["string","null"]},"amount":{"type":"string"},"fee":{"type":"string"},"platformFee":{"description":"null in the example; holds a value when set."},"platformFeeBps":{"type":"integer"},"currency":{"type":"string"},"payoutCurrency":{"type":"string"},"rail":{"type":"string"},"state":{"type":"string"},"receiptAmount":{"type":["string","null"]},"txHash":{"description":"null in the example; holds a value when set."},"toAddress":{"type":["string","null"]},"chainStatus":{"type":"string"},"railReference":{"$ref":"#/components/schemas/RailReference"},"delivered":{"type":"boolean"},"paidToBank":{"type":"boolean"},"approval":{"type":"string"},"scheduledAt":{"description":"null in the example; holds a value when set."},"schedule":{"description":"null in the example; holds a value when set."},"review":{"type":"string"},"reviewReasons":{"type":"array"},"destinationAmount":{"type":["string","null"]},"underfundedBy":{"description":"null in the example; holds a value when set."},"fxExcess":{"type":["object","null"]},"feeCredit":{"description":"null in the example; holds a value when set."},"leg":{"type":"string"},"fallback":{"type":"string"},"fallbackOf":{"type":["string","null"]},"fallbackPayout":{"type":["string","null"]},"fallbackProblem":{"description":"null in the example; holds a value when set."},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":["string","null"]},"paidAt":{"type":["string","null"]},"businessDaysToPaid":{"type":["integer","null"]},"late":{"type":"boolean"},"problem":{"type":["string","null"]},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","properties":{},"additionalProperties":true},"sandbox":{"type":"boolean"},"funding":{"type":"object","properties":{"id":{"type":"string"},"amount":{"type":"string"},"transfer":{"type":"string"}},"additionalProperties":true},"outcome":{"type":"string"},"message":{"type":"string"},"confirmations":{"type":["integer","null"],"minimum":0,"description":"Confirmations the delivery had when SET last read the chain; null until read (staging never is)."},"requiredConfirmations":{"type":["integer","null"],"minimum":1,"description":"Confirmations its chain needs before SET calls it confirmed: ethereum 12, polygon 64, base, arbitrum and optimism 10, avalanche 3, celo 6, bitcoin 3, solana 1 (finalized commitment)."},"finalityStatus":{"type":["string","null"],"enum":["pending","confirming","confirmed","finalized","reorg_review","reorg_failed",null],"description":"pending (no block yet), confirming (below requiredConfirmations), confirmed, finalized (the same block at twice the depth), or reorg_review: the confirming block is no longer the chain's; nothing moves on by itself until SET's operator reviews it. The operator resolves it finalized (reconfirmed on chain proof) or reorg_failed (the delivery is not on the chain; never delivered), with <object>.reorg_resolved."},"quote":{"type":["string","null"],"description":"The locked quote (qt_…) this payout executes on; null for none."}},"additionalProperties":true,"required":["object","id"]},"PayoutBatch":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"payout_batch"},"wallet":{"type":"string"},"externalId":{"type":"string"},"itemCount":{"type":"integer"},"total":{"type":"string"},"state":{"type":"string"},"counts":{"type":"object","properties":{"payment_submitted":{"type":"integer"},"payment_processed":{"type":"integer"}},"additionalProperties":true},"items":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"wallet":{"type":"string"},"recipient":{"type":"string"},"customer":{"type":"string"},"batch":{"type":"string"},"externalId":{"type":"string"},"amount":{"type":"string"},"fee":{"type":"string"},"platformFee":{"description":"null in the example; holds a value when set."},"platformFeeBps":{"type":"integer"},"currency":{"type":"string"},"payoutCurrency":{"type":"string"},"rail":{"type":"string"},"state":{"type":"string"},"receiptAmount":{"type":["string","null"]},"txHash":{"description":"null in the example; holds a value when set."},"toAddress":{"type":"string"},"chainStatus":{"type":"string"},"railReference":{"$ref":"#/components/schemas/RailReference"},"delivered":{"type":"boolean"},"paidToBank":{"type":"boolean"},"approval":{"type":"string"},"scheduledAt":{"description":"null in the example; holds a value when set."},"schedule":{"description":"null in the example; holds a value when set."},"review":{"type":"string"},"reviewReasons":{"type":"array"},"destinationAmount":{"description":"null in the example; holds a value when set."},"underfundedBy":{"description":"null in the example; holds a value when set."},"fxExcess":{"description":"null in the example; holds a value when set."},"feeCredit":{"description":"null in the example; holds a value when set."},"leg":{"type":"string"},"fallback":{"type":"string"},"fallbackOf":{"description":"null in the example; holds a value when set."},"fallbackPayout":{"description":"null in the example; holds a value when set."},"fallbackProblem":{"description":"null in the example; holds a value when set."},"requestedAt":{"type":"string","format":"date-time"},"sentAt":{"type":"string","format":"date-time"},"paidAt":{"type":["string","null"]},"businessDaysToPaid":{"type":["integer","null"]},"late":{"type":"boolean"},"problem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","properties":{},"additionalProperties":true}},"additionalProperties":true}},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"PayoutSchedule":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"payout_schedule"},"customer":{"type":"string"},"wallet":{"type":"string"},"recipient":{"type":"string"},"externalId":{"type":["string","null"]},"amount":{"type":"string"},"currency":{"type":"string"},"every":{"type":"string"},"approval":{"type":"string"},"nextRunAt":{"type":["string","null"]},"count":{"type":["integer","null"]},"sent":{"type":"integer"},"active":{"type":"boolean"},"lastPayout":{"type":["string","null"]},"lastProblem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"Recipient":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"recipient"},"customer":{"type":"string"},"externalId":{"description":"null in the example; holds a value when set."},"type":{"type":"string"},"country":{"type":"string"},"destination":{"type":"object","properties":{"kind":{"type":"string"},"currency":{"type":"string"},"rail":{"type":"string"},"bankAccount":{"type":["string","null"]},"fallbackWallet":{"description":"null in the example; holds a value when set."},"payeeCheck":{"type":"object","properties":{"matchLevel":{"type":"string"},"reasonCode":{"type":["string","null"]},"checkedAt":{"type":"string","format":"date-time"},"required":{"type":"boolean"}},"additionalProperties":true},"detailsFrom":{"type":"string"},"detailsGiven":{"type":"boolean"},"detailsGivenAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"state":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"metadata":{"type":"object","properties":{},"additionalProperties":true},"bankName":{"type":"string"},"last4":{"type":"string"},"payeeCheckName":{"type":"string"},"sandbox":{"type":"boolean"},"name":{"type":"string"}},"additionalProperties":true,"required":["object","id"]},"Invoice":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"invoice"},"customer":{"type":"string"},"number":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"payableAmount":{"type":"string"},"receivedAmount":{"type":"string"},"state":{"type":"string","enum":["open","short","paid","over","void"]},"pay":{"type":"object","properties":{"kind":{"type":"string"},"cashOutAddress":{"type":["string","null"]},"amount":{"type":"string"},"note":{"type":"string"}},"additionalProperties":true},"payer":{"type":"boolean"},"dueAt":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"payments":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"kind":{"type":"string"},"state":{"type":"string"},"invoice":{"type":"string"},"invoiceNumber":{"type":"string"},"rule":{"type":"string"},"receivedAmount":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true}},"claim":{"type":"object","properties":{"txHash":{"type":"string"},"matched":{"type":"boolean"}},"additionalProperties":true}},"additionalProperties":true,"required":["object","id"]},"InvoiceSchedule":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"invoice_schedule"},"customer":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"pay":{"type":"object","properties":{"cashOutAddress":{"type":"string"}},"additionalProperties":true},"payer":{"type":"boolean"},"every":{"type":"string"},"numberPrefix":{"type":"string"},"nextNumber":{"type":"string"},"dueDays":{"type":"integer"},"nextRunAt":{"type":["string","null"]},"count":{"type":["integer","null"]},"issued":{"type":"integer"},"active":{"type":"boolean"},"lastInvoice":{"type":["string","null"]},"lastProblem":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"firstInvoice":{"type":"object","properties":{"schedule":{"type":"string"},"invoice":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"customer":{"type":"string"},"number":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"payableAmount":{"type":"string"},"receivedAmount":{"type":"string"},"state":{"type":"string"},"pay":{"type":"object","properties":{"kind":{"type":"string"},"cashOutAddress":{"type":"string"},"amount":{"type":"string"},"note":{"type":"string"}},"additionalProperties":true},"payer":{"type":"boolean"},"dueAt":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"paymentLink":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"url":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"description":{"type":"string"},"invoice":{"type":"string"},"card":{"type":"boolean"},"active":{"type":"boolean"},"expiresAt":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"issued":{"type":"integer"},"nextRunAt":{"type":"string","format":"date-time"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"Refund":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"refund"},"payment":{"type":"string"},"paymentKind":{"type":"string"},"invoice":{"description":"null in the example; holds a value when set."},"payout":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"paymentCurrency":{"type":"string"},"state":{"type":"string"},"fee":{"type":["string","null"]},"receiptAmount":{"type":["string","null"]},"txHash":{"description":"null in the example; holds a value when set."},"railReference":{"$ref":"#/components/schemas/RailReference"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"CardCheckout":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"card_checkout"},"amount":{"type":"string"},"currency":{"type":"string"},"setFee":{"type":"string"},"reference":{"type":"string"},"livemode":{"type":"boolean"},"sandbox":{"type":"boolean"},"url":{"type":"string","description":"The hosted checkout page to send the payer to.","format":"uri"},"invoice":{"type":["string","null"],"description":"The invoice this checkout pays (inv_…), or null."}},"additionalProperties":true,"required":["object","id"]},"CardPayment":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"card_payment"},"source":{"type":"string"},"state":{"type":"string","enum":["pending","processing","succeeded","failed","canceled"]},"currency":{"type":"string"},"amount":{"type":"string"},"amountRefunded":{"type":"string"},"setFee":{"type":"string"},"setFeeRefunded":{"type":"string"},"netBeforeStripeFees":{"type":"string"},"disputeStatus":{"type":["string","null"]},"dispute":{"description":"null in the example; holds a value when set."},"checkoutSession":{"type":["string","null"]},"stripeAccount":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"succeededAt":{"type":["string","null"]},"livemode":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"PaymentLink":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"payment_link"},"url":{"type":"string"},"amount":{"type":"string"},"currency":{"type":"string"},"description":{"type":"string"},"invoice":{"type":["string","null"]},"card":{"type":"boolean"},"active":{"type":"boolean"},"expiresAt":{"description":"null in the example; holds a value when set."},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"ClosePeriod":{"type":"object","properties":{"object":{"type":"string","const":"close_period"},"period":{"type":"string"},"timeZone":{"type":"string"},"state":{"type":"string"},"counts":{"type":"object","properties":{"matched":{"type":"integer"},"exception":{"type":"integer"},"ignored":{"type":"integer"},"pending":{"type":"integer"},"inTransit":{"type":"integer"},"openExceptions":{"type":"integer"},"total":{"type":"integer"}},"additionalProperties":true},"preparedBy":{"type":["string","null"]},"preparedAt":{"type":["string","null"]},"approvedBy":{"type":["string","null"]},"lockedAt":{"type":["string","null"]},"snapshotHash":{"type":["string","null"]},"priorHash":{"description":"null in the example; holds a value when set."},"reconcilingItems":{"type":"array"},"reconcilingItemsShown":{"type":"integer"},"positions":{"type":"object","properties":{"checked":{"type":"integer"},"matched":{"type":"integer"},"mismatches":{"type":"integer"},"openMismatches":{"type":"integer"},"unreadable":{"type":"integer"},"notApplicable":{"type":"integer"}},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object"]},"CloseWeek":{"type":"object","properties":{"object":{"type":"string","const":"close_week"},"week":{"type":"string"},"timeZone":{"type":"string"},"startsAt":{"type":"string","format":"date-time"},"endsAt":{"type":"string","format":"date-time"},"months":{"type":"array","items":{"type":"string"}},"state":{"type":"string"},"counts":{"type":["object","null"],"properties":{"matched":{"type":"integer"},"exception":{"type":"integer"},"ignored":{"type":"integer"},"pending":{"type":"integer"},"inTransit":{"type":"integer"},"openExceptions":{"type":"integer"},"total":{"type":"integer"}},"additionalProperties":true},"preparedBy":{"type":["string","null"]},"preparedAt":{"type":["string","null"]},"approvedBy":{"type":["string","null"]},"signedAt":{"type":["string","null"]},"snapshotHash":{"type":["string","null"]},"priorHash":{"type":["string","null"]},"final":{"type":"boolean"},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object"]},"CloseMatch":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"close_match"},"payment":{"type":["string","null"]},"paymentType":{"type":"string"},"customer":{"type":["string","null"]},"period":{"type":"string"},"state":{"type":"string"},"rule":{"type":["string","null"]},"reason":{"type":["string","null"]},"records":{"type":"object","properties":{"rail":{"type":["string","null"]},"provider":{"type":["string","null"]},"chain":{"type":["string","null"]},"book":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"variance":{"description":"null in the example; holds a value when set."},"inTransit":{"type":"boolean"},"reversalOf":{"description":"null in the example; holds a value when set."},"note":{"type":["string","null"]},"resolvedAt":{"description":"null in the example; holds a value when set."},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"action":{"type":"string"},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"ClosePosition":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"close_position"},"wallet":{"type":"string"},"customer":{"type":"string"},"chain":{"type":"string"},"asset":{"type":"string"},"address":{"type":"string"},"block":{"type":["string","null"]},"ledgerBalance":{"type":["string","null"]},"chainBalance":{"type":["string","null"]},"variance":{"type":["string","null"]},"comparedDecimals":{"type":["integer","null"]},"state":{"type":"string"},"reason":{"type":["string","null"]},"period":{"type":"string"},"day":{"type":"string"},"checkedAt":{"type":"string","format":"date-time"},"note":{"type":["string","null"]},"notedBy":{"type":["string","null"]},"notedAt":{"type":["string","null"]},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"WatchedAddress":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"close_watched_address"},"chain":{"type":"string"},"asset":{"type":"string"},"address":{"type":"string"},"label":{"type":"string"},"state":{"type":"string"},"screening":{"type":"string"},"startBlock":{"type":"integer"},"nextBlock":{"type":"integer"},"transfers":{"type":"integer"},"scannedAt":{"type":["string","null"]},"problem":{"description":"null in the example; holds a value when set."},"createdBy":{"type":"string"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"AccountingConnection":{"type":"object","properties":{"object":{"type":"string","const":"accounting_connection"},"connected":{"type":"boolean"},"provider":{"type":"string"},"companyId":{"type":"string"},"state":{"type":"string"},"currency":{"type":"string"},"syncFrom":{"type":"string","format":"date-time"},"lastSyncedAt":{"description":"null in the example; holds a value when set."},"lastError":{"description":"null in the example; holds a value when set."},"connectedAt":{"type":"string","format":"date-time"},"counts":{"type":"object","properties":{},"additionalProperties":true},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object"]},"AccountingEntry":{"type":"object","properties":{"entry":{"type":"string"},"provider":{"type":"string"},"state":{"type":"string"},"remoteId":{"type":["string","null"]},"problem":{"type":["string","null"]},"attempts":{"type":"integer"},"updatedAt":{"type":"string","format":"date-time"}},"additionalProperties":true,"required":["entry"]},"Statement":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"statement"},"customer":{"type":"string"},"externalId":{"type":["string","null"]},"month":{"type":"string"},"state":{"type":"string"},"rows":{"type":"integer"},"totals":{"type":"array","items":{"type":"object","properties":{"type":{"type":"string"},"currency":{"type":"string"},"count":{"type":"integer"},"amount":{"type":"string"},"setFee":{"type":"string"},"platformFee":{"type":"string"},"providerFee":{"type":"string"}},"additionalProperties":true}},"complete":{"type":"boolean"},"downloads":{"type":"object","properties":{"csv":{"type":"string"},"pdf":{"type":"string"}},"additionalProperties":true},"notes":{"type":"array","items":{"type":"string"}},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"readyAt":{"type":["string","null"]},"sandbox":{"type":"boolean"}},"additionalProperties":true,"required":["object","id"]},"WebhookEndpoint":{"type":"object","properties":{"object":{"type":"string","const":"webhook_endpoint"},"url":{"type":"string"},"events":{"type":"array","items":{"type":"string"}},"secretVersion":{"type":"integer"},"secretRotatedAt":{"type":["string","null"]},"status":{"type":"string"},"disabledAt":{"type":["string","null"]},"signature":{"type":"string"},"sandbox":{"type":"boolean"},"id":{"type":"string"},"primary":{"type":"boolean"},"failures":{"type":"integer"},"failingSince":{"type":["string","null"]},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"updatedAt":{"type":"string","format":"date-time"},"secret":{"type":["string","null"]},"secretPrefix":{"type":"string"},"secretHidden":{"type":"string"},"deleted":{"type":"boolean"},"previousSecretValidUntil":{"type":"string","format":"date-time"}},"additionalProperties":true,"required":["object"]},"ApiKey":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string","const":"api_key"},"prefix":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"label":{"type":["string","null"]},"allowedCidrs":{"type":"array","items":{"type":"string"}},"current":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"revokedAt":{"type":["string","null"]},"expiresAt":{"description":"null in the example; holds a value when set."},"expired":{"type":"boolean"},"lastUsedAt":{"type":["string","null"]},"rotatedTo":{"description":"null in the example; holds a value when set."},"key":{"type":"string"},"note":{"type":"string"},"previous":{"type":"object","properties":{"id":{"type":"string"},"object":{"type":"string"},"prefix":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}},"label":{"type":"string"},"allowedCidrs":{"type":"array"},"current":{"type":"boolean"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"revokedAt":{"description":"null in the example; holds a value when set."},"expiresAt":{"type":"string","format":"date-time"},"expired":{"type":"boolean"},"lastUsedAt":{"type":"string","format":"date-time"},"rotatedTo":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true,"required":["object","id"]},"Capabilities":{"type":"object","properties":{"object":{"type":"string","const":"capabilities"},"api":{"type":"string"},"livemode":{"type":"boolean"},"version":{"type":"object","properties":{"current":{"type":"string"},"key":{"type":"string"}},"additionalProperties":true},"accountType":{"type":"string"},"plan":{"type":"string"},"key":{"type":"object","properties":{"kind":{"type":"string"},"scopes":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"rateLimit":{"type":"object","properties":{"requestsPerMinute":{"type":"integer"},"writesPerMinute":{"type":"integer"},"periodSeconds":{"type":"integer"}},"additionalProperties":true},"currencies":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"collect":{"type":"object","properties":{"rails":{"type":"array","items":{"type":"string"}},"deliversTo":{"type":"array","items":{"type":"string"}},"status":{"type":"string"}},"additionalProperties":true},"payout":{"type":"object","properties":{"rails":{"type":"array","items":{"type":"object","properties":{"rail":{"type":"string"},"status":{"type":"string"}},"additionalProperties":true}},"status":{"type":"string"}},"additionalProperties":true},"endorsement":{"type":"string"},"withoutEndorsement":{"type":"string"},"accountEnablement":{"description":"null in the example; holds a value when set."},"verification":{"description":"null in the example; holds a value when set."},"thirdPartyIndividuals":{"type":"object","properties":{"rule":{"type":"string"},"limit":{"description":"null in the example; holds a value when set."},"providerWords":{"type":"array","items":{"type":"string"}},"note":{"type":["string","null"]},"source":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"features":{"type":"object","properties":{"custodialWallets":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"selfCustodyWallets":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"fednowPayouts":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"fixedOutputPayouts":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"payeeBankDetails":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"expandedRoutes":{"type":"object","properties":{"status":{"type":"string"},"cashOutChains":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"batchedSettlement":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"multichainAddresses":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"payableEmail":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"taxForms":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"screening":{"type":"object","properties":{"status":{"type":"string"},"sources":{"type":"array"},"list":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"provider":{"type":"object","properties":{"status":{"type":"string"},"id":{"type":"string"},"unavailable":{"type":"array"}},"additionalProperties":true},"platformFunds":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"platformFee":{"type":"object","properties":{"status":{"type":"string"},"maxBps":{"description":"null in the example; holds a value when set."}},"additionalProperties":true},"recipients":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"payoutFallback":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"savedPayers":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"invoicePayers":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"close":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"closeWatch":{"type":"object","properties":{"status":{"type":"string"}},"additionalProperties":true},"accountingConnectors":{"type":"object","properties":{"status":{"type":"string"},"providers":{"type":"object","properties":{"quickbooks":{"type":"boolean"},"xero":{"type":"boolean"}},"additionalProperties":true},"tokenKey":{"type":"string"}},"additionalProperties":true},"treasury":{"type":"object","properties":{"plan":{"type":"string"},"status":{"type":"string"},"features":{"type":"object","properties":{"cashPosition":{"type":"object","properties":{"status":{"type":"string"},"route":{"type":"string"}},"additionalProperties":true},"bankFormatSettlement":{"type":"object","properties":{"status":{"type":"string"},"route":{"type":"string"},"formats":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"bankFormatStatements":{"type":"object","properties":{"status":{"type":"string"},"route":{"type":"string"},"formats":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true},"limits":{"type":"object","properties":{"pageSize":{"type":"object","properties":{"default":{"type":"integer"},"max":{"type":"integer"}},"additionalProperties":true},"payoutBatchItems":{"type":"integer"},"additionalWebhookEndpoints":{"type":"integer"},"metadata":{"type":"object","properties":{"keys":{"type":"integer"},"valueLength":{"type":"integer"}},"additionalProperties":true},"allowedCidrsPerKey":{"type":"integer"},"maxRateDriftBps":{"type":"integer"},"bodyBytes":{"type":"object","properties":{"json":{"type":"integer"},"payoutBatch":{"type":"integer"},"customerWithDocuments":{"type":"integer"},"onboardingDocument":{"type":"integer"}},"additionalProperties":true},"idempotencyRetentionHours":{"type":"integer"},"customers":{"type":"object","properties":{"limit":{"description":"null in the example; holds a value when set."},"used":{"description":"null in the example; holds a value when set."},"source":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true},"compliance":{"type":"object","properties":{"controls":{"type":"array","items":{"type":"object","properties":{"control":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"routes":{"type":"array","items":{"type":"string"}},"events":{"type":"array","items":{"type":"string"}}},"additionalProperties":true}},"screening":{"type":"object","properties":{"status":{"type":"string"},"sources":{"type":"array"},"withoutProvider":{"type":"string"},"whenUnavailable":{"type":"string"}},"additionalProperties":true},"restrictions":{"type":"object","properties":{"subjects":{"type":"object","properties":{"yours":{"type":"array","items":{"type":"string"}},"set":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"reasons":{"type":"array","items":{"type":"string"}},"refusal":{"type":"string"},"reasonShown":{"type":"string"}},"additionalProperties":true},"legalOrders":{"type":"object","properties":{"handling":{"type":"string"},"kinds":{"type":"array","items":{"type":"string"}},"inbound":{"type":"string"},"recorded":{"type":"boolean"},"timeToActMeasured":{"type":"boolean"},"disclosedToKeys":{"type":"boolean"},"setCanSeize":{"type":"boolean"},"setCanBurn":{"type":"boolean"},"operatorCanMoveCustomerMoney":{"type":"boolean"}},"additionalProperties":true},"assetRegister":{"type":"object","properties":{"route":{"type":"string"},"assets":{"type":"integer"},"withIssuer":{"type":"integer"},"issuerStatusTracked":{"type":"boolean"},"issuerStatuses":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"alerts":{"type":"object","properties":{"outflowAlert":{"type":"object","properties":{"routes":{"type":"array","items":{"type":"string"}},"events":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"unknownSender":{"type":"object","properties":{"routes":{"type":"array","items":{"type":"string"}},"events":{"type":"array","items":{"type":"string"}}},"additionalProperties":true},"rateDriftGuard":{"type":"object","properties":{"currencies":{"type":"array","items":{"type":"string"}},"maxBps":{"type":"integer"}},"additionalProperties":true}},"additionalProperties":true},"retention":{"type":"object","properties":{"recordsYears":{"type":"integer"},"basis":{"type":"string"},"webhookAttemptsDays":{"type":"integer"},"auditLogTamperEvident":{"type":"boolean"},"verifyRoute":{"type":"string"}},"additionalProperties":true},"disclosures":{"type":"object","properties":{"object":{"type":"string"},"appliesTo":{"type":"string"},"statements":{"type":"array","items":{"type":"string"}},"feeShare":{"type":"string"}},"additionalProperties":true},"redemption":{"type":"object","properties":{"object":{"type":"string"},"paths":{"type":"array","items":{"type":"object","properties":{"kind":{"type":"string"},"route":{"type":"string"},"what":{"type":"string"}},"additionalProperties":true}},"setFeeBps":{"type":"integer"},"otherFees":{"type":"string"},"timing":{"type":"object","properties":{"lateAfterBusinessDays":{"type":"integer"},"calendar":{"type":"string"},"report":{"type":"string"}},"additionalProperties":true}},"additionalProperties":true}},"additionalProperties":true},"assetPolicy":{"type":"object","properties":{"nonPermittedAssetCutoff":{"description":"null in the example; holds a value when set."},"inForce":{"type":"boolean"},"assets":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"genius":{"type":"object","properties":{"permitted":{"description":"null in the example; holds a value when set."},"source":{"description":"null in the example; holds a value when set."}},"additionalProperties":true}},"additionalProperties":true}}},"additionalProperties":true},"retention":{"type":"object","properties":{"recordsYears":{"type":"integer"},"basis":{"type":"string"},"pruned":{"type":"array","items":{"type":"object","properties":{"table":{"type":"string"},"period":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true},"minimums":{"type":"object","properties":{"payoutAfterFee":{"type":"string"},"copCollect":{"type":"string"},"cashOutRoutes":{"type":"array","items":{"type":"object","properties":{"currency":{"type":"string"},"chain":{"type":"string"},"rail":{"type":"string"},"minimum":{"type":"string"}},"additionalProperties":true}}},"additionalProperties":true}},"additionalProperties":true,"required":["object"]},"EscrowMilestone":{"type":"object","properties":{"id":{"type":"string","description":"esm_ and 32 hex characters."},"object":{"type":"string","const":"escrow_milestone"},"position":{"type":"integer"},"amount":{"type":"string","description":"A decimal string in USDC, never a float."},"label":{"type":["string","null"],"description":"Your own short code."},"state":{"type":"string","enum":["open","submitted","disputed","released","refunded"]},"evidenceHash":{"type":["string","null"],"description":"The hash the seller signed at submission; SET never receives the evidence."},"submissionReference":{"type":["string","null"]},"submittedAt":{"type":["string","null"]},"payout":{"type":"object","properties":{"kind":{"type":"string","enum":["seller_wallet","cash_out_address","prefunding"]},"address":{"type":"string"},"cashOutAddress":{"type":["string","null"]},"advance":{"type":["string","null"]},"locked":{"type":"boolean","description":"Assigned to a prefunding provider's repayment address by the seller's signature."}},"required":["kind","address","cashOutAddress","advance","locked"]}},"required":["id","object","position","amount","label","state","evidenceHash","submissionReference","submittedAt","payout"]},"EscrowProposal":{"type":"object","properties":{"id":{"type":"string","description":"esp_ and 32 hex characters."},"object":{"type":"string","const":"escrow_proposal"},"kind":{"type":"string","enum":["release","refund"]},"milestone":{"type":["string","null"]},"state":{"type":"string","enum":["awaiting_signatures","ready","executed","failed","cancelled"]},"amount":{"type":"string","description":"A decimal string in USDC, never a float."},"destination":{"type":"string"},"destinationKind":{"type":"string","enum":["seller_wallet","cash_out_address","prefunding","buyer_wallet"]},"safeNonce":{"type":"integer"},"safeTxHash":{"type":"string","description":"0x and 64 hex characters.","pattern":"^0x[0-9a-fA-F]{64}$"},"signatures":{"type":"array","items":{"type":"object","properties":{"signer":{"type":"string"},"role":{"type":"string","enum":["buyer","seller","arbiter"]},"at":{"type":"string"}},"required":["signer","role","at"]}},"threshold":{"type":"integer"},"typedData":{"type":"object","properties":{"domain":{"type":"object","additionalProperties":true},"types":{"type":"object","additionalProperties":true},"primaryType":{"type":"string"},"message":{"type":"object","additionalProperties":true}},"required":["domain","types","primaryType","message"],"description":"The SafeTx an owner signs with eth_signTypedData_v4."},"executedAt":{"type":["string","null"]},"executedSource":{"type":["string","null"],"description":"chain, or simulator in the sandbox."},"createdAt":{"type":"string"},"safe":{"type":"object","properties":{"safe":{"type":"string"},"chainId":{"type":"integer"},"to":{"type":"string"},"value":{"type":"string"},"data":{"type":"string"},"operation":{"type":"integer"},"safeTxGas":{"type":"string"},"baseGas":{"type":"string"},"gasPrice":{"type":"string"},"gasToken":{"type":"string"},"refundReceiver":{"type":"string"},"nonce":{"type":"string"},"contractTransactionHash":{"type":"string","description":"0x and 64 hex characters.","pattern":"^0x[0-9a-fA-F]{64}$"}},"required":["safe","chainId","contractTransactionHash"],"description":"POST …/propose_release?format=safe only: the Safe Transaction Service's proposal shape."},"execution":{"type":["object","null"],"description":"POST …/signatures only: the execTransaction call any party may broadcast once two owners signed; null until then.","properties":{"to":{"type":"string"},"value":{"type":"string"},"chainId":{"type":"integer"},"data":{"type":"string"},"note":{"type":"string"}},"required":["to","value","chainId","data"]},"signedBy":{"type":"string","enum":["buyer","seller","arbiter"],"description":"POST …/signatures only: the owner whose signature this request carried."},"milestones":{"type":"array","items":{"type":"string"},"description":"POST …/propose_refund only: the milestones the refund returns."},"next":{"type":"string","description":"What to do next, in words. On the answers that carry it."},"sandbox":{"type":"boolean","description":"true on a test key."}},"required":["id","object","kind","milestone","state","amount","destination","destinationKind","safeNonce","safeTxHash","signatures","threshold","typedData","executedAt","executedSource","createdAt"]},"Escrow":{"type":"object","properties":{"id":{"type":"string","description":"esc_ and 32 hex characters."},"object":{"type":"string","const":"escrow"},"livemode":{"type":"boolean"},"externalId":{"type":["string","null"]},"invoice":{"type":["string","null"]},"ledgerSide":{"type":["string","null"],"enum":["buyer","seller",null],"description":"Which party your business is, for its journal entries and SET Close (POST /v1/escrows ledgerSide; seller when the escrow names one of your invoices). null: SET writes no journal entry for the escrow."},"state":{"type":"string","enum":["awaiting_acceptance","accepted","funded","disputed","completed","cancelled"]},"network":{"type":"string","enum":["base","ethereum","arbitrum","optimism","polygon","avalanche"]},"chainId":{"type":"integer"},"asset":{"type":"string"},"token":{"type":"string"},"scheme":{"type":"string","enum":["2_of_2","2_of_3"]},"threshold":{"type":"integer"},"parties":{"type":"object","properties":{"buyer":{"type":"object","properties":{"address":{"type":"string"},"acceptedAt":{"type":["string","null"],"description":"When SET verified the party's signature over the terms; null until it accepts."}},"required":["address","acceptedAt"]},"seller":{"type":"object","properties":{"address":{"type":"string"},"acceptedAt":{"type":["string","null"],"description":"When SET verified the party's signature over the terms; null until it accepts."}},"required":["address","acceptedAt"]},"arbiter":{"type":["object","null"],"properties":{"address":{"type":"string"},"acceptedAt":{"type":["string","null"],"description":"When SET verified the party's signature over the terms; null until it accepts."}},"required":["address","acceptedAt"],"description":"null for 2-of-2."}},"required":["buyer","seller","arbiter"]},"safe":{"type":"object","properties":{"address":{"type":"string","description":"The Safe's counterfactual (CREATE2) address: pay the escrow here."},"version":{"type":"string"},"saltNonce":{"type":"string"},"owners":{"type":"array","items":{"type":"string"}},"threshold":{"type":"integer"},"factory":{"type":"string"},"singleton":{"type":"string"},"fallbackHandler":{"type":"string"},"nextNonce":{"type":"integer"},"custody":{"type":"string"}},"required":["address","version","saltNonce","owners","threshold","factory","singleton","fallbackHandler","nextNonce","custody"]},"termsHash":{"type":"string","description":"0x and 64 hex characters.","pattern":"^0x[0-9a-fA-F]{64}$"},"amount":{"type":"string","description":"A decimal string in USDC, never a float."},"released":{"type":"string","description":"A decimal string in USDC, never a float."},"refunded":{"type":"string","description":"A decimal string in USDC, never a float."},"funded":{"type":["object","null"],"description":"null until the Safe holds the escrow's amount.","properties":{"amount":{"type":["string","null"]},"at":{"type":"string"},"source":{"type":"string","enum":["chain","simulator"]}},"required":["amount","at","source"]},"screening":{"type":"string","enum":["clear","not_screened"]},"milestones":{"type":"array","items":{"$ref":"#/components/schemas/EscrowMilestone"}},"proposals":{"type":"array","items":{"$ref":"#/components/schemas/EscrowProposal"}},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"acceptance":{"type":"object","properties":{"domain":{"type":"object","additionalProperties":true},"types":{"type":"object","additionalProperties":true},"primaryType":{"type":"string"},"message":{"type":"object","additionalProperties":true}},"required":["domain","types","primaryType","message"],"description":"POST /v1/escrows only: the typed data each party signs to accept the terms."},"chain":{"type":["object","null"],"description":"GET /v1/escrows/{escrow} only: the Safe as the chain shows it (status read), or status unreadable; null for a completed or cancelled escrow.","properties":{"status":{"type":"string","enum":["read","unreadable"]},"deployed":{"type":"boolean"},"balance":{"type":"string","description":"A decimal string in USDC, never a float."},"nonce":{"type":["integer","null"]}},"required":["status"]},"acceptedBy":{"type":"string","enum":["buyer","seller","arbiter"],"description":"POST …/accept only: the party whose acceptance this request carried."},"message":{"type":"string","description":"On a sandbox simulator's answer only: what was simulated."},"next":{"type":"string","description":"What to do next, in words. On the answers that carry it."},"sandbox":{"type":"boolean","description":"true on a test key."}},"required":["id","object","livemode","externalId","invoice","ledgerSide","state","network","chainId","asset","token","scheme","threshold","parties","safe","termsHash","amount","released","refunded","funded","screening","milestones","proposals","createdAt","updatedAt"]},"EscrowTravelRule":{"type":"object","properties":{"object":{"type":"string","const":"escrow_travel_rule"},"escrow":{"type":"string"},"sealed":{"type":"boolean"},"commitment":{"type":"string","description":"sha256: and the hex SHA-256 of the sealed record."},"originator":{"type":"object","properties":{"role":{"type":"string","const":"buyer"},"present":{"type":"boolean"},"walletType":{"type":"string"},"walletAddress":{"type":"string"},"attestedOwnershipAt":{"type":["string","null"]},"attestation":{"type":"string"}},"required":["role","present","walletType","walletAddress","attestedOwnershipAt","attestation"]},"beneficiary":{"type":"object","properties":{"role":{"type":"string","const":"seller"},"present":{"type":"boolean"},"walletType":{"type":"string"},"walletAddress":{"type":"string"},"attestedOwnershipAt":{"type":["string","null"]},"attestation":{"type":"string"}},"required":["role","present","walletType","walletAddress","attestedOwnershipAt","attestation"]},"note":{"type":"string"}},"required":["object","escrow","sealed","commitment","originator","beneficiary","note"]},"EscrowSafeBundle":{"type":"object","properties":{"object":{"type":"string","const":"escrow_safe_bundle"},"escrow":{"type":"string"},"network":{"type":"string"},"chainId":{"type":"integer"},"chainLabel":{"type":"string"},"token":{"type":"string"},"safe":{"type":"object","properties":{"address":{"type":"string"},"version":{"type":"string"},"owners":{"type":"array","items":{"type":"string"}},"threshold":{"type":"integer"},"saltNonce":{"type":"string"},"factory":{"type":"string"},"singleton":{"type":"string"},"fallbackHandler":{"type":"string"},"deployment":{"type":"object","properties":{"to":{"type":"string"},"value":{"type":"string"},"data":{"type":"string"}},"required":["to","value","data"]}},"required":["address","owners","threshold","saltNonce","deployment"]},"termsHash":{"type":"string","description":"0x and 64 hex characters.","pattern":"^0x[0-9a-fA-F]{64}$"},"proposals":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"esp_ and 32 hex characters."},"object":{"type":"string","const":"escrow_proposal"},"kind":{"type":"string","enum":["release","refund"]},"milestone":{"type":["string","null"]},"state":{"type":"string","enum":["awaiting_signatures","ready","executed","failed","cancelled"]},"amount":{"type":"string","description":"A decimal string in USDC, never a float."},"destination":{"type":"string"},"destinationKind":{"type":"string","enum":["seller_wallet","cash_out_address","prefunding","buyer_wallet"]},"safeNonce":{"type":"integer"},"safeTxHash":{"type":"string","description":"0x and 64 hex characters.","pattern":"^0x[0-9a-fA-F]{64}$"},"signatures":{"type":"array","items":{"type":"object","properties":{"signer":{"type":"string"},"role":{"type":"string","enum":["buyer","seller","arbiter"]},"at":{"type":"string"}},"required":["signer","role","at"]}},"threshold":{"type":"integer"},"typedData":{"type":"object","properties":{"domain":{"type":"object","additionalProperties":true},"types":{"type":"object","additionalProperties":true},"primaryType":{"type":"string"},"message":{"type":"object","additionalProperties":true}},"required":["domain","types","primaryType","message"],"description":"The SafeTx an owner signs with eth_signTypedData_v4."},"executedAt":{"type":["string","null"]},"executedSource":{"type":["string","null"],"description":"chain, or simulator in the sandbox."},"createdAt":{"type":"string"},"tx":{"type":"object","properties":{"to":{"type":"string"},"value":{"type":"string"},"data":{"type":"string"},"operation":{"type":"integer"},"safeTxGas":{"type":"string"},"baseGas":{"type":"string"},"gasPrice":{"type":"string"},"gasToken":{"type":"string"},"refundReceiver":{"type":"string"},"nonce":{"type":"string"}},"required":["to","value","data","operation","nonce"]},"ownerSignatures":{"type":"array","items":{"type":"object","properties":{"signer":{"type":"string"},"signature":{"type":"string"}},"required":["signer","signature"]}}},"required":["id","object","kind","milestone","state","amount","destination","destinationKind","safeNonce","safeTxHash","signatures","threshold","typedData","executedAt","executedSource","createdAt","tx","ownerSignatures"]}},"howTo":{"type":"array","items":{"type":"string"}}},"required":["object","escrow","network","chainId","chainLabel","token","safe","termsHash","proposals","howTo"]},"PrefundingProvider":{"type":"object","properties":{"id":{"type":"string","description":"pfp_ and 32 hex characters."},"object":{"type":"string","const":"prefunding_provider"},"kind":{"type":"string","enum":["sandbox","live"]},"label":{"type":"string"},"network":{"type":"string"},"repaymentAddress":{"type":"string"},"sandbox":{"type":"boolean"},"feeBps":{"type":"integer","description":"The sandbox provider's fixed fee in basis points; a live provider quotes its own."}},"required":["id","object","kind","label","network","repaymentAddress","sandbox"]},"PrefundingQuote":{"type":"object","properties":{"id":{"type":"string","description":"pfq_ and 32 hex characters."},"object":{"type":"string","const":"prefunding_quote"},"provider":{"type":"string"},"escrow":{"type":"string"},"milestone":{"type":"string"},"advance":{"type":"string","description":"A decimal string in USDC, never a float."},"fee":{"type":"string","description":"A decimal string in USDC, never a float."},"repayment":{"type":"string","description":"A decimal string in USDC, never a float."},"repaymentAddress":{"type":"string"},"expiresAt":{"type":"string"},"sandbox":{"type":"boolean"},"createdAt":{"type":"string"},"lender":{"type":"string"},"assignment":{"type":"object","properties":{"domain":{"type":"object","additionalProperties":true},"types":{"type":"object","additionalProperties":true},"primaryType":{"type":"string"},"message":{"type":"object","additionalProperties":true}},"required":["domain","types","primaryType","message"],"description":"What the seller signs to assign the milestone's payout to repaymentAddress."},"next":{"type":"string","description":"What to do next, in words. On the answers that carry it."}},"required":["id","object","provider","escrow","milestone","advance","fee","repayment","repaymentAddress","expiresAt","sandbox","createdAt","lender","assignment"]},"PrefundingAdvance":{"type":"object","properties":{"id":{"type":"string","description":"pfa_ and 32 hex characters."},"object":{"type":"string","const":"prefunding_advance"},"provider":{"type":"string"},"quote":{"type":"string"},"escrow":{"type":"string"},"milestone":{"type":"string"},"advance":{"type":"string","description":"A decimal string in USDC, never a float."},"fee":{"type":"string","description":"A decimal string in USDC, never a float."},"repayment":{"type":"string","description":"A decimal string in USDC, never a float."},"repaymentAddress":{"type":"string"},"state":{"type":"string","enum":["requested","advanced","repaid","cancelled","declined"]},"advancedSource":{"type":["string","null"],"description":"provider, or simulator in the sandbox."},"sandbox":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"next":{"type":"string","description":"What to do next, in words. On the answers that carry it."},"message":{"type":"string","description":"On a sandbox simulator's answer only: what was simulated."}},"required":["id","object","provider","quote","escrow","milestone","advance","fee","repayment","repaymentAddress","state","advancedSource","sandbox","createdAt","updatedAt"]},"PrefundingProviderList":{"type":"object","properties":{"object":{"type":"string","const":"list"},"data":{"type":"array","items":{"$ref":"#/components/schemas/PrefundingProvider"}},"hasMore":{"type":"boolean"},"nextCreatedBefore":{"type":["string","null"]},"note":{"type":"string","description":"On a live key with no provider connected: why the list is empty."},"sandbox":{"type":"boolean","description":"true on a test key."},"nextStartingAfter":{"type":["string","null"],"description":"Pass back as startingAfter for the next page, unchanged; null on the last page. The same value as this list's older cursor field."}},"required":["object","data","hasMore","nextCreatedBefore"]},"WalletRecoveryBundle":{"type":"object","properties":{"object":{"const":"wallet_recovery_bundle"},"wallet":{"type":"string","description":"The self-custody wallet (swl_…)."},"custody":{"const":"self"},"state":{"enum":["pending_acceptance","active","frozen","closed"]},"livemode":{"type":"boolean"},"chain":{"type":"string","description":"SET's network name for the wallet."},"providerChain":{"type":"string","description":"The provider's chain value (staging uses the provider's test networks)."},"caip2":{"anyOf":[{"type":"string","description":"The chain's CAIP-2 id; null where SET states none."},{"type":"null"}]},"chainId":{"anyOf":[{"type":"integer","description":"The EVM chain id; null off EVM."},{"type":"null"}]},"address":{"anyOf":[{"type":"string","description":"Shown only while the wallet is active (its owners' setup read back as accepted)."},{"type":"null"}]},"model":{"type":"object","properties":{"type":{"const":"provider_server_wallet"},"smartContract":{"const":false,"description":"Not a Safe or other smart-contract wallet: no Safe (EIP-712) transaction exists for it."},"note":{"type":"string"}},"required":["type","smartContract","note"]},"provider":{"type":"object","properties":{"appId":{"anyOf":[{"type":"string","description":"The wallet provider's app id for SET."},{"type":"null"}]},"walletId":{"anyOf":[{"type":"string"},{"type":"null"}]},"ownerQuorumId":{"anyOf":[{"type":"string"},{"type":"null"}]},"policyId":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["appId","walletId","ownerQuorumId","policyId"]},"owners":{"type":"object","properties":{"threshold":{"type":"integer","minimum":1},"members":{"type":"array","items":{"type":"object","properties":{"member":{"type":"string","description":"pmb_…"},"acceptedAt":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["member","acceptedAt"]}},"publicKeys":{"type":"array","items":{"type":"string","description":"A P-256 public key (base64 SPKI) the business holds the private half of."},"description":"Public halves only."}},"required":["threshold","members","publicKeys"]},"limits":{"type":"object","properties":{"assets":{"type":"array","items":{"type":"string"}},"perPayment":{"anyOf":[{"type":"string"},{"type":"null"}]},"perDay":{"anyOf":[{"type":"string"},{"type":"null"}]}},"required":["assets","perPayment","perDay"]},"recovery":{"type":"object","properties":{"moveFunds":{"type":"string"},"exportPrivateKey":{"type":"object","properties":{"how":{"type":"string"},"availableThroughSet":{"type":"boolean"}},"required":["how","availableThroughSet"]},"dependsOnSet":{"type":"string","description":"What still needs SET: the provider app's credentials, which SET holds. SET relays; it cannot authorize."}},"required":["moveFunds","exportPrivateKey","dependsOnSet"]},"secrets":{"type":"string","description":"Always says there are none: the bundle holds no private key, seed phrase, app secret, session or signature."},"sandbox":{"type":"boolean"}},"required":["object","wallet","custody","state","livemode","chain","providerChain","caip2","chainId","address","model","provider","owners","limits","recovery","secrets"]},"Quote":{"type":"object","properties":{"id":{"type":"string","description":"qt_…","pattern":"^qt_[0-9a-f]{32}$"},"object":{"const":"quote"},"customer":{"type":["string","null"],"description":"The customer it was asked for (cus_…)."},"provider":{"type":"string","description":"primary, or a secondary provider's public id. Never a provider's name."},"sourceCurrency":{"const":"usdc"},"targetCurrency":{"type":"string","enum":["eur","gbp","mxn","brl","cop"]},"amount":{"type":"string","description":"USDC in, dollars and cents."},"fee":{"type":"string","description":"SET's fee, taken from amount first."},"rate":{"type":"string","description":"Target currency per USD."},"netTargetAmount":{"type":"string","description":"(amount - fee) x rate, rounded down to the cent. An estimate unless rateLocked."},"rateLocked":{"type":"boolean","description":"false: indicative, guarantees nothing. true: the provider locked rate until expiresAt for one payout."},"expiresAt":{"type":["string","null"],"format":"date-time","description":"null on an indicative quote."},"status":{"type":"string","enum":["indicative","open","used","expired"]},"payout":{"type":["string","null"],"description":"The payout that used it (po_…), once used."},"notice":{"type":"string"},"livemode":{"type":"boolean"},"createdAt":{"type":"string","format":"date-time"},"sandbox":{"type":"boolean"}},"required":["id","object","provider","sourceCurrency","targetCurrency","amount","fee","rate","netTargetAmount","rateLocked","expiresAt","status","notice","livemode","createdAt"]},"ComplianceProfile":{"type":"object","additionalProperties":false,"description":"KYB reliance metadata as the platform states it: the customer's regulatory and corporate posture. Metadata only (no names of people, no addresses, no identity or bank numbers). SET records it as sent and does not verify it; it does not replace the provider's verification. Any other field is 400 field_not_used.","properties":{"isRegulated":{"type":"boolean","description":"true needs regulatorName and regulatorJurisdiction; false takes neither, nor licenseNumber, and clears them."},"regulatorName":{"type":"string","description":"The regulator's name, 2 to 120 characters."},"regulatorJurisdiction":{"type":"string","description":"ISO 3166-1 alpha-3, capitals.","pattern":"^[A-Z]{3}$"},"licenseNumber":{"type":"string","description":"1 to 64 letters, digits, spaces and . / -","pattern":"^[A-Za-z0-9][A-Za-z0-9 ./-]{0,63}$"},"naicsCode":{"type":"string","description":"A 6-digit NAICS code.","pattern":"^\\d{6}$"},"sourceOfFunds":{"type":"string","enum":["business_revenue","investment_proceeds","loan_proceeds","customer_funds","treasury_reserves","grants","other"]},"uboThresholdBps":{"type":"integer","enum":[1000,2500],"description":"The ownership share at which the platform's KYB identifies a beneficial owner: 1000 (10%) or 2500 (25%)."}}}}}}