GET
/
sources
/
{id}
/
events
List source events
curl --request GET \
  --url https://api.paygentic.io/v0/sources/{id}/events \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "sourceId": "<string>",
      "externalEventId": "<string>",
      "status": "pending",
      "errorMessage": "<string>",
      "usageEventIds": [
        "<string>"
      ],
      "rawData": {},
      "processedBy": "<string>",
      "processedAt": "2023-11-07T05:31:56Z",
      "createdAt": "2023-11-07T05:31:56Z",
      "updatedAt": "2023-11-07T05:31:56Z"
    }
  ],
  "pagination": {
    "limit": 123,
    "offset": 123,
    "total": 123
  }
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Unique identifier for a source

Query Parameters

status
enum<string>

Filter events by status

Available options:
pending,
processed,
failed,
rejected
limit
integer
default:10
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

200
application/json

List of source events

The response is of type object.