Skip to main content
GET
/
api
/
recovery
/
status
/
{transactionId}
Get Recovery Status by Transaction ID
curl --request GET \
  --url https://api.revtain.com/api/recovery/status/{transactionId} \
  --header 'X-API-KEY: <api-key>'
{
  "transactionId": "01KKZ14FEZK152ZBXEM2XK1B0C",
  "status": "succeeded",
  "recovered": true,
  "amount": 5000,
  "currency": "USD",
  "recoveredAt": "2026-03-17T23:15:21.000Z",
  "strategyUsed": "primary",
  "attemptCount": 1,
  "lastDeclineCode": "do_not_honor"
}

Documentation Index

Fetch the complete documentation index at: https://docs.revtain.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-KEY
string
header
required

Your Revtain API key (format: rev_xxx). Provided during onboarding.

Path Parameters

transactionId
string
required

The transaction ID returned from /api/recovery/execute.

Response

Recovery status

transactionId
string
Example:

"01KKZ14FEZK152ZBXEM2XK1B0C"

status
enum<string>
Available options:
succeeded,
failed,
blocked,
unknown
Example:

"succeeded"

recovered
boolean
Example:

true

amount
integer
Example:

5000

currency
string
Example:

"USD"

recoveredAt
string<date-time> | null
Example:

"2026-03-17T23:15:21.000Z"

strategyUsed
string
Example:

"primary"

attemptCount
integer

Number of gateway attempts made during the cascade.

Example:

2

lastDeclineCode
string | null

The most recent decline code seen for this recovery.

Example:

"do_not_honor"

What to do next. Present only when the recovery did not succeed.

Available options:
request_card_update,
retry_later,
manual_review,
monitor
Example:

"retry_later"

Human-readable explanation of the recommended action. Present only when the recovery did not succeed.

Example:

"The issuer returned a soft decline. A later retry, or a card update, may succeed."