Skip to Content
Docs

Reconciliation

How Pay.com clears transactions with each acquirer's data, what changes when they clear, and how they reach a settlement.

A transaction is final once it clears. Pay.com receives clearing data from every acquirer and processor your payments go through, matches each record to its transaction, and books the final fees. A settlement then pays out the cleared transactions to your bank. Reconciling means matching each of these steps to your own records.

From authorization to your bank

A charge goes through three stages after the customer pays.

  1. Authorization. The issuer approves or declines the payment. Pay.com books estimated fees, and sets available_on, the date the transaction is expected to be paid out.
  2. Clearing. The acquirer's clearing data confirms the transaction, with its final amount and fees. Pay.com books the final fees and marks the transaction cleared.
  3. Settlement. On your settlement schedule, Pay.com pays out every cleared transaction whose funding delay has passed, less fees, chargebacks, reserves, and adjustments.

How clearing data reaches Pay.com

Each acquirer and processor sends its clearing data in its own way: daily files, reports, or API calls. Chargebacks and the card networks' fraud reports (Visa TC40 and Mastercard SAFE) arrive the same way. Pay.com reads each one and maps it to Pay.com's own objects, so you receive the same events and reports whichever acquirer processed a payment.

Pay.com sends each attempt to the acquirer with its own reference: the digits of the Pay.com ID, aid, and the attempt number, such as 685125114794084352aid1. The acquirer's clearing record carries that reference back, and Pay.com uses it to match the record to the transaction. See Pay.com's reference at the acquirer.

Pay.com also checks the other way: an approved transaction that's missing from the acquirer's data is flagged for Pay.com to follow up.

What changes when a transaction clears

When a charge, refund, or payout clears, Pay.com updates it and creates its cash flow transaction.

WhatChange
cashflow_transaction on the charge, refund, or payoutSet to its cash flow transaction's ID, which has the same digits, such as cflw_tx_688930130227113984 for chrg_688930130227113984
Cash flow transactionCreated, with the final fee, fee_breakdown, and net_amount
underlying_network_detailsGains the ARN and RRN, when the acquirer sends them. See Network data.
underlying_network_idThe network transaction ID, when the acquirer sends it
Exchange rate and settlement amountCan change to the acquirer's rate, when the transaction and settlement currencies differ. See Exchange rates.
Reconciliation transactionsThe transaction is listed for its clearing date
paidStays false until a settlement pays the transaction out

A declined transaction that carried fees, such as a decline fee, clears too. Its cash flow transaction has type: "decline" and a negative net_amount.

Events at clearing

Pay.com sends these events when a transaction clears.

EventWhen
cashflow_transaction.createdEvery time a charge, refund, or payout clears
charge.updatedA charge or capture cleared with a new or changed ARN
refund.updatedA refund cleared with a new or changed ARN

The events are sent together, so they can arrive in any order, and an event can arrive more than once. Handle each event once, using its id, and read the charge again if you need its latest state.

When an acquirer reports that it abandoned a charge's clearing, Pay.com sends charge.clearing_abandoned. The charge's funds aren't settled.

Chargebacks and fraud reports

Chargebacks and fraud reports reach Pay.com in the acquirers' data too:

  • Chargebacks open or update the charge's dispute, and Pay.com sends a dispute.* event when its status changes. The chargeback's amount and fees are taken from a later settlement, in chargeback_amount and chargeback_fees. A chargeback has no cash flow transaction. It's in the disputes reports.
  • Fraud reports, Visa TC40 and Mastercard SAFE records, set fraud: true on the charge and create a fraud warning. Pay.com sends fraud_warning.created. A fraud report moves no money.

How cleared transactions reach a settlement

Pay.com builds settlements on your settlement account's schedule: daily, weekly, or monthly, on banking days. A settlement includes every transaction that's cleared, not yet settled, and past its funding delay, together with the chargebacks, fees, reserves, and adjustments due. A transaction that isn't ready waits for a later settlement.

Pay.com pays the net amount to your bank with a reference that names the settlement, such as PAY.COM/stlmnt_690127572775747584, marks the transactions paid: true, and sends settlement.paid. If your acquirer pays you directly, Pay.com records the acquirer's payout as the settlement instead, and sends settlement.paid when it processes the acquirer's payment report. See Settlements.

Reconcile your records

Reconcile at the level your accounting needs.

LevelMatchUse
TransactionEach cleared transaction, its fees, and its net amountThe transaction reconciliation report, or Reconcile transactions with the API
SettlementA settlement's transactions, fees, and adjustments against its amountThe settlement report, or Reconcile a settlement with the API
Bank depositA deposit in your bank account against a settlementThe deposit's reference, such as PAY.COM/stlmnt_690127572775747584, names the settlement
BalanceWhat Pay.com owes you, at any point in timeBalances and cash flow

To test your reconciliation in the sandbox, clear a sandbox charge with Simulate clearing.

Next steps

Was this page helpful?