错误通知
描述
资金处理回调接口返回http状态码不是200的时候,会触发错误通知
请求方式
| Item | Name | Sample |
|---|---|---|
| Path | Path | <MerchantHost>/error_notify Like: http://www.game.com/error_notify |
| Request Method | Post |
请求参数
| Name | Type | Required | Description |
|---|---|---|---|
| Sign Params | Y | Api 接入规范 | |
| method | string | Y | 调用回调方法,如debit |
| payload | string | Y | 调用回调参数 |
| err_msg | string | Y | 错误信息 |
返回参数(不需要返回)
请求示例
Http Request
Post Method
URL : <MerchantHost>/error_notify?mid=1697028447&sign=7e0c05f463f4a4111202b948f20a10d77263d5bb347ff2f339e77ef32062556e&ts=1713768205
{"method":"debit","payload":"{\"biz_id\":\"gp0001930205169641025536-1-3\",\"round_id\":\"1930205169641025536\",\"game_id\":1797709382267,\"user_id\":\"1\",\"currency\":\"PHP\",\"amount\":\"50\",\"reason\":\"lose\",\"game_name\":\"monopoly\",\"game_code\":\"gp_table_32\"}", "err_msg":"http status code error, code:404"}