🛡️Setup S2S Postback
You can configure the S2S postback for the application in the dashboard while adding new app inside manage app section.
Last updated
// Signature Authentication
$userId = $_REQUEST['user_id'];
$offer_id = $_REQUEST['offer_id'];
$coin_amount = (int)$_REQUEST['amount'];
$signature = $_REQUEST['signature'];
$task_id = $_REQUEST['task_id'];
$task_name = $_REQUEST['task_name'];
$currency_name = $_REQUEST['currency_name '];
$calculated_signature = sha1($userId.$offer_id.$coin_amount."YOUR_APPLICATION_KEY"."YOUR_APPLICATION_SECRET_KEY");
if($signature === $calculated_signature){
// Request is valid
}