Skip to main content
POST

Authorizations

Authorization
string
header
required

HS256-signed JWT bearer token, obtained via the OAuth2 client-credentials grant (see Authentication).

Body

application/json

Event request

Lifecycle event ingestion request.

data
object
required

Event-type-specific payload. The fields depend on the event type — see Lifecycle events.

decision_id
string<uuid>
required

The Specter decision this event is linked to.

Example:

"1e7b9c0a-2d43-4f6a-8d29-c4a1f2d05b3e"

occurred_at
string<date-time>
required

When the payment event occurred (ISO 8601).

Example:

"2026-06-01T10:04:00Z"

type
enum<string>
required

The type of payment lifecycle event.

Available options:
authorization,
capture,
refund,
void,
chargeback,
fraud_report,
failed

Response

Event entry

Persisted lifecycle event log entry.

id
string<uuid>
Example:

"4a8c2e6d-7f1b-4d9a-b3e5-9c6f2a8d4e1b"

backend_notifications
object[]
data
object

Event-type-specific payload. The fields depend on the event type — see Lifecycle events.

Example:
decision_id
string<uuid>
Example:

"1e7b9c0a-2d43-4f6a-8d29-c4a1f2d05b3e"

occurred_at
string<date-time>
Example:

"2026-06-01T10:04:00Z"

processed_at
string<date-time>
Example:

"2026-06-01T10:04:02Z"

type
enum<string>
Available options:
authorization,
capture,
refund,
void,
chargeback,
fraud_report,
failed
Example:

"authorization"