On Demand Pay
Create Withdrawal Intent
POST
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 thenetAmount
will be transferred to
Please see the On Demand Pay documentation for more information on the lifecycle of a withdrawal intent.
Relevant Error Codes
The endpoint-specific error codes to pay attention to are:
Authorizations
Headers
Unique key to ensure idempotency of the request
Body
application/json
Body
The body is of type object
.
Response
201 - application/json
201
The response is of type object
.