Skip to main content
POST
Register webhook

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
url
string<uri>
required

URL that receives the POST for each subscribed event.

events
enum<string>[]
required

Events subscribed by this endpoint. At least one is required.

Required array length: 1 - 17 elements
Available options:
transaction_created,
transaction_paid,
transaction_refunded,
transaction_updated,
transfer_completed,
transfer_canceled,
transfer_created,
transfer_updated,
infraction,
card_declined,
sale_lost,
cart_abandoned,
product_canceled,
release_access,
vturb_paid,
vk_metrics_purchase,
refund_requested
name
string

Label of the webhook, used to recognize it in the list.

Required string length: 1 - 255
isActive
boolean
default:true

false registers the webhook already paused.

productIds
string[]

Restricts the webhook to these products. When omitted, it applies to all products of the account.

Maximum array length: 50
Pattern: ^[cC][^\s-]{8,}$
offerIds
integer[]

Restricts the webhook to these offers. When omitted, it applies to all offers.

Maximum array length: 50
Required range: x > 0

Response

Webhook registered.

Webhook registered.

success
boolean
required

Always true in a successful response.

data
object
required