Risexpay Demo
注册 Payin Webhook 结果
这里展示 Webhook 注册是否成功和接口原始响应。
请求失败
HTTP 301
原始响应 JSON
{
"ok": false,
"http_status": 301,
"json": null,
"raw_body": "<!DOCTYPE html>\n<html style=\"height:100%\">\n<head>\n<meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\" />\n<title> 301 Moved Permanently\r\n</title><style>@media (prefers-color-scheme:dark){body{background-color:#000!important}}</style></head>\n<body style=\"color: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;\">\n<div style=\"height:auto; min-height:100%; \"> <div style=\"text-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;\">\n <h1 style=\"margin:0; font-size:150px; line-height:150px; font-weight:bold;\">301</h1>\n<h2 style=\"margin-top:20px;font-size: 30px;\">Moved Permanently\r\n</h2>\n<p>The document has been permanently moved.</p>\n</div></div></body></html>\n",
"response_headers": {
"date": "Fri, 24 Jul 2026 20:14:36 GMT",
"content-type": "text/html",
"content-length": "795",
"connection": "keep-alive",
"location": "https://risexpay.in/api/v1/imb/register_webhook",
"platform": "hostinger",
"panel": "hpanel",
"content-security-policy": "upgrade-insecure-requests",
"server": "hcdn",
"alt-svc": "h3=\":443\"; ma=86400",
"x-hcdn-request-id": "22393846cdab50451497155eed38a7dd-phx-edge6",
"x-hcdn-cache-status": "DYNAMIC",
"x-hcdn-upstream-rt": "0.249"
},
"response_signature_valid": null,
"request": {
"method": "POST",
"url": "https://risexpay.in/api/v1/imb/register_webhook.php",
"headers": [
"Content-Type: application/json",
"Accept: application/json",
"X-Timestamp: 1784924076",
"X-Signature: e45091c809f89a3d38b9f390e9135f05b5d765b99fa9cfc1e1884b9bef874314"
],
"payload": {
"apikey": "i5gzcd56tv988ea1",
"mid": "RPAYZ3734017332",
"url": "https://yourwebsite.com/webhook/imb"
},
"canonical_string": "timestamp=1784924076&apikey=i5gzcd56tv988ea1&mid=RPAYZ3734017332&url=https://yourwebsite.com/webhook/imb",
"signature": "e45091c809f89a3d38b9f390e9135f05b5d765b99fa9cfc1e1884b9bef874314"
}
}