Postback Whenever a user completes an offer, we'll make a call to the Postback URL that you indicated in your app attaching all the information that you will need to credit your users.
Postback Integration Guide
Our server will make an HTTP GET request to your server, including the following parameters:
subId: The unique identifier for the user who completed the offer.
transId: Unique identification code of the transaction made by your user on Adjoemedia.
reward: The amount of the reward that the user earned for completing the offer.
payout: The offer payout in dollars.
signature: MD5 hash to verify that the call has been made from our servers.
status: Indicates whether to add or subtract the reward amount. "1" means adding virtual currency to the user, and "2" means subtracting it due to issues like fraud or data entry mistakes.
userIp: The user's IP address who completed the action.
campaign_id: ID of the offer completed.
type: Type of offer (Offers/Surveys/PTC/Shortlink).
country: Country (ISO2 form) where the lead comes from.
uuid: Unique identification code of the click made by your user on Adjoemedia.
offer_name: Name of the offer completed.
Note: "Rewards" and "Payout" parameters are always absolute values. Check the "Status" parameter to determine if you need to add or subtract that amount from your users.
Custom Postback Parameters
To receive custom parameter names in your postbacks, specify them in the postback URL like this example:
You can use any of the parameters from the "Postback Parameters" table by enclosing them in {}.
Security
Verify the signature received in the postback to ensure that the call comes from our servers. The signature parameter should match the MD5 hash of subid, transactionid, reward, and your secret key.
"DUP" when you receive a duplicate transaction. This stops further attempts for that transaction.
Our servers wait for a response for a maximum of 60 seconds before a timeout. If a timeout occurs, the request will be retried up to five times in the following hours. Ensure the transaction ID sent to you is unique in your database to prevent duplicate virtual currency rewards.
Postback Example
The following example illustrates how to implement your postback in your website/app:
Very important note:If you are using an application that generates an automatic Postback link, make sure that you need to create a file specific to our platform.
Like Mintly
You must put this file inside this path. for this file *yourdomain/app/Http/Controllers/Postback.php