Treasury

Returns your team's balance:

  • the balance you can transfer
  • the part of it that cannot be paid out to creators yet (payoutLockedCents, payoutLocks)
  • top-ups still waiting for payment
  • your latest top-ups

A card top-up is in availableCents as soon as it is paid. Transfers to payees can use it from 7 days after the charge, so a stolen card cannot be turned straight into payouts.

A transfer debits its amount plus the fee added on top; the payee receives the full amount.

A card dispute or refund on a top-up is debited from the available balance and can make it negative. Transfers are refused until it is positive again.

A profile-scoped key answers 403, since the balance belongs to the whole team.

get/v1/balance

Request

  • Base URL
    https://zernio.com/api
  • URL
    https://zernio.com/api/v1/balance
  • Auth
    HTTP bearer

Response

Balance in cents

availableCentsinteger

Your balance, including card top-ups paid in the last 7 days (see payoutLockedCents). Negative after a dispute or refund of a top-up that was already spent; transfers are refused while it is negative.

payoutLockedCentsinteger

Part of availableCents from card top-ups charged in the last 7 days, net of refunds and disputes. Transfers to payees cannot use it yet; a transfer that needs it answers 409 payout_funds_locked with the day it can be sent.

pendingCentsinteger

Card top-ups paid before 2026-10-29 that were held and are moving to availableCents (within the hour). Always 0 after that.

pendingTopupCentsinteger

Top-ups started but not paid yet.

currency'usd'

Changes