Data
Read transaction details from API responses and webhooks, receive reports, reconcile cleared transactions and settlements, and query data in bulk.
Pay.com records every transaction from authorization to the payout to your bank, across every acquirer and processor your payments go through. This section shows how to read that data and bring it into your own systems.
Read transaction data
Where a transaction was processed, its retries, its network data such as the ARN, and its failure codes.
Reporting
Webhooks, daily reports, and custom reports, delivered over SFTP, to Amazon S3, or by email.
Reconciliation
How transactions clear, how they reach a settlement, and how to match both to your records.
Bulk queries
List charges, refunds, payouts, disputes, and more through the API, 100 at a time.
Find the data you need
Each question has a place in the API, the events, or the reports.
| Question | Where to look |
|---|---|
| Which acquirer and settlement account processed a payment? | underlying_processing_details on the charge. See Where a transaction was processed. |
| Was the payment retried, and why? | retry_attempts on the charge. See Attempts and retries. |
| What are its ARN, RRN, PAR, and authorization code? | underlying_network_details on the charge or refund. See Network data. |
| Why was it declined? | failure_code, the network's raw response code, and the processor's own code. See Failure codes. |
| What did it cost, and what did I receive? | The cash flow transaction, or the transaction reconciliation report |
| When will I be paid? | available_on on the cash flow transaction, and your settlements |
| What did yesterday's transactions add up to? | The daily reports |
| What's in a deposit to my bank? | The settlement the deposit's reference names |
How your data builds up
A payment's data arrives in stages. Each stage adds fields to its objects and sends events.
- Authorization. The charge has its status, where it was processed, its
retries, and the network's response. Pay.com sends
charge.succeededorcharge.failed. - Clearing. The acquirer's clearing data confirms the transaction. Pay.com
books the final fees, adds network data such as the ARN, and creates the
cash flow transaction. It sends
cashflow_transaction.created, andcharge.updatedwhen the ARN arrives. - Reports. Once the day's clearing data from all your providers is in, Pay.com generates the daily reports.
- Settlement. On your schedule, Pay.com pays out the cleared transactions,
sends
settlement.paid, and generates the settlement report.
Settlement accounts
All payout data is scoped to a settlement account: an account with an
acquirer or processor, in one settlement currency, with the prefix sa_. If
you process transactions in more than one currency, you have a settlement
account for each, with its own balance and settlements. See
Settlements.
Next steps
- Read transaction data: The fields that describe how a transaction was processed.
- Reporting: Choose how to receive your data.
- Reconciliation: Match cleared transactions and settlements to your records.