Skip to content

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

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

Request Parameters

NameTypeRequiredDescription
Sign ParamsYAPI Integration Specification
methodstringYInvoke the callback method, such as debit
payloadstringYInvoke the callback parameters
err_msgstringYError 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"}