logo
Postback Configuration (S2S)Configuration
Postback Configuration (S2S)

Postback Configuration (S2S)

Server-to-Server (Postback) callbacks allow your system to receive reward notifications directly from the offerwall via HTTP requests. When a user successfully completes an offer and earns a reward, TarGo sends an HTTP GET request to your configured postback URL

Parameter Configuration

ParameterFormatDescription
{user_id}String / IntegerThe unique user identifier you passed to the offerwall (USER_ID). Used to credit the correct user in your system.
{tx_id}StringUnique transaction ID for the reward event. Used to prevent duplicate credits.
{reward}FloatThe amount of virtual currency you should credit to the user (after applying your multiplier).
{payout}Float (USD)The conversion is in USD. This amount will be credited to your account balance
{status}IntegerEvent status: 1 = Approved, 2 = Reversed / Chargeback (if fraud or invalid).
{offer_name}stringName of the offer
{offer_id}stringID of the offer
{event_id}String / IntegerOffer or survey internal event ID. Useful for tracking specific events.
{event_name}StringName of the completed event
{ip}IP AddressIP address of the user at the moment of completion. Useful for fraud analysis.
{country_code}ISO-3166 CodeUser's country code
{timestamp}Unix TimestampThe UNIX timestamp (in seconds) representing when the user initially clicked the offer.
{sub1}StringYour sub1 value passed in offerwall link
{sub2}StringYour sub2 value passed in offerwall link

*We automatically add *&hash={hash}

to all postback URLs. If you want to verify the request and ensure security, please validate thehash**parameter.

Response

Our system considers a postback successfully processed only if your server responds with HTTP status code 200 and the response body contains either1** or**OK.

Any other response will be treated as a failed postback. If a postback fails, our system will automatically retry sending it once every 6 hours, up to a maximum of 5 retries per postback.

After 5 failed attempts, the system will stop retrying, and you must contact your account manager to resend all failed postbacks manually.