curl --request POST \
--url https://api.paygentic.io/v0/sources/{id}/events/{eventId}/reject \
--header 'Authorization: Bearer <token>'
{
"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"
}
Reject a pending source event
curl --request POST \
--url https://api.paygentic.io/v0/sources/{id}/events/{eventId}/reject \
--header 'Authorization: Bearer <token>'
{
"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"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier for a source
Unique identifier for a source event
Event rejected successfully
The response is of type object
.