Skip to main content
POST
Create a webhook subscription

Authorizations

Authorization
string
header
required

Pass your API key as a bearer token: Authorization: Bearer <API_KEY>.

Body

application/json
event_name
string
required

Event type from GET /events, such as payout.updated or transaction.posted. Create a separate subscription for each event type you need.

callback_url
string<uri>
required

The URL to deliver events to.

Response

The subscription was created.

data
object