PaybytokenDocs
Balance Transactions
API reference · Balance Transactions

Balance transactions

Reconcile account movements, fees and related payment or payout resources.

A Balance Transaction is an immutable merchant-ledger movement associated with a payment, payout, refund or other funds-moving resource. Use it to explain balance changes and fees. You cannot create or update these records directly.

API Endpoints

API Endpoint Reference

MethodEndpointDescription
GET/api/v1/balance_transactions/:idRetrieve one transaction.
GET/api/v1/balance_transactionsList account transactions; filter by chain or currency.
GET/api/v1/balance_transactions/resourceRetrieve the transaction associated with a resource.

Attributes

AttributeTypeDescription
idstringUnique identifier for the transaction.
account_idstringID of the associated account.
balance_idstringID of the associated balance.
amountstringTransaction amount.
currencystringCurrency code of the transaction (e.g., USDC).
chainstringBlockchain network of the transaction (e.g., ethereum).
descriptionstringOptional transaction description.
feestringTransaction fee.
totalstringSigned ledger total represented by the entry.
fee_detailsarrayArray of fee details.
typestringTransaction type (e.g., credit).
resource_typestringType of associated resource (e.g., payment_intent).
resource_idstringID of associated resource (e.g., pay_pdICAC1vp3WkAKof4QkM).
created_atstringCreation timestamp.
updated_atstringLast update timestamp.

amount, fee, and total are decimal strings. Debit entries are returned with a leading minus sign on amount and total; still use type as the canonical ledger direction.

On this page

API Workbench

Full Explorer

Open in new tab