Sub-Accounts

De-allocate funds

POST
/api/sandbox/v1/de-allocations/new

Move funds back from a sub-account to another organisation — the mirror of an allocation. The source wallet is debited and the destination credited.

Authorization

bearerAuth
AuthorizationBearer <token>

The access_token returned by POST /api/v1/get-token.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

curl -X POST "https://example.com/api/sandbox/v1/de-allocations/new" \  -H "Content-Type: application/json" \  -d '{    "fromOrganisationId": "b2f0a5ff-e9d8-4347-b46d-6eee8d195617",    "toOrganisationId": "4d6e1ea9-5ab8-496a-978f-7e9b2bce80c4",    "amount": 20  }'
{  "status": 201,  "message": "Created Successfully",  "data": {    "status": "SUCCESS",    "requestId": "c0662903-4cd5-4a9b-b085-cdfa5a57014b",    "amount": 20  }}