Billing & account

Read your credit balance, top up, and pull commission-log transactions. See Credit line & top-up for the conceptual model.

Endpoints

  • GET/api/balance
    returns { balance, credit_limit, auto_collect, status }. status is 'critical' when balance has reached credit_limit, otherwise 'ok'.
  • POST/api/topup
    create a top-up request. Body: { chain, token, amount }. Returns the one-time deposit address and Cassia-side tracking id. eip155:42161 (Arbitrum) and solana:mainnet are not accepted here yet and return a 400 — top up on Ethereum, BSC, or Tron. Accepting customer payments on those chains is unaffected.
  • GET/api/topup/history
    paginated list of past top-ups. Query: limit, offset.
  • GET/api/topup/:id
    poll a single top-up by id (merchant-scoped).
  • GET/api/billing/transactions
    recent commission_log rows joined to invoice for per-row context (chain, token, amount paid). Query: limit (≤ 200, default 100). Powers the Credits page transactions table.

Top-up limits

Each account can make up to 10 top-up creation requests per hour and hold up to 3 open (pending or paid) top-ups at a time. Over the hourly limit, POST /api/topup returns 429. With 3 top-ups already open it returns 409: pay or wait for an open top-up to finish, then create a new one.

POST /api/topup errors

StatuserrorMeaningWhat to do
503issuance_pausedCreation is temporarily unavailable on this network. Nothing was created.Retry later.
503address_issuance_unavailableA deposit address could not be prepared. Nothing was created.Retry later; contact support if it persists.

Updated . For integration help, email [email protected]

From signup to payment setup in 7 minutes

Start accepting
payments today
on 5 blockchains.

Create accountRead documentation