List deliveries for a webhook
Changed onNOTE: Webhook deliveries are retained for 7 days after the last delivery attempt.
Request
- Base URLhttps://api.sandbox.zeptopayments.com
- URLhttps://api.sandbox.zeptopayments.com/webhooks/{webhook_id}/deliveries
- AuthOAuth 2Authorization code: /oauth/authorizeToken URL: /oauth/token
Path parameters
Single value, exact match
Query parameters
Filter deliveries by ref (WebhookDelivery.data.ref), single value, exact match
Number of results per page, single value, exact match
Display all webhook deliveries after this webhook delivery offset UUID, single value, exact match
See (Data schemas) for a list of possible values, single value, exact match
Display all webhook deliveries after this date. Date/time UTC ISO 8601 format, single value, exact match
Filter deliveries by HTTP response status code. Values may be exact codes, inclusive ranges, or literal null, separated by commas. For example, 200,400-499,null.
The literal null filters for delivery attempts that received no HTTP response.
Filter deliveries by state, single value / multiple values separated by commas. See Our delivery promise
Response
OK
Example response
{
"data": [
{
"id": "957d40a4-80f5-4dd2-8ada-8242d5ad66c1",
"event_type": "payout_request.added",
"state": "completed",
"response_status_code": 200,
"created_at": "2021-09-02 02:24:50 UTC",
"payload_data_summary": [
{
"ref": "PR.ct5b"
}
]
},
{
"id": "29bb9835-7c69-4ecb-bf96-197d089d0ec3",
"event_type": "creditor_debit.scheduled",
"state": "completed",
"response_status_code": 200,
"created_at": "2021-09-02 02:24:50 UTC",
"payload_data_summary": [
{
"ref": "D.hyy9"
},
{
"ref": "D.6st93"
}
]
}
]
}Changes
- breaking
removed the enum value
2xxfrom the propertyitems/of thequeryrequest parameterresponse_status_code - breaking
removed the enum value
4xxfrom the propertyitems/of thequeryrequest parameterresponse_status_code - breaking
removed the enum value
5xxfrom the propertyitems/of thequeryrequest parameterresponse_status_code - info
added the non-success response with the status
- breaking