🛡️Setup Postback

When a user successfully completes an offer, Playtime SDK will send a postback to your server with the reward details. This ensures that rewards are delivered securely and accurately.

// Example Postback 

https://yourserver.com/postback?user_id={user_id}&offer_id={offer_id}&offer_name={offer_name}&payout={payout}&signature={signature}&event={event}&sub1={sub1}&sub2={sub2}&sub3={sub3}&sub4={sub4}&sub5={sub5}&sub6={sub6}&sub7={sub7}&sub8={sub8}&sub9={sub9}&sub10={sub10}&gaid={users_advertising_id}&clickIp={clickIpaddress}&clickDatetime={clickDatetime}&conversionDatetime={conversionDatetime}&timeZone={timeZone}&callback_type={callback_type}&currency_name={currency_name}&appKey={appKey}&amount={amount}

Postback Parameters

Parameter
Description

user_id

Unique identifier of the user from your app (sent in click).

offer_id

Unique ID of the campaign/offer.

offer_name

Name of the campaign (URL encoded).

payout

Publisher payout amount in USD.

signature

Security hash to validate authenticity.

event

Event Name (e.g., install, signup, complete_level_2).

sub1 - sub10

Custom tracking parameters (optional).

gaid

Google Advertising ID of the user (if available).

clickIp

IP address of the user when clicking the offer.

clickDatetime

Timestamp of the click (in YYYY_MM_DD HH:MM:SS format).

conversionDatetime

Timestamp when conversion occurred.

timeZone

Time zone of conversion (e.g., IST).

callback_type

Type of callback (e.g., 1 = Api Callback, 2 = Direct offer Callback, 3 = iFrame Callback).

amount

Reward coins/points to be credited to the user in your app.

appKey

Unique App Key assigned to your app.

currency_name

Name of your inapp currency which you have set.

Last updated