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=20Invoice Payment Attempts
GET {{host}}/v1/subscriptions/invoices/{invoiceId}/payment-attempts?page=1&limit=20Query Parameters
| Field | Data Type | Required | Description |
|---|---|---|---|
| page | integer | No | Page to retrieve. Defaults to 1. |
| limit | integer | No | Records per page. Maximum is 100. |
| order | string | No | ASC 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"
}
]
}
}Updated 2 days ago
