List webhook deliveries
const url = 'https://api.paymee.online/api/v1/gateway/webhooks/';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.paymee.online/api/v1/gateway/webhooks/ \ --header 'Authorization: Bearer <token>'List the merchant account’s webhook delivery attempts, newest first, with cursor pagination.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Page size (default 20, max 100).
Return deliveries created before this delivery id (forward pagination).
Responses
Section titled “Responses”Cursor-paginated list of webhook deliveries for the account.
object
Serializer for merchant webhook delivery history.
object
E.g. session.succeeded, session.failed
Stable ID shared across retries for merchant deduplication
PENDING- PendingSUCCEEDED- SucceededFAILED- Failed
Scheduled time for next retry attempt
True when more results exist past this page (use the last id as starting_after).
Example
{ "data": [ { "status": "PENDING" } ]}Missing, malformed, expired, or revoked API key.
RFC 9457 problem detail body (application/problem+json).
object
URI identifying the error type.
Short, human-readable summary of the error type.
HTTP status code.
Human-readable explanation specific to this occurrence.
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example"}A field failed validation (errors lists them), or a business rule refused the request (the type says which).
Problem detail of a 422: a per-field errors array when fields failed validation;
no errors when a business rule refused the request (the type says which).
object
URI identifying the error type.
Short, human-readable summary of the error type.
HTTP status code.
Human-readable explanation specific to this occurrence.
A single field-level validation error inside a problem+json body.
object
Name of the field that failed validation.
Machine-readable error code, e.g. ‘required’.
Human-readable description of the failure.
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example", "errors": [ { "field": "example", "code": "example", "message": "example" } ]}Rate limit exceeded. Wait the number of seconds in the Retry-After header.
RFC 9457 problem detail body (application/problem+json).
object
URI identifying the error type.
Short, human-readable summary of the error type.
HTTP status code.
Human-readable explanation specific to this occurrence.
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example"}Unexpected error; nothing was changed. Safe to retry with backoff.
RFC 9457 problem detail body (application/problem+json).
object
URI identifying the error type.
Short, human-readable summary of the error type.
HTTP status code.
Human-readable explanation specific to this occurrence.
Examplegenerated
{ "type": "https://example.com", "title": "example", "status": 1, "detail": "example"}
