Balances and cash flow
Retrieve the running balance of a settlement account, and list the cash flow transactions that record every fund movement.
Your merchant balance is a running total of all funds received, fees charged, and settlements paid to you on a settlement account. Cash flow transactions are the entries for your charges, refunds, and payouts to customers, one for each transaction that clears. Together they give you a ledger of your account activity between settlements.
Merchant balance
The GET /v1/cashflow/balances
endpoint returns the net position for one settlement account, and so one
currency. If you process transactions in more than one currency, you have a
separate settlement account per currency, each with its own balance. Without
a date window, the balance covers all activity up to the end of today (UTC).
See Balance for a date or a date range.
Balances are computed from cleared transactions. The balance isn't available
for every settlement account. For an account where it isn't, the endpoint
returns 403, or 400 for an account your acquirer settles to you directly.
All monetary amounts are integers in the minor unit (the smallest unit) of the
settlement currency, for example 494945025 for €4,949,450.25.
| Field | Description |
|---|---|
currency | The settlement currency for this account |
gross_amount | Total value of all transaction amounts before fees. This is the sum of every type's gross_amount, refunds and chargebacks included |
net_amount | Balance remaining after all deductions: fees, refunds, chargebacks, taxes, and settlements already paid out. A negative value means more has been paid out or deducted than currently sits unsettled in the account |
processing_fees | Aggregated Pay.com processing fees deducted from the gross, matching the same category in settlements |
interchange_fees | Aggregated card-issuer fees deducted from the gross |
network_fees | Aggregated card-network fees deducted from the gross |
count | Total number of events included in the balance calculation |
Balance breakdown
The balance_breakdown array breaks the net position down by transaction type.
Each entry has a type, a count, a gross_amount, a net_amount, and the
fee fields applicable to that type. An entry's type is one of these:
| Type | What it represents |
|---|---|
charges | Successful card charges, the primary source of incoming funds |
refunds | Customer-initiated returns, which reduce the balance |
chargebacks | Disputed transactions reversed by the card network |
representments | Chargeback disputes won on your behalf, which restore funds |
declines | Declined transactions, which may still incur processing_fees |
payouts | Payouts to your customers, which reduce the balance |
monthly-service-fee, … | One row for each kind of adjustment in the period, typed by its identifier in kebab case. An adjustment without an identifier is in general-adjustments. |
service-fees | The fees for the transfers to your bank |
top-ups | Top-ups to your balance |
rolling-reserves | Funds withheld as risk collateral |
released-reserves | Previously withheld reserves returned to your balance |
applicable-taxes | VAT applied to the fees in each settlement |
settlements | Completed settlements sent to your bank, which reduce the balance |
Retrieve your balance shows a response with every type.
Retrieve your balance
You need a Pay.com API key with reporting access and your settlement account ID
(prefix sa_). The key needs Read on Cash flow, and on Settlements to list
your settlements. See
Permissions.
- 1
Find your settlement account ID
Pay.com assigns your settlement account IDs during onboarding. Your settlement account ID (
sa_...) is visible in the Settings → Settlement accounts section of your Pay.com dashboard. You can also find it in thesettlement_accountfield of any cash flow transaction, in a charge'sunderlying_processing_details.settlement_accountwhen processor details are enabled on your account, or, if you have completed settlements, list them withGET /v1/settlementsand read thesettlement_accountfield from any result:curl "https://api.sandbox.pay.com/v1/settlements?limit=1" \ -u ':sk-pay-com-sandbox-…'The value looks like
sa_473768761812321280. Use it as thesettlement_accountparameter in the next step. - 2
Request the balance
Pass your settlement account ID in the required
settlement_accountquery parameter ofGET /v1/cashflow/balances.curl "https://api.sandbox.pay.com/v1/cashflow/balances?settlement_account=sa_473768761812321280" \ -u ':sk-pay-com-sandbox-…'{ "resource": "balance", "currency": "eur", "net_amount": -652666, "gross_amount": 494945025, "processing_fees": -5316771, "interchange_fees": -5517766, "network_fees": -7715715, "count": 35163, "balance_breakdown": [ { "type": "chargebacks", "count": 51, "gross_amount": -3986624, "net_amount": -4057124, "network_fees": 0, "interchange_fees": 3586, "processing_fees": -70500 }, { "type": "charges", "count": 19325, "gross_amount": 501762446, "net_amount": 483477146, "network_fees": -7681819, "interchange_fees": -5499808, "processing_fees": -5103673 }, { "type": "refunds", "count": 241, "gross_amount": -6131243, "net_amount": -6191650, "network_fees": -33897, "interchange_fees": 3689, "processing_fees": -26510 }, { "type": "representments", "count": 43, "gross_amount": 3300446, "net_amount": 3275213, "network_fees": 0, "interchange_fees": -25233, "processing_fees": 0 }, { "type": "declines", "count": 13414, "gross_amount": 0, "net_amount": -116088, "network_fees": 0, "interchange_fees": 0, "processing_fees": -116088 }, { "type": "monthly-service-fee", "count": 13, "gross_amount": 0, "net_amount": 3626555, "processing_fees": 0 }, { "type": "rolling-reserves", "count": 476, "gross_amount": 0, "net_amount": -35611088, "processing_fees": 0 }, { "type": "released-reserves", "count": 337, "gross_amount": 0, "net_amount": 26066888, "processing_fees": 0 }, { "type": "service-fees", "count": 421, "gross_amount": 0, "net_amount": -422000, "processing_fees": 0 }, { "type": "applicable-taxes", "count": 421, "gross_amount": 0, "net_amount": -3792004, "processing_fees": 0 }, { "type": "settlements", "count": 421, "gross_amount": 0, "net_amount": -466908515, "processing_fees": 0 } ] }The fields are described under Merchant balance and Balance breakdown.
Balance for a date or a date range
Pass date_to to get the cumulative balance up to that moment. Without it,
the endpoint covers everything up to the end of today (UTC).
curl "https://api.sandbox.pay.com/v1/cashflow/balances?settlement_account=sa_473768761812321280&date_to=2026-03-17T23:59:59Z" \
-u ':sk-pay-com-sandbox-…'Pass both date_from and date_to to get the balance movement within a range
instead of a cumulative snapshot. To see the individual events behind it, use
GET /v1/cashflow/transactions
with the created.greater_than_or_equals and created.less_than_or_equals
parameters.
Cash flow transactions
A cash flow transaction records one cleared charge, refund, or payout to a
customer, and what it adds to or takes from your balance. It appears when the
transaction clears, and Pay.com sends the cashflow_transaction.created
webhook event. Its ID has the transaction's digits,
such as cflw_tx_690017293823913984 for chrg_690017293823913984, and the
charge, refund, or payout links to it in cashflow_transaction. List them with
GET /v1/cashflow/transactions,
or retrieve one with
GET /v1/cashflow/transactions/{id}.
Chargebacks, adjustments, reserves, the transfer fee, and VAT have no cash flow transactions. They're in the balance breakdown and the settlement breakdown.
type is charge, refund, payout (a payout to a customer), or
decline (a declined transaction that carried fees, such as a decline fee).
created is when the transaction itself was created, not when it cleared.
A list filtered by created can gain entries later, as older transactions
clear.
amount is the transaction's value in the settlement currency, in the
smallest currency unit. It's positive for refunds and payouts too, and 0 for
a decline.
net_amount is the amount credited or debited to your balance after fees.
For a charge, net_amount = amount − |fee|. For a refund or a payout, it's
negative. For a decline, it's the negative decline fee. The
net_amount_human_readable field provides the decimal equivalent as a string.
fee is the total fee for the transaction as a single negative integer,
without VAT. fee_breakdown is an array of individual fee line items, each
with an amount, currency, identifier, and type. Breakdown amounts are
negative and can be fractional. The type values are acquirer (Pay.com's
fees, such as processing, 3D Secure, and decline fees), network (card network
fees), and interchange (card-issuer fees), in that order. On blended pricing,
there are acquirer lines only.
available_on is the estimated date the transaction can be paid out in a
settlement: the transaction's day plus your funding delay in banking days, or
the acquirer's own schedule. Pay.com sets it when the transaction is
authorized. It's null when Pay.com can't estimate it.
source contains the originating resource: the full charge, refund, or
payout, or a payment_attempt for a declined attempt in a payment session.
The source.url field gives you the API path to retrieve that resource
directly.
Currency conversion
source_amount and source_currency record the transaction's own
amount and currency. When they differ from your settlement currency,
exchange_rate is the rate applied to convert them, and otherwise it's
null. The top-level amount field always reflects the converted value in
the settlement currency.
Call
GET /v1/cashflow/transactions
with a date range to list transactions, or with settlement_id to list the
transactions included in one settlement. Results are returned oldest first.
Paginate with starting_after when has_more is true.
curl https://api.sandbox.pay.com/v1/cashflow/transactions \
-u ':sk-pay-com-sandbox-…' \
-G \
-d "created.greater_than_or_equals=2026-03-20" \
-d "created.less_than_or_equals=2026-03-24" \
-d "limit=10"{
"resource": "cashflow_transactions",
"data": [
{
"id": "cflw_tx_690017293823913984",
"resource": "cashflow_transaction",
"type": "charge",
"created": "2026-03-20T02:03:35.323Z",
"currency": "eur",
"amount": 6026,
"net_amount": 5936,
"net_amount_human_readable": "59.36",
"fee": -90,
"available_on": "2026-03-25T00:00:00.000Z",
"exchange_rate": "1.1849340",
"source_amount": 7140,
"source_currency": "usd",
"source": {
"id": "chrg_690017293823913984",
"url": "/v1/charges/chrg_690017293823913984"
}
}
],
"has_more": true
}The list returns the same objects as retrieving one, including
fee_breakdown. To retrieve a single transaction, pass its ID to
GET /v1/cashflow/transactions/{id}.
curl https://api.sandbox.pay.com/v1/cashflow/transactions/cflw_tx_690017293823913984 \
-u ':sk-pay-com-sandbox-…'{
"id": "cflw_tx_690017293823913984",
"resource": "cashflow_transaction",
"type": "charge",
"created": "2026-03-20T02:03:35.323Z",
"currency": "eur",
"amount": 6026,
"net_amount": 5936,
"net_amount_human_readable": "59.36",
"fee": -90,
"fee_breakdown": [
{ "amount": -15, "currency": "eur", "identifier": "charge", "type": "acquirer" },
{ "amount": -3, "currency": "eur", "identifier": "threeds", "type": "acquirer" },
{ "amount": -2, "currency": "eur", "identifier": "3_h_4095056", "type": "network" },
{ "amount": -70, "currency": "eur", "identifier": "interchange", "type": "interchange" }
],
"available_on": "2026-03-25T00:00:00.000Z",
"exchange_rate": "1.1849340",
"source_amount": 7140,
"source_currency": "usd",
"source": {
"id": "chrg_690017293823913984",
"url": "/v1/charges/chrg_690017293823913984"
}
}Relationship to settlements
The merchant balance and cash flow transactions give you an up-to-date view
of all cleared activity on your account. Settlements are discrete transfers.
On each settlement run, Pay.com pays out the cleared transactions past their
funding delay in a single transfer to your bank, and records it as a
settlements entry in the balance breakdown.
Each completed settlement reduces the balance's net_amount by the amount
transferred. The balance therefore reflects everything, including activity that
has not yet been settled.
Use the balance and cash flow endpoints for ongoing monitoring and transaction-level reconciliation. Use the Settlements API when you need the details of a specific settlement, its fee breakdown, or the period it covers.
Next steps
- Retrieve a merchant balance: API reference
- List cash flow transactions: API reference
- Retrieve a cash flow transaction: API reference
- Reconcile a settlement: verify a settlement with four API calls
- Settlements
- Exchange rates