Skip to content

错误通知

描述

资金处理回调接口返回http状态码不是200的时候,会触发错误通知

请求方式

ItemNameSample
PathPath<MerchantHost>/error_notify
Like: http://www.game.com/error_notify
Request MethodPost

请求参数

NameTypeRequiredDescription
Sign ParamsYApi 接入规范
methodstringY调用回调方法,如debit
payloadstringY调用回调参数
err_msgstringY错误信息

返回参数(不需要返回)

请求示例

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"}