Subscription Payment Attempts

Use these endpoints to inspect subscription payment attempts.

Subscription Payment Attempts

-H "x-api-key: your_secret_key"
GET {{host}}/v1/subscriptions/{id}/payment-attempts?page=1&limit=20

Invoice Payment Attempts

GET {{host}}/v1/subscriptions/invoices/{invoiceId}/payment-attempts?page=1&limit=20

Query Parameters

FieldData TypeRequiredDescription
pageintegerNoPage to retrieve. Defaults to 1.
limitintegerNoRecords per page. Maximum is 100.
orderstringNoASC or DESC.
{
  "status": true,
  "message": "Success",
  "code": 200,
  "data": {
    "page": 1,
    "limit": 20,
    "total": 1,
    "pageCount": 1,
    "hasPreviousPage": false,
    "hasNextPage": false,
    "data": [
      {
        "id": "ATTEMPT_abc123",
        "status": "PENDING",
        "failureCategory": null,
        "createdAt": "2026-05-20T10:15:00.000Z"
      }
    ]
  }
}