List subscription collection attempts
Lists collection attempts for a recurring-payment subscription.
Path parameters
SDP subscription record ID.
SDP subscription record ID.
Query parameters
Collection attempt status.
Collection attempt status.
Headers
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Selects the active project for this request. Required for session/dashboard callers. Ignored when authenticating with an API key, whose scope is fixed to the key's project.
Response
Collection attempt list
Example response
{
"data": {
"collectionAttempts": [
{
"id": "psca_example",
"organizationId": "org_example",
"projectId": "prj_example",
"transferId": "xfr_example",
"amount": "100.00",
"dueAt": "2025-01-01T00:00:00.000Z",
"attemptedAt": "2025-01-01T00:00:00.000Z",
"status": "pending",
"createdAt": "2025-01-01T00:00:00.000Z",
"updatedAt": "2025-01-01T00:00:00.000Z"
}
]
},
"meta": {
"requestId": "req_example",
"timestamp": "2025-01-01T00:00:00.000Z"
}
}Changes
Changed in 1 of the 10 revisions of this API.5
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status400response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status401response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status403response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status404response-property-enum-value-added
- ●
added the new
SERVICE_UNAVAILABLEenum value to theerror/coderesponse property for the response status500response-property-enum-value-added
- ●