Skip to Content
Docs

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, and fee_processing by 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.

ParameterDescription
settlement_idReturn the transactions in this settlement
dateReturn the transactions that cleared on this date (YYYY-MM-DD)
from_dateStart of the clearing date range (inclusive). Required together with to_date.
to_dateEnd of the clearing date range (inclusive). Required together with from_date.
pagePage number. Default 1.
limitRows 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.

FieldDescription
idThe 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
resourcecharge, attempt, hold, refund, payout, or retried_attempt
statussucceeded or failed. A charge can also be succeeded_partially or awaiting_final_confirmation.
createdWhen the transaction was created
referenceYour reference on the transaction
failure_codePay.com's failure code, for a failed transaction
currencyThe transaction's currency
amountThe transaction amount, in currency
settlement_currencyYour settlement currency
settlement_amountThe amount in your settlement currency
exchange_rateThe rate used to convert amount, as a number, or null when the currencies are the same
net_amountThe amount after fees, in your settlement currency
fee_interchangeThe interchange fee, in the minor unit of your settlement currency. It can have a fractional part. null on blended pricing.
fee_networkThe card network's fee, the same way. null on blended pricing.
fee_processingPay.com's processing fee, the same way. On blended pricing, the whole fee.
metadataThe 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.
jurisdictiondomestic, international, or intraregional
payment_method_typeThe payment method's type, such as card
payment_methodThe payment method's ID
payment_method_serializedThe masked card number, such as 424242******4242
payment_method_card_brandThe card brand, such as visa
payment_method_card_fundingcredit, debit, or prepaid
payment_method_card_issuer_nameThe card issuer's name
payment_method_card_issuer_countryThe card issuer's two-letter country code
customer_idPay.com's customer ID (cust_…)
customer_reference_idYour ID for the customer
customer_emailThe customer's email address
merchantYour merchant ID (mrchnt_…)
merchant_referenceYour merchant account's reference
payment_sessionThe 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"

For the full endpoint, see List reconciliation transactions.

Next steps

Was this page helpful?