Bonuses🔗
Study the “General Information” and the “Signature Verification” sections first.
For more information on what bonuses are, see the ["Bonuses"] section (../../../bonus/index.md).
This request is sent to the game server when you need to give out a bonus to a user. The request contains all the necessary parameters for this.
Data on bonus:
[bonus] => Array (
[id] => 25
[userId] => e7b9bdd689f099cb0490ab6a25e0139b
[deviceId] => 8fdd6ce268d633837ed987506bc1e905fcd62ef9
[bonus_code] => bonus_code
[bonus_object_id] => 45
[cnt] => 12
[comment] => Inter-server send test
[appId] => 38
[ctime] => 1364306683
[stime] => 0
[rtime] => 0
[atime] => 1364306683
),
[appId] => 38,
[appVersion] => 1.0.3,
[requestUserId] => e7b9bdd689f099cb0490ab6a25e0139b,
[user] => Array (...),
[device_application] => Array (...),
[device] => Array (...)
If your server successfully processed the request, you need to return the JSON string {"status": 0, "error": ""}. Otherwise, you can return a negative status and the error message {"status": -19, "error": "There is no such character!" }.
Last update: 2020-04-13
Created: 2020-01-16
Created: 2020-01-16