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

The event type to subscribe to, e.g. payout.updated.

callback_url
string<uri>
required

The URL to deliver events to.

Response

The subscription was created.

data
object