On Demand Pay
Complete Withdrawal
POST
/
v1
/
pay
/
withdrawals
/
complete
At this point you should’ve presented the withdrawal intent to the user, once they’ve confirmed the amount, fees, and destination bank account, you can proceed to complete the withdrawal.
Once this request is complete the fund transfer will be initiated to the destination bank account, and any applicable fees will be deducted from the user’s balance.
Relevant Error Codes
The endpoint-specific error codes to pay attention to are:
Authorizations
X-API-KEY
string
headerrequiredHeaders
x-idempotency-key
string
Unique key to ensure idempotency of the request
Body
application/json
withdrawalIntentId
string
requiredThe unique identifier for a PayWithdrawalIntent, prefixed with wi_
Response
201 - application/json
message
string
required