Skip to content

List webhook deliveries

GET
/gateway/webhooks/
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.

limit
integer

Page size (default 20, max 100).

starting_after
string

Return deliveries created before this delivery id (forward pagination).

Media typeapplication/json

Cursor-paginated list of webhook deliveries for the account.

object
data
required
Array<object>

Serializer for merchant webhook delivery history.

object
id
required
string
session_id
required
string
event
required
Event type

E.g. session.succeeded, session.failed

string
<= 50 characters
event_id

Stable ID shared across retries for merchant deduplication

string
<= 64 characters
url
required
Webhook URL
string format: uri
<= 2048 characters
attempt_number
integer
<= 2147483647
status
  • PENDING - Pending
  • SUCCEEDED - Succeeded
  • FAILED - Failed
string
Allowed values: PENDING SUCCEEDED FAILED
http_status_code
integer
nullable <= 2147483647
response_time_ms
Response time (ms)
integer
nullable <= 2147483647
error_message
string
next_retry_at

Scheduled time for next retry attempt

string format: date-time
nullable
created_at
required
string format: date-time
has_more
required

True when more results exist past this page (use the last id as starting_after).

boolean
Example
{
"data": [
{
"status": "PENDING"
}
]
}

One or more fields failed validation.

Media typeapplication/json

Problem detail with a per-field errors array (422 responses).

object
type
required

URI identifying the error type.

string format: uri
title
required

Short, human-readable summary of the error type.

string
status
required

HTTP status code.

integer
detail
required

Human-readable explanation specific to this occurrence.

string
errors
required
Array<object>

A single field-level validation error inside a problem+json body.

object
field
required

Name of the field that failed validation.

string
code
required

Machine-readable error code, e.g. ‘required’.

string
message
required

Human-readable description of the failure.

string
Examplegenerated
{
"type": "https://example.com",
"title": "example",
"status": 1,
"detail": "example",
"errors": [
{
"field": "example",
"code": "example",
"message": "example"
}
]
}