GET
/
webhooks
/
{webhook_id}
/
events
curl --request GET \
  --url https://api.live.paisr.tech/{version}/webhooks/{webhook_id}/events \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "events": [
      {
        "id": "wev_123456",
        "body": {
          "id": "inv_123456",
          "event": "invoice.paid"
        },
        "status": "success",
        "type": "invoice.paid",
        "can_retry": true,
        "retry_count": 0,
        "last_retry_at": "2023-11-07T05:31:56Z",
        "next_retry_at": "2023-11-07T05:31:56Z",
        "created_at": "2023-11-07T05:31:56Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

webhook_id
string
required

The Webhook ID.

Response

200
application/json
Successfully retrieved the list of webhook events.
success
boolean
Example:

true

data
object