Skip to main content
POST
/
v0
/
sources
/
{id}
/
events
/
bulk-approve
Bulk Approve
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>"
  ]
}'
{
  "details": {
    "failed": [],
    "processed": [
      "sev_a1b2c3d4e5f6g7h8",
      "sev_b2c3d4e5f6g7h8i9"
    ]
  },
  "failed": 0,
  "processed": 2
}

Authorizations

Authorization
string
header
required

API key authentication

Path Parameters

id
string
required

Unique identifier for a source

Body

application/json
eventIds
string[]
required

IDs of events to approve

Unique identifier for a source event

Response

Bulk approval results

processed
integer

Number of successfully approved events

failed
integer

Number of events that failed to process

details
object