Embedded Pay
Complete Withdrawal
POST
Finalize a withdrawal
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.Documentation Index
Fetch the complete documentation index at: https://docs.onsi.com/llms.txt
Use this file to discover all available pages before exploring further.
Testing Considerations: Please avoid running automated tests against this endpoint as test accounts require manual
replenishment.
Relevant Error Codes
The endpoint-specific error codes to pay attention to are: In rare cases, you may receive a Unprocessable Entity Error which indicates that On Demand Pay is temporarily unavailable.Authorizations
Headers
Unique key to ensure idempotency of the request
Body
application/json
Body
The unique identifier for a PayWithdrawalIntent, prefixed with wi_
Example:
"wi_<id>"
Response
201 - application/json
201
Finalize a withdrawal