Skip to main content
POST
TypeScript

Yetkilendirmeler

Authorization
string
header
gerekli

An Account API key, an App API key, an account access token, or an account-scoped user token. Prepend the key or token with Bearer, for example Bearer ***************************. See Auth & API keys for how to get each one.

Scopes

developer:manage_webhook

Başlıklar

Idempotency-Key
string

A unique key that makes this request safe to retry. See Idempotent requests.

Maximum string length: 255
Örnek:

"d9105228-4a08-46b1-8b91-42fed586d383"

Api-Version-Date
string

Pins the request to a dated API version.

Örnek:

"2026-11-17"

Yol Parametreleri

id
string
gerekli

Webhook ID, prefixed hook_.

Gövde

application/json
event
string
gerekli

The event to test the webhook for, in dot form (for example payment.succeeded).

Örnek:

"payment.succeeded"

Yanıt

test event sent

body
any
gerekli

The body of the webhook response.

Örnek:

"OK"

status
integer
gerekli

The HTTP response code of this request.

Örnek:

200

success
boolean
gerekli

Whether or not the webhook test was successful.

Örnek:

true