PaybytokenDocs
Balances
API reference · Balances

Merchant balances

Understand available and pending stablecoin balances across supported networks.

Merchant balances are read-only API projections of funds owned by the authenticated merchant account. Every record is isolated by chain and currency and separates available funds from amounts that are still pending or reserved by another operation.

These are not customer balances. Do not combine records across chains or currencies when making an accounting or payout decision.

API Endpoints

  • Get Balance: Retrieves the balance details for a specific account and currency.
  • List Balances: Returns a list of all balances associated with an account across chains and currencies.

Endpoints

MethodEndpointDescription
GET/api/v1/balances/:idRetrieve one account-owned balance.
GET/api/v1/balancesList non-zero balances, optionally filtered by chain and currency.

Attributes

AttributeTypeDescription
idstringUnique identifier for the balance (e.g., bal_5).
account_idstringID of the account associated with the balance.
chainstringBlockchain chain used (e.g., base).
currencystringCurrency of the balance (e.g., USDC).
available_balancestringThe amount of funds available for use (e.g., 1052.6).
pending_balancestringThe amount of funds pending (e.g., 0.0).
reserved_balancestringFunds reserved by an in-progress payout or other debit, when returned.
total_balancestringTotal represented by the balance record, when returned.
created_attimestampTime when the balance record was created.
updated_attimestampTime when the balance record was last updated.

Amounts are decimal strings. Use Balance Transactions to explain movements rather than inferring them from two balance snapshots.

On this page

API Workbench

Full Explorer

Open in new tab