Skip to Content
Docs
Reconciliation

List reconciliation transactions

GET/reconciliation/transactions

Retrieves a page of cleared transactions for reconciliation: approved and declined charges, captures, refunds, payouts and holds that have been cleared, sorted oldest first.

Send exactly one filter: settlement_id, date, or from_date together with to_date. Sending none, combining them, or sending from_date without to_date returns 400. The date filters apply to the transaction's clearing date.

Headers

AuthorizationstringRequired
HTTP Basic auth: your API key as the password, with an empty username. See Authentication.

Query parameters

settlement_idstring

The unique identifier of the settlement. Returns the transactions included in this settlement.

datestring

Clearing date to retrieve reconciliation transactions for, in YYYY-MM-DD format.

from_datestring

Start of the clearing date range, in YYYY-MM-DD format. Requires to_date.

to_datestring

End of the clearing date range, in YYYY-MM-DD format. Requires from_date.

pageinteger

The page number to retrieve.

Default: 1

limitinteger

The number of transactions to return per page.

Default: 10

Returns

Returns a list of reconciliation transaction objects.

idstring

Identifier of the reconciliation result. With settlement_id it is txrcn_ followed by the settlement's digits.

resourcestring

String representing the object's type.

dataarray of objects

Array of reconciliation transaction objects.

Show 30 child attributesHide child attributes
idstring

Unique identifier of the related transaction.

resourcestring

The transaction's object type. attempt is a declined attempt in a payment session, and retried_attempt an attempt that Pay.com retried.

One of attempt, charge, hold, refund, payout or retried_attempt.

merchantstring

Unique identifier of the merchant.

merchant_referencestring

Your unique identifier for the merchant.

payment_sessionstring

Unique identifier of the Payment Session, if the transaction was created through hosted checkout.

createdstring

Time at which the object was created, in ISO 8601 format.

referencestring

A unique string to reference the transaction, useful for reconciliation with your internal systems.

statusstring

Status of the transaction. One of succeeded or failed. A charge can also be succeeded_partially, approved for less than the amount requested, or awaiting_final_confirmation, approved and waiting for the processor's final confirmation.

One of succeeded, failed, succeeded_partially or awaiting_final_confirmation.

failure_codestring

Error code explaining the reason for failure, if applicable.

currencystring

Three-letter ISO currency code, in lowercase.

amountinteger

Transaction amount, in the smallest unit of currency. Negative for refunds and payouts.

settlement_currencystring

Three-letter ISO currency code of the settlement, in lowercase.

settlement_amountinteger

Amount in the settlement currency, in its smallest unit. Negative for refunds and payouts.

exchange_ratenumber or null

Exchange rate used to convert amount to the settlement currency. Null when the two currencies are the same.

net_amountinteger

Amount after fees, in the smallest unit of the settlement currency.

fee_interchangenumber or null

Interchange fee, in the smallest unit of the settlement currency, as a negative number that can have a fractional part. Null on blended pricing.

fee_networknumber or null

Card network fee, in the smallest unit of the settlement currency, as a negative number that can have a fractional part. Null on blended pricing.

fee_processingnumber or null

Pay.com's processing fee, in the smallest unit of the settlement currency, as a negative number that can have a fractional part. On blended pricing, the whole fee.

metadatastring or null

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.

jurisdictionstring

Card jurisdiction. One of domestic, international, or intraregional.

One of domestic, international or intraregional.

payment_method_typestring

The type of payment method used.

payment_methodstring

Unique identifier of the Payment Method used.

payment_method_serializedstring

Masked representation of the card number.

payment_method_card_brandstring

Card brand. One of visa, mastercard, amex, discover, or unionpay.

One of visa, mastercard, amex, discover or unionpay.

payment_method_card_fundingstring

Card funding type. One of credit, debit, or prepaid.

One of credit, debit or prepaid.

payment_method_card_issuer_namestring

Name of the card issuer.

payment_method_card_issuer_countrystring

Two-letter ISO country code of the card issuer.

customer_idstring

Unique identifier of the Customer.

customer_reference_idstring

Your unique identifier for the customer.

customer_emailstring

The customer's email address.

last_pageboolean

Whether this page is the last page of results.

pageinteger

Current page number.

total_pagesinteger

Total number of pages available.

total_recordsinteger

Total number of records available.

Errors

400
Invalid request parameters.
401
The API key or access token is missing, unknown or no longer works (invalid_key, invalid_token, legacy_keys_ended, legacy_keys_off or permission_denied).
403
The request was refused: the API key may not make it (for example resource_not_allowed, key_disabled, network_not_allowed, pci_required or merchant_required), or this resource isn't enabled for your account (permission_denied). code says why.
500
Internal server error.
503
Service unavailable. Retry after the number of seconds in Retry-After, or after a few seconds when there's none.
Was this page helpful?