List webhook deliveries for a session
const url = 'https://api.paymee.online/api/v1/gateway/sessions/example/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/sessions/example/webhooks/ \ --header 'Authorization: Bearer <token>'List the most recent webhook delivery attempts for a single payment session.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Prefixed public id of the payment session (e.g. ps_...).
Responses
Section titled “Responses”Webhook deliveries for a single payment session (most recent first).
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
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"}The payment session does not exist for this merchant account.
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"}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"}
