curl --request POST \
--url https://api.paygentic.io/v0/sources/{id}/events/bulk-approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"eventIds": [
"<string>"
]
}'
{
"processed": 123,
"failed": 123,
"details": {
"processed": [
"<string>"
],
"failed": [
{
"id": "<string>",
"error": "<string>"
}
]
}
}
Approve multiple pending source events at once
curl --request POST \
--url https://api.paygentic.io/v0/sources/{id}/events/bulk-approve \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"eventIds": [
"<string>"
]
}'
{
"processed": 123,
"failed": 123,
"details": {
"processed": [
"<string>"
],
"failed": [
{
"id": "<string>",
"error": "<string>"
}
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Unique identifier for a source
Bulk approval results
The response is of type object
.