curl --request GET \
--url https://api.paygentic.io/v0/sources/{id}/events \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "sev_a1b2c3d4e5f6g7h8",
"createdAt": "2024-03-10T14:30:00Z",
"customerId": "cus_q3r4s5t6u7v8w9x0",
"errorMessage": null,
"externalEventId": "evt_stripe_123456",
"processedAt": null,
"processedBy": null,
"rawData": {
"amount": 10000,
"currency": "usd",
"description": "Stripe revenue event"
},
"sourceId": "src_x3y4z5a6b7c8d9e0",
"status": "pending",
"subscriptionId": "sub_z1a2b3c4d5e6f7g8",
"updatedAt": "2024-03-10T14:30:00Z",
"usageEventIds": []
},
{
"id": "sev_b2c3d4e5f6g7h8i9",
"createdAt": "2024-03-10T14:45:00Z",
"customerId": "cus_q3r4s5t6u7v8w9x0",
"errorMessage": null,
"externalEventId": "evt_stripe_789012",
"processedAt": "2024-03-10T15:00:00Z",
"processedBy": "usr_platform",
"rawData": {
"amount": 25000,
"currency": "usd",
"description": "Stripe revenue event"
},
"sourceId": "src_x3y4z5a6b7c8d9e0",
"status": "processed",
"subscriptionId": "sub_z1a2b3c4d5e6f7g8",
"updatedAt": "2024-03-10T15:00:00Z",
"usageEventIds": [
"usg_y1z2a3b4c5d6e7f8"
]
}
],
"pagination": {
"limit": 10,
"offset": 0,
"total": 2
}
}List events for a specific source with optional status filtering
curl --request GET \
--url https://api.paygentic.io/v0/sources/{id}/events \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "sev_a1b2c3d4e5f6g7h8",
"createdAt": "2024-03-10T14:30:00Z",
"customerId": "cus_q3r4s5t6u7v8w9x0",
"errorMessage": null,
"externalEventId": "evt_stripe_123456",
"processedAt": null,
"processedBy": null,
"rawData": {
"amount": 10000,
"currency": "usd",
"description": "Stripe revenue event"
},
"sourceId": "src_x3y4z5a6b7c8d9e0",
"status": "pending",
"subscriptionId": "sub_z1a2b3c4d5e6f7g8",
"updatedAt": "2024-03-10T14:30:00Z",
"usageEventIds": []
},
{
"id": "sev_b2c3d4e5f6g7h8i9",
"createdAt": "2024-03-10T14:45:00Z",
"customerId": "cus_q3r4s5t6u7v8w9x0",
"errorMessage": null,
"externalEventId": "evt_stripe_789012",
"processedAt": "2024-03-10T15:00:00Z",
"processedBy": "usr_platform",
"rawData": {
"amount": 25000,
"currency": "usd",
"description": "Stripe revenue event"
},
"sourceId": "src_x3y4z5a6b7c8d9e0",
"status": "processed",
"subscriptionId": "sub_z1a2b3c4d5e6f7g8",
"updatedAt": "2024-03-10T15:00:00Z",
"usageEventIds": [
"usg_y1z2a3b4c5d6e7f8"
]
}
],
"pagination": {
"limit": 10,
"offset": 0,
"total": 2
}
}API key authentication
Unique identifier for a source
Filter events by customer ID
1 <= x <= 100x >= 0Filter events by status
pending, processed, failed, rejected Filter events by subscription ID