CleonPay

API: Balance

What each of your prefunded accounts holds: the money a payout spends.

Payouts are prefunded. You hold a balance per account: a payout rail (card, SEPA, Faster Payments) in a given currency, and a payout draws its matching account down by the amount plus any fee. An account that cannot cover a payout refuses it with insufficient_balance rather than sending money that was never funded. Balances are separate per environment: sandbox is seeded so you can rehearse, live is what you have funded.

Retrieve your balance

GET /v1/balance

Every funded account in the key’s environment, with the payout methods each one can spend.

Response

{
  "object": "balance",
  "environment": "live",
  "balances": [
    {
      "account": "card",
      "account_label": "Card",
      "currency": "EUR",
      "available": 500000,
      "available_decimal": "5000.00",
      "payout_methods": ["card_payout"]
    },
    {
      "account": "fps",
      "account_label": "Faster Payments",
      "currency": "GBP",
      "available": 1000000,
      "available_decimal": "10000.00",
      "payout_methods": ["faster_payments"]
    },
    {
      "account": "sepa",
      "account_label": "SEPA",
      "currency": "EUR",
      "available": 750000,
      "available_decimal": "7500.00",
      "payout_methods": ["sepa_credit_transfer"]
    }
  ]
}

available is in minor units; available_decimal is the same figure as a string for display. An account is a rail and a currency together, so the EUR card balance and the EUR SEPA balance above are two separate accounts. A payout's amount plus its fee must fit within the matching account and currency, or it is refused with insufficient_balance.

With named balance accounts enabled, each row also carries an accounts array splitting that balance by account — {"balance_account": "client-a", "available": 250000, "available_decimal": "2500.00"} — with main as your default. A payout draws from one by sending metadata.balance_account. The field is omitted while you hold no named accounts.

List balance activity

GET /v1/balance/activity

The top-ups credited to your balance in the key’s environment, newest first: the same list as Balance activity in the dashboard. Your payouts are listed by GET /v1/payouts.

Query parameters

FieldTypeDescription
currency string Only this currency, e.g. EUR.
account string Only this account: card, sepa, fps or npp.
created_after timestamp Only top-ups after this time (ISO 8601).
created_before timestamp Only top-ups before this time. Pass the previous page’s next_cursor here to page.
limit integer Page size, 1–100. Default 25.

Request

curl "https://api.cleonpay.com/v1/balance/activity?currency=EUR&limit=10" \
  -H "Authorization: Bearer ck_live_..."

Response

{
  "object": "list",
  "data": [
    {
      "object": "balance_activity",
      "id": "6f1d1c2e-8a4b-4c5d-9e1f-2a3b4c5d6e7f",
      "type": "top_up",
      "account": "card",
      "account_label": "Card",
      "balance_account": "main",
      "currency": "EUR",
      "amount": 453768,
      "amount_decimal": "4537.68",
      "note": null,
      "created_at": "2026-11-23T12: 21: 44.913Z"
    }
  ],
  "has_more": false,
  "next_cursor": null
}

amount is in minor units; amount_decimal is the same figure as a string. Each top-up is credited to one account and currency, the same pair GET /v1/balance reports. When has_more is true, request the next page with created_before set to next_cursor.

On every request

HeaderDescription
Authorization Bearer <api key>. The key decides whether you are in sandbox or live; the host is the same either way.
Content-Type application/json on every request with a body.
Idempotency-Key On every creating request. Up to 255 characters, unique per operation, valid for 24 hours.

Errors follow one shape across every endpoint, described in errors.