Embedded Pay
Create Withdrawal Intent
POST
Create a withdrawal intent
Create a withdrawal intent given an intended withdrawal amount, and the member who will receive the funds.
We will process the request, calculate the fee (dependant on the member’s tier) and return:
netAmount- a Money object representing the amount that will be transferred to the memberfee- a Money object representing the fee that will be chargedaccountDetails- An object containing the bank account details thenetAmountwill be transferred to
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.Body
application/json
Body
Response
201 - application/json
201