Xsolla-logo

打开或关闭Webhook

put/projects/{project_id}/ipn_enabled

启用/禁用Webhook。

Request
Security:
path Parameters
project_id
required
integer

项目ID。

Request Body schema: application/json
ipn_enabled
boolean

如为true,发生特定事件时,艾克索拉会向Webhook配置的URL发送一个HTTP负载正文。Webhook URL在payment_url参数中设置。

Responses
204

No Content.

404

Not Found.

Request samples
application/json
{
  • "ipn_enabled": true
}