Attempts and retries
Read the attempts Pay.com made for a charge or hold, why it retried each one, and where each attempt was processed.
Pay.com can make more than one attempt for a payment, for example a fallback to
another settlement account after a decline. A charge or hold lists the attempts
before its final one in retry_attempts, each with its own result, network
data, and settlement account. The charge's own fields describe the final
attempt.
Read the attempts on a charge
GET /v1/charges/{charge_id}
returns retry_attempts, oldest first. The array is empty when Pay.com made
one attempt. Each attempt has these fields:
| Field | Description |
|---|---|
id | The attempt's ID, such as rtratt_685125114794084352_1_1: rtratt_, the charge's digits, the payment attempt's number, and the retry's number |
type | Why Pay.com made another attempt after this one. See Retry types. |
created | When the attempt was made |
failure_code and failure_message | Why the attempt failed |
underlying_network_details and underlying_network_id | The attempt's network data, such as its raw response code |
underlying_processing_details | Where the attempt was processed, including its own settlement_account |
payment_method_options | The options Pay.com applied to the attempt |
Holds have retry_attempts too. The charges and holds in list responses have
an empty retry_attempts, so retrieve each one by ID to read its attempts.
{
"id": "chrg_685125114794084352",
"resource": "charge",
"status": "succeeded",
"underlying_processing_details": {
"settlement_account": "sa_296645958265997350"
},
"retry_attempts": [
{
"id": "rtratt_685125114794084352_1_1",
"created": "2026-03-06T14:02:38.112Z",
"type": "fallback",
"failure_code": "do_not_honour",
"underlying_network_details": {
"network": "visa",
"visa": { "raw_response_code": "05" }
},
"underlying_processing_details": {
"settlement_account": "sa_296645958265997349"
}
}
]
}A declined charge's 400 error response also carries retry_attempts, so you
can read why each attempt failed without another call.
Retry types
type tells you why Pay.com made another attempt.
type | Why Pay.com retried | Controlled by |
|---|---|---|
fallback | The attempt was declined or failed, and a routing rule's fallback sent the payment to another settlement account | Your routing rules |
soft_decline | The issuer asked for authentication, and Pay.com retried with 3D Secure | payment_method_options.card.request_sca_exemption.soft_decline_loop |
network_token_fallback | The attempt with a network token was declined, and Pay.com retried with the card number | payment_method_options.card.network_token.authorization.full_pan_fallback |
abu | The account billing updater updated the card, and Pay.com retried with the new details | payment_method_options.card.account_billing_updater |
decline_recovery | The last fallback was declined, and decline recovery retried the payment | An account setting, which Pay.com turns on |
Fallback lists, soft decline lists, network token fallback lists, and account billing updater lists all match Pay.com's failure codes, not the network's raw codes. See Fallbacks and retries for how each one works.
Follow retries as they happen
Pay.com sends retried_attempt.created before each retry, with the attempt
that's being retried. See
Fallbacks and retries.
Attempts in a payment session
A payment session can have several payment attempts, one for each time the
customer tried to pay, and each payment attempt has its own retry_attempts.
List them with
GET /v1/sessions/payment/{session}/attempts,
or retrieve one
by its psatt_ ID. A payment attempt's amount is the amount
requested. To find the charge or hold a session created, read the session's
charge or hold.
Next steps
- Fallbacks and retries: Set up fallbacks, and the network's limits on retries.
- Failure codes: Read why each attempt failed.
- Where a transaction was processed: The settlement account and route of each attempt.