In order for the user to redeem his collected rewards, they must be paid out. A reward can only be paid out exactly once.
In order to use the server-to-server payout, you need to create an endpoint on your server that we can request in order to notify you of the user's rewards. Once you receive the notification, it will be up to you to deliver it to the user.
We highly recommend using server-to-server payout for rewards due to higher security and better transparency on your end.
We will call your endpoint with an
HTTP GETrequest and the configured parameters:
To ensure that requests come from us, you should calculate the
sidparameter and compare it to the parameter sent in the callback. It is calculated as follows:
sid = sha1(concatenate(trans_uuid, user_uuid, currency, coin_amount, device_id, sdk_app_id, s2s_token))We will supply you with the parameter
Example Endpoint URL: