Reconcile a settlement
Verify a settlement against its breakdown, adjustments, and cash flow transactions in four API calls.
To verify a Pay.com settlement, make four API calls: list settlements for a
period, retrieve the full financial breakdown, check for adjustments, and
cross-check individual transactions in your cash flow. To start as soon as a
settlement is paid, instead of polling, listen for the settlement.paid
webhook event.
You need a Pay.com API key with Read on Settlements, Adjustments, and Cash flow (see Permissions), and a settlement period to reconcile (start and end date). The steps build on Settlements and Balances and cash flow.
- 1
List settlements for a period
Call
GET /v1/settlementswith a date range to retrieve all settlements created in that window. Amounts are integers in the minor unit (the smallest unit) of the settlement currency, for example332477for €3,324.77.curl https://api.sandbox.pay.com/v1/settlements \ -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": "settlements", "data": [ { "id": "stlmnt_690127572775747584", "amount": 332477, "amount_human_readable": "3324.77", "created": "2026-03-20T09:20:35.300Z", "currency": "eur", "payment_date": "2026-03-20T09:21:54.959Z", "period_end": "2026-03-17T23:59:59.000Z", "period_start": "2026-03-17T00:00:00.000Z", "resource": "settlement", "settlement_account": "sa_473768761812321280", "settlement_account_details": { "currency": "eur" }, "test_mode": true, "type": "bank_account" }, { "id": "stlmnt_691239809032669184", "amount": 487938, "amount_human_readable": "4879.38", "created": "2026-03-23T11:00:13.088Z", "currency": "eur", "payment_date": "2026-03-23T11:01:39.508Z", "period_end": "2026-03-18T23:59:59.000Z", "period_start": "2026-03-18T00:00:00.000Z", "resource": "settlement", "settlement_account": "sa_473768761812321280", "settlement_account_details": { "currency": "eur" }, "test_mode": true, "type": "bank_account" } ], "has_more": false }Note these fields on each settlement object:
Field Description idThe settlement ID, used in the following steps amountNet amount transferred to your bank, in the minor currency unit currencyThe settlement currency period_start/period_endThe transaction window covered by this settlement. The settlement is created after the period ends, so createdfalls later thanperiod_endsettlement_accountThe Pay.com settlement account that received the funds (prefix sa_)Pick the
idof the settlement you want to reconcile and use it in the following steps. - 2
Retrieve the settlement breakdown
Call
GET /v1/settlements/{settlement_id}/breakdownto retrieve the itemized fee and adjustment components that sum to the settlement's netamount.curl https://api.sandbox.pay.com/v1/settlements/stlmnt_690127572775747584/breakdown \ -u ':sk-pay-com-sandbox-…'{ "id": "stbrk_stlmnt_690127572775747584", "resource": "settlement_breakdown", "amount": 332477, "chargeback_amount": 0, "chargeback_fees": 0, "currency": "eur", "general_adjustments": -2500, "interchange_fees": -4400, "network_fess": -7071, "payout_amount": 0, "processed_amount": 354727, "processing_fees": -4126, "refund_amount": 0, "rolling_reserve": 0, "rolling_reserve_released": 0, "service_fees": -1000, "test_mode": true, "vat": -3153 }These fields make up the breakdown.
Field Description processed_amountCharges that cleared in the period, less the refunds and the payouts to your customers taken from this settlement. The starting figure before fees. refund_amountRefunds taken from this settlement, as a positive number. Already deducted in processed_amount.chargeback_amountChargebacks taken from this settlement, less the representments and chargeback reversals returned to you. Negative unless the returns are larger. chargeback_feesThe fees charged for chargebacks interchange_feesFees paid to the card-issuing bank. Usually negative. A refund's interchange can be returned to you. network_fessFees paid to the card network (Visa, Mastercard, and so on). Usually negative. processing_feesPay.com's fees for processing, including decline fees. On blended pricing, the whole fee. Usually negative. service_feesThe fee for the transfer to your bank. Negative. vatVAT, when your account is charged VAT, on the fees and the transfer fee. Negative. rolling_reserve/rolling_reserve_releasedReserve withheld in this settlement (negative) and earlier reserve released (positive) general_adjustmentsFees and credits Pay.com applies as adjustments, such as your monthly service fee. See the next step. payout_amountPayouts to your customers taken from this settlement, as a positive number. Already deducted in processed_amount.Verify that
amountequals the sum ofprocessed_amount,chargeback_amount,chargeback_fees,interchange_fees,network_fess,processing_fees,service_fees,vat,rolling_reserve,rolling_reserve_released, andgeneral_adjustments. Leave outrefund_amountandpayout_amount, which are already deducted inprocessed_amount. Deductions are already negative, so add every field as returned. In this example, 354727 − 4400 − 7071 − 4126 − 1000 − 2500 − 3153 = 332477. See What a settlement contains for the full field reference. - 3
Check for adjustments
Call
GET /v1/adjustmentsfiltered bysettlement_idto list the adjustments Pay.com applied to this settlement.curl "https://api.sandbox.pay.com/v1/adjustments?settlement_id=stlmnt_690127572775747584&limit=10" \ -u ':sk-pay-com-sandbox-…'{ "resource": "adjustments", "data": [ { "id": "adj_690127572775747601", "resource": "adjustment", "settlement_id": "stlmnt_690127572775747584", "bank_transfer_reference": null, "currency": "EUR", "description": "Monthly service fee", "identifier": "monthly_service_fee", "quantity": 1, "amount": "-25.00", "total": "-25.00", "test_mode": true } ], "last_page": true, "page": 1, "total_pages": 1, "total_records": 1 }Each adjustment's
totalis a decimal string in the major currency unit, such as"-25.00". Add up the totals, convert the sum to the minor unit, and compare it withgeneral_adjustmentsfrom the breakdown in the previous step. In this example, −25.00 EUR is-2500. An emptydatameans the settlement has no adjustments. The transfer fee isn't an adjustment. It's inservice_fees. - 4
Cross-check with cash flow transactions
Call
GET /v1/cashflow/transactionswithsettlement_idto list every cash flow transaction included in this settlement, so you can match transaction-level amounts to the aggregated totals in the settlement breakdown. Filter bysettlement_id, not by dates.period_startandperiod_endare the first and last days on which the settlement's transactions cleared, and a transaction can be created days before it clears.curl https://api.sandbox.pay.com/v1/cashflow/transactions \ -u ':sk-pay-com-sandbox-…' \ -G \ -d "settlement_id=stlmnt_690127572775747584" \ -d "limit=10"{ "resource": "cashflow_transactions", "data": [ { "id": "cflw_tx_688930130227113984", "amount": 6026, "available_on": "2026-03-20T00:00:00.000Z", "created": "2026-03-17T02:03:35.323Z", "currency": "eur", "exchange_rate": "1.1849340", "fee": -90, "net_amount": 5936, "net_amount_human_readable": "59.36", "resource": "cashflow_transaction", "source": { "id": "chrg_688930130227113984", "url": "/v1/charges/chrg_688930130227113984" }, "source_amount": 7140, "source_currency": "usd", "type": "charge" }, { "id": "cflw_tx_688942261290938368", "amount": 6945, "available_on": "2026-03-20T00:00:00.000Z", "created": "2026-03-17T02:51:35.522Z", "currency": "eur", "exchange_rate": "1.1770788", "fee": -369, "net_amount": 6576, "net_amount_human_readable": "65.76", "resource": "cashflow_transaction", "source": { "id": "chrg_688942261290938368", "url": "/v1/charges/chrg_688942261290938368" }, "source_amount": 8175, "source_currency": "usd", "type": "charge" } ], "has_more": true }For each entry,
net_amountis the amount credited to your balance after fees. Sumamountacrosschargerows and compare it withprocessed_amountplusrefund_amountandpayout_amount, which together are the settlement's charges before refunds and payouts were taken off. Sumfeeacross all rows and compare it withprocessing_fees,interchange_fees, andnetwork_fess. Fee breakdown amounts can be fractional, so allow for small rounding differences.Cash flow covers charges, refunds, payouts, and declined transactions that carried fees. Chargebacks, the transfer fee, VAT, reserves, and adjustments have no cash flow transactions. Check them against the breakdown and the adjustments instead.
When
has_moreistrue, paginate through the remaining results until you have all transactions in the settlement. Pass theidof the last transaction in the current page asstarting_afterin your next request:curl https://api.sandbox.pay.com/v1/cashflow/transactions \ -u ':sk-pay-com-sandbox-…' \ -G \ -d "settlement_id=stlmnt_690127572775747584" \ -d "starting_after=cflw_tx_688942261290938368" \ -d "limit=10"To see the same settlement's transactions with interchange, network, and processing fees already broken out per row, list its reconciliation transactions with
settlement_id(see Reconcile transactions). Their amounts are integers in the minor unit, like the cash flow amounts.
Next steps
Read more about the data behind each step.
- List reconciliation transactions: The full API reference for reconciliation data.
- Settlements: How transactions are grouped into settlements.
- Adjustments: The fees and credits applied to a settlement.
- Balances and cash flow: A running ledger view of your account.