Balances
Credit a balance
Settled at once; the recipient is notified (never the treasury). Crediting an active customer opens their wallet.
Settled at once; the recipient is notified (never the treasury). Crediting an active customer opens their wallet.
x-api-key<token>
In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/balances/credit" \ -H "Content-Type: application/json" \ -d '{ "account": { "kind": "treasury" }, "amount": 1, "description": "string", "reference": "string" }'{ "data": { "entry": { "id": "string", "accountId": "string", "amount": 0, "direction": "CREDIT", "type": "SHARE", "description": "string", "source": "MANUAL", "reference": "string", "availableAt": "2019-08-24T14:15:22Z", "createdAt": "2019-08-24T14:15:22Z" }, "created": true, "balance": { "settled": 0, "pending": 0, "available": 0 } }}
Planeward Docs