Accounts

Debit balance

Debits an account's balance.

POST
/accounts/{id}/debit-balance

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/accounts/string/debit-balance" \  -H "Content-Type: application/json" \  -d '{    "amount": 25000,    "currency": "USD",    "reference_id": "ref_12345"  }'
{
  "balances": [
    {
      "currency": "USD",
      "available": 25000
    }
  ]
}