The Callback is the basis by which you can reward your users. The Callback is a GET request that is sent to your processing script upon the conclusion of a transaction - either a complete C, screenout P, or overquota F.

This request contains important information about which user needs to be rewarded, what offer was taken, and how much virtual currency they should be paid.

Setup Callback

Dynata supports secure hasing on system-to-system callbacks. Please reach out to a Dynata account manager to configure the Callback URL. Follow the steps below to complete your setup.

How to create a Processing Script

  1. Create an endpoint that can receive a GET request to its location.

  2. Reward your users for completes and screen-out rewards (if applicable).

  3. Store information in your database

  4. Respond with a 1 if callback received & processed correctly and 0 if you require us to repeat the callback (can be repeated three more times).

Add the Callback to your application

  1. Go to Apps section.

  2. Select your Application.

  3. Click on the Callback section.

  4. Click on the Setup Callback button.

  5. Enter your Callback URL.

  6. Click Save button.

Callback Responses

Sample processing script location (sometimes referring to a php, aspx, or another script depending on your webapp configuration)

Parameters will be appended with their corresponding variables after the processing script location as follows:

Callback Parameters


will always be transactionComplete


Peanut Labs userId as generated earlier.


Amount paid in dollars to you for this particular transaction.


Enables you to remember for which offer a user has been rewarded for.


F - user screened out of survey, the required number of responses from this demographic has already been met.

C - user successfully completed the transaction.

P - user screened out of survey, does not have the relevant attributes needed.


32 character hex string = md5(concat(offerInvitationId, applicationKey))

You should verify oidHash upon receipt of the callback by recomputing it with the callback offerInvitationId and your ApplicationKey. This will secure against users faking their own id and passing it in if by some chance they come across the script.


Payout to user in your virtual currency. Important for screenout rewards.

integer (default) or float (on request)

Indicates how many points the user should get in your site’s virtual currency. Based on your configured conversion rate on the control panel. Negative values indicate chargebacks.


Unique ID representing a single user participating in a single survey/offer, please include if requesting support for a particular transaction.


32 character hex string = md5(concat(transactionId, current TransactionKey)) You can find your TransactionKey in your Application list.

Optional Parameters


Optional alias identifier to track traffic on campaigns, can be used for testing and segmentation purposes. Please ask our team to enable sub_id for you.

IP Whitelist

We highly recommend whitelisting the following IPs to secure your system from fraudulent callbacks. If the following list is update, you will be notified via email prior to the change.,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,

Setup callback IP whitelist

  1. Go to Apps section.

  2. Select your application.

  3. Click on the Callback section.

  4. Under the IP Whitelist section click the Copy IP Whitelist button to copy the IPs to your clipboard.

How to Test the Callback

First ensure that you have whitelisted the IPs listed in the above section.


  1. Go to Apps section.

  2. Select your Application.

  3. Click on the Callback section.

  4. Click on the Test Callback button.

  5. Fill out the form with the parameters you want and click the invoke Test Callback button.

  6. Get your results.

Callback successful
Callback successful
Callback Failed
Callback Failed