Balance transactions
Balance transactions are the itemized record of money added to or returned from your Inttegro balance. Each entry connects an amount to its order and payment or refund, giving finance and support teams a clear trail for reconciliation.
Use Balances to see current totals. Use balance transactions to explain those totals, trace money back to a sale or refund, and build exports for your accounting system.
The balance transaction object
Payment and refund balance transactions belong to an order. A payment
transaction includes its paymentId; a refund
transaction includes its refundId. A
finalized payout debit includes payoutId and
does not include an order.
amount.value is always a non-negative value in the
currency's smallest unit. Check type to determine whether
the entry records a payment, refund, or payout. Payment entries include all current
allocations plus available, pending, and spent amount summaries. Released
allocations are omitted.
Properties
- Name
allocations- Type
BalanceTransactionAllocation[]- Description
All current pending and completed allocations of this payment transaction. Each item includes a stable
bta_...ID, arefundorpayoutdiscriminator, public status and timestamps, and a matching nested object containing the consumer ID and exact allocated amount. Omitted from refund transactions.
availableAmountAmountClick or tap to expandAmount still available for a refund or payout. It uses the same currency and integer minor-unit shape as
amount. Present only on payment transactions.- Name
availableAt- Type
Date- Description
When payment funds are scheduled to become eligible for payout. This can be a future timestamp. Omitted when the entry does not follow the payment availability lifecycle.
- Name
claimedAt- Type
Date- Description
Deprecated legacy whole-transaction payout timestamp. New integrations should inspect
allocations.
- Name
createdAt- Type
Date- Description
When the balance transaction was recorded. Transaction pages are ordered by this timestamp from newest to oldest.
- Name
id- Type
string- Description
Unique balance transaction identifier with the
bt_prefix. Use it for lookup and as the reconciliation key in your own records.
- Name
orderId- Type
string- Description
Order associated with the source payment or refund. Omitted from payout debit transactions.
- Name
paidAt- Type
Date- Description
Deprecated legacy whole-transaction payout timestamp. New integrations should inspect completed allocations and their
completed_atvalues.
- Name
paymentId- Type
string- Description
Payment that created the balance transaction. Present when
typeisInttegro.BalanceTransactionTypes.Payment.
- Name
payoutId- Type
string- Description
Payout that created a finalized payout debit. On legacy payment transactions this can instead be the deprecated whole-transaction payout relationship; new integrations should inspect allocations on payment entries.
pendingAmountAmountClick or tap to expandAmount reserved by unresolved refund and payout allocations. Present only on payment transactions.
- Name
refundId- Type
string- Description
Refund that created the balance transaction. Present when
typeisInttegro.BalanceTransactionTypes.Refund.
spentAmountAmountClick or tap to expandAmount permanently consumed by completed refund and payout allocations. Present only on payment transactions.
- Name
type- Type
BalanceTransactionType | 'payment' | BalanceTransactionType | 'refund' | BalanceTransactionType | 'payout'- Required
- required
- Description
Why the transaction exists:
Inttegro.BalanceTransactionTypes.PaymentorInttegro.BalanceTransactionTypes.RefundorInttegro.BalanceTransactionTypes.Payout.
Look up a balance transaction
Retrieve one balance transaction by its ID. Use this when you already have a
bt_... identifier from an order, payout, dashboard, or
previous list response and need the complete record.
Request attributes
- Name
transactionId- Type
string- Required
- required
- Description
Balance transaction ID returned by Inttegro, beginning with
bt_.
Request
import * as Inttegro from '@inttegro/inttegro-sdk'
const inttegro = new Inttegro.InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.balanceTransactions.lookup({
transactionId: "bt_0123456789abcdefghijklmnopqrstuvwxyzABCD",
})
Response
- Object
- JSON
TransactionResponse {
transaction: { … },
}
{
"transaction": {
"amount": { … },
"allocations": [ … ],
"available_amount": { … },
"available_at": "2025-04-10T12:03:17.000Z",
"created_at": "2025-04-10T12:02:45.000Z",
"id": "bt_0123456789abcdefghijklmnopqrstuvwxyzABCD",
"order_id": "or_0123456789abcdefghijklmnopqrstuvwxyzABCD",
"pending_amount": { … },
"payment_id": "py_ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmn",
"spent_amount": { … },
"type": "payment"
}
}
Page through balance transactions
Browse balance activity from newest to oldest. Start with page 1, then request later pages until the response contains no transactions.
AI clients can use list_balance_transactions for this operation. MCP read tools return minimized business data and do not change Inttegro state.
Request attributes
- Name
pageNumber- Type
number- Required
- required
- Description
1-based page number to retrieve. Supported pages are
1through10.
- Name
pageSize- Type
number- Required
- required
- Description
Maximum number of transactions to return. Minimum
1, maximum256. The final page may contain fewer transactions.
Request
import * as Inttegro from '@inttegro/inttegro-sdk'
const inttegro = new Inttegro.InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.balanceTransactions.page({
pageNumber: 1,
pageSize: 2,
})