ShiftxPay
API Reference

List delivery attempts

GET
/v1/merchants/me/webhooks/{id}/deliveries
AuthorizationBearer <token>

A secret API key, e.g. Authorization: Bearer sk_test_....

In: header

Path Parameters

id*string

Response Body

application/json

application/json

curl -X GET "https://example.com/v1/merchants/me/webhooks/string/deliveries"
{  "data": [    {      "id": "string",      "event_type": "string",      "attempts": 0,      "delivered": true,      "failed": true,      "status_code": 0,      "last_error": "string",      "next_attempt_at": "2019-08-24T14:15:22Z",      "payload": {},      "created_at": "2019-08-24T14:15:22Z"    }  ]}
{  "error": {    "code": "unauthorized",    "message": "unauthorized"  }}