Payment notification API

Description of Requirement:

The SmileOne platform will notify the merchant of the order status and send the in-game products (diamonds, gold coins, etc.) after confirming that the user has successfully paid. Merchant must provide an API for sending in-game products.

NameRequired (Y/N)TypeDescription
game_orderYstringGame order number
uidYstringUser role id
sidNstringGame server id
roleidNstringPlayer UID
productidYstringProduct identifier
amountNstringProduct price
currencyNstringCurrency
trade_noYstringBank flow number
trade_statusYstringOrder status(Check appendix 3
signYstringSignature verification code
//success
{
    "status": 200,
    "game_order": "Game order number",
    "game_status": "Order delivery status",// Check Appendix 3
    "error": ""
}
//error
{
    "status": 201, // Check Appendix 1
    "game_order": "Game order number",
    "game_status": "Order delivery status", // Check Appendix 3
    "error": "cause of error"
}