error_notify
Description
When the fund processing callback interface returns an HTTP status code other than 200, an error notification will be triggered.
Request Method
| Item | Name | Sample |
|---|---|---|
| Path | Path | <MerchantHost>/error_notify Like: http://www.game.com/error_notify |
| Request Method | Post |
Request Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| Sign Params | Y | API Integration Specification | |
| method | string | Y | Invoke the callback method, such as debit |
| payload | string | Y | Invoke the callback parameters |
| err_msg | string | Y | Error message |
Return Parameters (no need to return)
Request Example
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"}