POST
/
sources
/
{id}
/
events
/
{eventId}
/
approve
Approve source event
curl --request POST \
  --url https://api.paygentic.io/v0/sources/{id}/events/{eventId}/approve \
  --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"
}

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

eventId
string
required

Unique identifier for a source event

Response

200
application/json

Event approved successfully

The response is of type object.