PUT
/
v1
/
webhook-events
/
{webhook_event_id}

Headers

X-BUSINESS-API-KEY
string
required

Path Parameters

webhook_event_id
string
required

The Webhook Event id

Body

application/json
name
string

The name of the webhook event. It is a required field.

url
string

The URL of the webhook, must be a valid URL with https protocol. This is the URL that the webhook will send the event data to. It is a required field.

event_types
enum<string>[]

The event types that the webhook will listen to. It is a required field.

Available options:
charge.created,
charge.updated,
payout.created,
order.created,
order.updated,
invoice.created,
invoice.updated,
transfer.created,
transfer.updated

Response

200 - application/json
id
string
required
business_id
string
required
name
string
required
url
string
required
event_types
string[]
required
created_at
string
required
updated_at
string
required