Skip to content

The kinds of event a webhook can be sent

GET
/v1/webhook-events
curl --request GET \
--url https://api.sotirea.com/v1/webhook-events \
--header 'Authorization: Bearer <token>'

Done.

Media typeapplication/json
object
data
required
Array<object>
object
description
required
string
type
required

Like payment.confirmed: what a webhook’s events list names.

string
meta
object
request_id

Quote it when asking about a request; it is in the X-Request-Id header too.

string
success
required

Example

{
"success": true
}

Refused or failed, in words a person can act on.

Media typeapplication/json
object
error
required
object
code
required
string
fields
object
key
additional properties
string
message
required
string
meta
object
request_id

Quote it when asking about a request.

string
success
required

Example

{
"success": false
}