OpenAPI 3.1.02026-08-201961,012712.7 KB

04665b9b9725

merchant

Get Withdraws

Get All Withdraws associated with the merchant

get/merchant/withdraws

Query parameters

sincestring
untilstring
pagenumber double
statusstring
searchstring
sortBy'createdAt' | 'amount'
sortDirectionnumber double
speedstring
providerstring
merchantIdstring
limitnumber double
bankSettlementsOnlyboolean

Headers

Authorizationstring required

Response

Ok

transactionstring required
createdAtstring date-time required
speed'asap' | 'same_day' | 'standard' | 'card' | 'iban' | 'pix' | 'eft' | 'venmo' | 'paypal' | 'wire' | 'interac' | 'swift' required
idempotencyKeystring
blockchain'solana' | 'eth' | 'polygon' | 'base' | 'user' | 'arbitrum' | 'stellar' | 'monad' | 'tempo' required
walletstring required
transferIdstring required
accountIdstring required
usdToForeignExchangeRatenumber double required

This is the conversion rate from USD to the foreign currency. For example 0.90 = 0.90 USD/GBP

So if you want to convert GBP to USD you would multiply 15 GBP * 0.90 USD/GBP = 13.5 USD If you want to convert USD to GBP you would multiply 13.5 USD * 1/0.90 GBP/USD = 15 GBP

invoiceIdstring required

Set on completion when merchantPaidFees were not settled inline: the Accruing invoice the fees were attached to. Mirrors the refund/chargeback/payment invoicing pattern — presence of invoiceId marks the fees as billed.

returnStatus'pending_return' | 'return_submitted' | 'return_completed'
unclaimedAtstring date-time

When the provider reported the payout as unclaimed: sent to an email or phone with no account behind it, so the recipient has to claim it before the provider cancels it (30 days for PayPal).

expectedDeliveryDatestring date-time required
updatedAtstring date-time required
providerstring required
returnTransactionstring
returnedAtstring date-time
returnAddressstring

Optional end-user address to send a failed-withdraw refund to instead of the originating wallet. Copied from the CryptoWithdrawSession at creation.

returnCurrencystring
returnGlideSessionIdstring
userIdstring
detailMessagestring
errorDatastring
pinstring

Only used for Interac payments if the user must provide their bank a PIN to claim the transfer.

isFirstPartyboolean

True when this withdraw was a first-party payout (the merchant withdrawing from their own settlement wallet).

payoutInitiatedboolean
orchestrationTraceIdstring
achTraceIdstring required

The provider's ACH trace ID for this withdraw, when available. Used by support to give customers a reference the receiving bank can look up. Currently populated for Braid ACH payouts (transaction.ach.traceNumber), AptPay ACH payouts (the settled webhook's os-trace), and AptPay push-to-card payouts (the transaction's RRN / Retrieval Reference Number).