Payments
Payments and withdrawals, called with the platform key. A withdrawal is a payment with purpose withdrawal. There is no withdrawal resource and no get-withdrawal endpoint.
1. Take account_id from list accounts. 2. Take external_account_id from list recipients or create recipient. Pay only when screening_status is clear. 3. Create the payment with a new Idempotency-Key. The amount plus the fee is reserved immediately. Above the approval threshold the status is pending_approval, and a different key approves it.
Register an account the customer owns before you create a withdrawal. The customer must be active.
POSTCreate a payment
POST/
Sends money from one of the customer's accounts to a recipient. The amount plus the fee is reserved immediately. Above the approval threshold the status is pending_approval.
GETGet a payment
GET/
The payment, its status, and its timeline. The same call reads a withdrawal.
GETList payments
GET/
Payments, withdrawals, and deposits, newest first. Filter with purpose.
POSTApprove a payment
POST/
Approves a payment that is waiting. The key that created it cannot approve it unless the customer's policy allows self-approval.
POSTRegister the destination
POST/
Required before a withdrawal. Send exactly one of bank or wallet.
POSTCreate a withdrawal
POST/
Moves funds to one of those own accounts and returns a payment. A recipient account is not_own_account.
GETGet withdrawal status
GET/
There is no get-withdrawal endpoint. Create withdrawal returns a payment id. This call is that payment, including status and the timeline. purpose is withdrawal.
GETList withdrawals
GET/
There is no list-withdrawals endpoint. This is list payments with purpose withdrawal.