Skip to main content
GET
/
api
/
recovery
/
paywall-status
Get Customer Paywall Status
curl --request GET \
  --url https://api.revtain.com/api/recovery/paywall-status \
  --header 'X-API-KEY: <api-key>'
{ "isPastDue": true, "totalOwedCents": 4900, "currency": "USD", "failedPaymentCount": 1, "oldestFailureAt": "2026-05-14T09:12:00.000Z" }

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.

Query Parameters

customerEmail
string<email>
required

The customer's email address — the same value passed as customerEmail on /api/recovery/execute.

Response

Paywall status

isPastDue
boolean

Whether the customer currently has one or more unrecovered failed payments.

Example:

true

totalOwedCents
integer

Total outstanding across all unrecovered failed payments, in the smallest currency unit.

Example:

4900

currency
string
Example:

"USD"

failedPaymentCount
integer

Number of unrecovered failed payments for this customer.

Example:

1

oldestFailureAt
string<date-time> | null

Timestamp of the oldest unrecovered failure. Null when the customer is not past due.

Example:

"2026-05-14T09:12:00.000Z"