跳转到主要内容
POST
创建 webhook 订阅

授权

Authorization
string
header
必填

会话 JWT(来自注册/登录)或 API key(pk_...)。 也接受 X-API-Key: <token> 作为替代请求头。

请求体

application/json
event_type
enum<string>
必填
可用选项:
payin_credited,
payin_expired,
payout_status_changed,
transfer_received,
crypto_deposit_credited,
crypto_deposit_held,
crypto_deposit_alert,
crypto_withdrawal_status_changed,
banking_customer_status_changed,
banking_operation_status_changed,
aml_screening_updated,
kyc_verification_status_changed,
kyb_verification_status_changed,
kyc_link_completed,
kyb_link_completed,
kyc_document_validated,
kyb_document_validated,
kyc_liveness_completed,
wallet_deposit_received,
wallet_send_status_changed,
wallet_key_exported,
*
callback_url
string<uri>
必填

仅限 HTTPS;localhost 与私有 IP 会被拒绝。

secret
string
必填
Minimum string length: 16

响应

订阅已创建。

id
string<uuid>
event_type
string
callback_url
string
status
string
示例:

"active"

created_at
string<date-time>
secret_stored
boolean
最后修改于 2026年7月19日