Surveywall Callbacks

For Web Surveywalls, you have to manually manage your users' currencies on your own servers.

Adding your Callback URL

You can configure a conversion callback URL in our publisher dashboard. To do so, navigate to Placements / Apps, edit your placement and set the Callback URL to your server's postback URL:

If this is the callback URL you set for your offerwall placement:

https://your-server.com/callback?network=ayetstudios&amount={currency_amount}&external_identifier={external_identifier}&payout_usd={payout_usd}

A typical conversion callback sent by our server will look like this:

https://your-server.com/callback?network=ayetstudios&amount=360&external_identifier=username&payout_usd=0.36

This assumes you set external_identifier to username in the original Offerwall URL for that user, the currency conversion rate in your placement was 1000 per $1 and the user completed an offer with a $0.36 payout.

Important: Your server must always reply with an HTTP 200 status code to our postbacks. Otherwise we will resend the postback 12 times over a span of one hour before giving up.

Enabling & Processing Reversal Callbacks

You can automatically process Reversals made to your account and placements by enabling Reversal Callbacks.

Simply navigate to Placements / Apps, edit your placement and check the box Enable Reversal Callbacks.

Once enabled we will send reversal callbacks directly to the callback URL you set up for your placements.

The unique transaction ID we send for each conversion will carry an "r-" prepended to the ID for each reversal callback.

For chargebacks the original transaction ID of a conversion is prepended with "r-".

Example Transaction IDs:

381f99333613b41392b15183d69a7240308e8461 -> Regular Callback

r-381f99333613b41392b15183d69a7240308e8461 -> Reversal Callback

Below is a list of all relevant parameters to use in order to distinguish reversal callbacks from regular callbacks.

Available Macros for Callback URLs

Note: If the parsing capabilities of your callback endpoint are limited, each of the parameters below is also available in a sanitized version. By suffixing any of the parameters below with _sanitized (for example {external_identifier_sanitized}), any character that is not in 0-9 a-z A-Z - _ will be removed. Whitespaces will be replaced by underscores.

Important: To ensure each conversion is granted only once to your users, always use {transaction_id}. Occasional callback resends may occur for various reasons. Utilizing {transaction_id} prevents granting conversions more than once.

Last updated