Confirm funding
Tell us you have sent the funds.
Path parameters
orgIdstringRequiredThe opaque organization id issued to you, normally CUID-shaped (for example
cmsx…). It is not anorg_-prefixed alias. Pass it unchanged in every organization-scoped path.payoutIdstringRequiredOpaque
payoutIdreturned by create or accept. Pass it unchanged.
Headers
Idempotency-KeystringRequiredA unique value per logical operation, 1-255 chars of
A-Z a-z 0-9 _ . : -.More
Reuse it to retry. Same key with the same body replays the stored response; same key with a different body is a
409, because answering with the first call's result would hand you a receipt for a payout you did not request. A4xxreleases the key, so you can fix the body and reuse it.Reuse it; do not generate one per attempt. A key minted per attempt defeats replay entirely: every retry looks like a new request, so every retry pays. We also watch for an identical body arriving under a different key within 15 minutes and refuse it with
DUPLICATE_REQUEST_DETECTED.Records are kept for 7 days. That is a retention window only: there is no path where an expired key is re-executed.
X-Allow-DuplicatestringOptionalSet to
trueto send a request that is byte-identical to one you sent within the last 15 minutes under a different key.trueis the only accepted value. It switches off the guard that catches a retry arriving under a fresh key, so send it only when you mean to pay twice.
Body
This endpoint expects a JSON object.
transactionHashstringRequiredTransaction identifier from the network on which you broadcast funding.
Behavior
Send the transactionHash after you broadcast the funding transfer
from your registered wallet.
We read the chain before recording anything. The transaction must exist, have succeeded, and have moved the expected token to the deposit address we issued, in at least the expected amount, from the wallet registered for this payout. If it did not, nothing is recorded and the payout stays fundable, so a rejection here is always safe to correct and retry.
Three outcomes are worth handling separately:
FUNDING_TRANSACTION_INVALID(400): we read the chain and it does not fund this payout. Do not retry unchanged; send the right one.FUNDING_NOT_YET_VERIFIABLE(409): we could not read it yet (not mined, or we could not reach the chain). Retry the same request once it is mined. If you already paid, your funds are unaffected.FUNDING_TRANSACTION_ALREADY_USED(409): one transfer funds exactly one payout. The deposit address is shared between payouts, so this is reachable by honest mistake; the message names the payout it funded.
In the sandbox there is no chain to read, so the last four digits of the hash choose the outcome (0001 invalid, 0002 not-yet-verifiable, anything else accepted), and reuse is refused exactly as in production. The sandbox requires an EVM-shaped hash (0x and 64 hex digits).
Solana funding is verified on-chain the same way, including the
retryable FUNDING_NOT_YET_VERIFIABLE.
A 500 PAYOUT_OUTCOME_UNKNOWN means we may have recorded the funding:
read GET /orders/{payoutId} before confirming again, and never under
a new key.
Responses
200The payout, now funded.
Body · Payout
payoutIdstringOptionalstatusstringOptionalA payout moves only along these transitions:
More
pending -> processing | completed | failed | canceled processing -> completed | failed completed -> failed (returned by the recipient's bank)pending: accepted, reserved, not sent. The only cancelable state.processing: handed to the payment network. Committed.completed: the recipient was paid. Not absolutely final.failed: not paid, or paid and then returned. Branch onfailureCode.canceled: you ended it before it was sent. It is not a failure, so it carries nofailureCode;fundsReturnedistruebecause the money never left.
completedcan still becomefailed. A receiving bank can return a payment days after settlement, givingfailureCode: returned_by_bankandfundsReturned: true. Do not write a ledger that treatscompletedas immutable, and keep processing webhooks for a payout after it completes.Allowed values:pendingprocessingcompletedfailedShow 1 more value
canceledstagestringOptionalInformational sub-state on a slow payout, so your support team can answer "where is it?". Non-authoritative: never branch integration behavior on it, and treat an unrecognized value as the status alone.
Allowed values:awaiting_detailsunder_reviewsettlingfailureCodestringOptionalNew codes may be added; treat an unknown one as
execution_failed.Allowed values:quote_expiredinsufficient_fundslimit_exceededaccount_invalidShow 6 more values
account_cannot_receivecompliance_rejectedauthorization_not_completedreturned_by_bankexecution_failedunknownrequiresFundingbooleanOptionalPresent and true when this payout is waiting on you to fund it from your own wallet. Absent on routings that settle on acceptance, so its presence is the signal.
fundsReturnedbooleanOptionalWhether the money is back in your balance. Separate from
failureCode, because the same cause can go either way depending on how far the payment got.sourceAmountobject | nullOptionalAlways a decimal string, never a float and never base units. Floats lose cents at scale; base units mean every integrator re-derives the exponent.
Show 2 properties
currencystringRequiredamountstringRequired
destinationAmountobject | nullOptionalAlways a decimal string, never a float and never base units. Floats lose cents at scale; base units mean every integrator re-derives the exponent.
Show 2 properties
currencystringRequiredamountstringRequired
destinationAccountIdstring | nullOptionalfeeobject | nullOptionalThe fee, already inside
sourceAmount, deducted from the send not added on top, sodestinationAmount = sourceAmount x ratestill holds. The same value the eventdataand thepayoutrow on/balance_transactionsreport. Null when the rail has not disclosed it, which is "not known", not zero.Show 2 properties
currencystringRequiredamountstringRequired
ratestring | nullOptionalThe effective rate:
destinationAmount / sourceAmount, derived from this payout's own amounts with the fee inside, sodestinationAmount = sourceAmount x ratealways holds. Lower than the indicative mid-rateGET /ratesshowed for the same conversion by exactly the fee share; that is not the rate moving. Compare it toPreviewQuote.rateonly after netting the fee. Always six decimal places, rounded half-up ("16.923250"). Null until the amounts are known.referencestring | nullOptionalendUserobject | nullOptionalYour own customer this payout is sent for: the party sending through your platform, never the recipient. In payroll the employer is the end user and the worker is the recipient; omit the object when you are the sender yourself. Attribution and the per-end-user daily cap key on
id; it is not forwarded to the payment network and does not change the sender of record, which stays your organization. Echoed on the payout and in every webhook, so a support question is answerable without your own id map.Show 3 properties
idstringOptionalYour stable identifier for the sending customer (not the recipient).
namestringOptionalPerson's display or legal name.
emailstring<email>OptionalPerson's email address in standard email format.
createdAtstring<date-time> | nullOptionalupdatedAtstring<date-time> | nullOptionalWhen this payout last changed. Carry the highest value you have seen as your
updatedSincewatermark. Without it in the payload the change feed cannot be paged.completedAtstring<date-time> | nullOptionalexpectedSettlementAtstring<date-time>OptionalWhen the funds are expected to be available to the recipient, where the routing states a settlement timeline. Present only when known; an estimate, not a promise.
Errors
400Nothing was recorded.
VALIDATION_ERROR:transactionHashis missing or malformed.FUNDING_TRANSACTION_INVALID: the transaction does not fund this payout. Send the right one.PAYOUT_NOT_FUNDABLE: the payout is canceled or otherwise finished and can no longer be funded.IDEMPOTENCY_KEY_REQUIRED,IDEMPOTENCY_KEY_INVALID: the header is missing or malformed.
401The key was refused. Nothing ran.
UNAUTHORIZED: missing, invalid or revoked, or a key on a route that does not accept one.KEY_EXPIRED: the key passed the expiry it was issued with. Issue a new one; an expired key cannot be rotated.KEY_IP_NOT_ALLOWED: the key is pinned to source addresses and this request came from another.
403A valid key that may not make this write. Nothing was changed.
FORBIDDEN: the key belongs to a different organization.ACCOUNT_BLOCKED: API access for your organization is suspended.LIVE_KEY_ORG_NOT_APPROVED: a live key, before we have approved your business verification. Use a test key until then.INSUFFICIENT_SCOPE: a read-only key. Issue one with thewritescope.
404NOT_FOUND: no payout with this id belongs to your organization.409FUNDING_NOT_YET_VERIFIABLE: we could not read the transaction yet. Retry the same request once it is mined.FUNDING_TRANSACTION_ALREADY_USED: this transfer already funded another payout, named indetail.- Or an idempotency conflict (
IDEMPOTENCY_KEY_CONFLICT,IDEMPOTENCY_KEY_REQUEST_IN_PROGRESS,PAYOUT_OUTCOME_UNKNOWNon a replay,DUPLICATE_REQUEST_DETECTED; seeMoneyIdempotencyConflict).
429Too many requests. The default ceiling is 100 requests per minute per API credential on a 60-second window. High-volume payout and reconciliation routes declare a 600/minute override, and batch submission a 30/minute ceiling. A separate 2,000/minute per-source-IP abuse ceiling always applies.
Obey
Retry-After; it is in seconds and is authoritative. A 429 means the request was refused before the handler ran. Retry reads normally; retry an idempotent mutation with its sameIdempotency-Key.500PAYOUT_OUTCOME_UNKNOWN: the call failed after the money may have moved, and we cannot yet say whether it did. Do not retry with a newIdempotency-Key; that is how a payment goes out twice. Look the outcome up first (the operation says where), or replay the same key, which answers409 PAYOUT_OUTCOME_UNKNOWNuntil we resolve it. Send support therequestId.Every other
500isINTERNAL: nothing was recorded under the key, and retrying with the same key is safe.
Error body · Error
typestringRequiredStable machine-readable code.
detailstringRequiredWhat went wrong, in a sentence. Always a string, so
detail.toLowerCase()is safe.More
This is the field to read on
BAD_REQUESTandPROVIDER_REJECTED, where the type alone does not name the condition.messagestringRequiredThe same text as
detail, kept for integrations written beforedetailexisted. Readdetail.resolutionstringOptionalWhat to do about it, when there is a specific answer. It is not on every error (it is absent on
BAD_REQUEST,NOT_FOUND,PAYOUT_NOT_CANCELABLEandDESTINATION_ACCOUNT_NOT_FOUND), so treat it as optional and fall back todetail.statusintegerRequiredHTTP status, repeated in the body.
statusCodeintegerRequiredThe same value as
status, kept for integrations written beforestatusexisted. Readstatus.requestIdstringRequiredQuote this to support and we can find the exact request. Also sent as the
x-request-idresponse header, which is the only place it appears on a successful response. Success bodies do not carry it. Send your ownx-request-idon the request and we use it, so your trace and ours share one identifier; otherwise we mint one.errorsarray of stringOptionalPresent on VALIDATION_ERROR; names each field that failed.
originalIdempotencyKeystringOptionalOn
DUPLICATE_REQUEST_DETECTEDonly. Send the request again with this to receive the original payout instead of making a second one. Without it there is no way to recover except by risking a double payment.originalPayoutIdstringOptionalOn
DUPLICATE_REQUEST_DETECTEDonly. The payout the first request created.originalBatchIdstringOptionalOn a batch
DUPLICATE_REQUEST_DETECTED. The run the first request created.originalRequestIdstringOptionalOn a
409 PAYOUT_OUTCOME_UNKNOWNreplay. TherequestIdof the call whose outcome is unknown; quote it to support.existingRecipientIdstringOptionalOn
BANK_ACCOUNT_ALREADY_LINKED. The recipient in your organization that already holds this account.existingMethodIdstringOptionalOn
BANK_ACCOUNT_ALREADY_LINKED. The payment method on that recipient.
Branch on type, never on the status or the message. Every error type is listed with what to do about it.
Was this page helpful?