Reconcile transactions
List cleared transactions with their fees and settlement amounts, and match each one against your own records.
GET /v1/reconciliation/transactions
lists your cleared transactions: charges, captures, holds, refunds, and payouts
to your customers, approved or declined. Each row has its amounts, its
interchange, network, and processing fees, and its net amount, so you can match
it against your records without joining other API responses. It's the API
version of the
transaction reconciliation report.
When to use it
Use the list when you need cleared transactions on request:
- Accounting: list a day's or a date range's transactions and import them into your ledger.
- Settlement verification: list a settlement's transactions with
settlement_id. To check the settlement against its breakdown and adjustments as well, see Reconcile a settlement. - Fee analysis: add up
fee_interchange,fee_network, andfee_processingby card brand, funding type, or jurisdiction.
For a whole day's transactions, the daily report is one file instead of a call for every 100 rows. See Daily reports.
Filtering and pagination
Pass one filter: settlement_id, date, or from_date together with
to_date. A request with no filter, or with both settlement_id and date,
returns 400. Dates are YYYY-MM-DD in UTC and filter on the transaction's
clearing date, so only cleared transactions are returned. Rows are sorted by
created, oldest first.
The list is paginated by page number. Request each page with page until
last_page is true.
| Parameter | Description |
|---|---|
settlement_id | Return the transactions in this settlement |
date | Return the transactions that cleared on this date (YYYY-MM-DD) |
from_date | Start of the clearing date range (inclusive). Required together with to_date. |
to_date | End of the clearing date range (inclusive). Required together with from_date. |
page | Page number. Default 1. |
limit | Rows per page. Default 10, maximum 100. |
The response's total_records and total_pages count every row and page for
your filter.
Key fields
Each row has these fields. Amounts are integers in the minor unit of their
currency, for example 7140 for $71.40, and are negative for refunds and
payouts.
| Field | Description |
|---|---|
id | The transaction's ID: chrg_…, hld_…, rfnd_…, or po_…, psatt_… for a declined attempt in a payment session, or rtratt_… for an attempt that Pay.com retried |
resource | charge, attempt, hold, refund, payout, or retried_attempt |
status | succeeded or failed. A charge can also be succeeded_partially or awaiting_final_confirmation. |
created | When the transaction was created |
reference | Your reference on the transaction |
failure_code | Pay.com's failure code, for a failed transaction |
currency | The transaction's currency |
amount | The transaction amount, in currency |
settlement_currency | Your settlement currency |
settlement_amount | The amount in your settlement currency |
exchange_rate | The rate used to convert amount, as a number, or null when the currencies are the same |
net_amount | The amount after fees, in your settlement currency |
fee_interchange | The interchange fee, in the minor unit of your settlement currency. It can have a fractional part. null on blended pricing. |
fee_network | The card network's fee, the same way. null on blended pricing. |
fee_processing | Pay.com's processing fee, the same way. On blended pricing, the whole fee. |
metadata | The transaction's metadata, or null when it has none. It's a string that holds the metadata's JSON text encoded as a JSON string, so decode it twice to get the object. |
jurisdiction | domestic, international, or intraregional |
payment_method_type | The payment method's type, such as card |
payment_method | The payment method's ID |
payment_method_serialized | The masked card number, such as 424242******4242 |
payment_method_card_brand | The card brand, such as visa |
payment_method_card_funding | credit, debit, or prepaid |
payment_method_card_issuer_name | The card issuer's name |
payment_method_card_issuer_country | The card issuer's two-letter country code |
customer_id | Pay.com's customer ID (cust_…) |
customer_reference_id | Your ID for the customer |
customer_email | The customer's email address |
merchant | Your merchant ID (mrchnt_…) |
merchant_reference | Your merchant account's reference |
payment_session | The payment session's ID (ps_…), for a transaction made in a payment session |
Fees are negative.
curl https://api.sandbox.pay.com/v1/reconciliation/transactions \
-u ':sk-pay-com-sandbox-…' \
-G \
-d "date=2026-03-17" \
-d "limit=100"{
"id": "txrcn_688826003734855680",
"resource": "transaction_reconciliation",
"data": [
{
"id": "chrg_688930130227113984",
"resource": "charge",
"status": "succeeded",
"created": "2026-03-17T02:03:35.323Z",
"reference": "order_12345",
"currency": "usd",
"amount": 7140,
"settlement_currency": "eur",
"settlement_amount": 6026,
"exchange_rate": 1.184934,
"net_amount": 5936,
"fee_interchange": -18.4521,
"fee_network": -11.9012,
"fee_processing": -59.6467,
"metadata": null,
"payment_method_type": "card",
"payment_method_card_brand": "visa",
"customer_reference_id": "cust_ext_abc123"
}
],
"page": 1,
"last_page": true,
"total_pages": 1,
"total_records": 1
}Next steps
- Reconcile a settlement: Check a settlement against its breakdown, adjustments, and transactions.
- Transaction reconciliation report: The same data as a daily file.
- Reconciliation: How transactions clear.