cURL
curl --request POST \ --url https://api.withacclaim.com/v1/treasury_accounts/{treasury_account_id}/withdrawals \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "settlement_account_id": "<string>", "amount": 123, "reference": "<string>", "description": "<string>" } '
{ "id": "wd_P8LmNo23Qr", "treasury_account_id": "tac_b0TrsSg91h", "settlement_account_id": "sa_M9q4eR20Kx", "amount": 123, "currency": "<string>", "status": "Pending", "created_at": "2023-11-07T05:31:56Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
ID of the treasury account.
Destination settlement account ID
Amount in smallest currency unit
Withdrawal created.
"wd_P8LmNo23Qr"
ID of the treasury account
"tac_b0TrsSg91h"
"sa_M9q4eR20Kx"
Pending
Completed
Voided