Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.primeearn.com/llms.txt

Use this file to discover all available pages before exploring further.

Rewards & Postback Setup

This guide covers two things: how to configure currency and reward display in your app, and how PrimeEarn sends postback notifications to your server when users complete surveys, games, or offers.

Currency & Reward Setup

You can configure how rewards are displayed in your app separately for surveys, screenouts, and games/offers.
SettingDescription
Currency NameName of your in-app currency (e.g. Coins, Diamonds, Credits).
Currency Exchange RateHow much in-app currency users receive per 1youearn.Example:ifsetto100,usersreceive100pointsper1 you earn. Example: if set to `100`, users receive 100 points per 1.
Currency Exchange Rate (Screenout Rewards)Conversion rate specifically for users who screen out of a survey. Example: if set to 10, users get 10 points per $1 screenout reward value.
Currency Exchange Rate (Games/Offers)Conversion rate for games & offers rewards.
Move Decimal PointAdjusts how reward amounts are displayed to users.

Move Decimal Point Examples

SettingDisplay
No decimal100 points
1 decimal10.0 points
2 decimals1.00 points
3 decimals0.100 points
The reward amount is always rounded to a full number. Set a minimum value of 10 to avoid rounding issues.

Postback Setup — Surveys

When a user completes a survey action, PrimeEarn sends a server-to-server postback to your configured callback URL.

Postback Parameters

ParameterTypeDescription
{reward}IntegerAmount of in-app currency to reward to the user.
{payout}IntegerPublisher payout in USD.
{type}IntegerEvent type: 1 = complete, 2 = screenout, 3 = bonus, 4 = reconciliation.
{user}StringUnique user ID.
{tx_id}StringUnique transaction ID. Process each {tx_id} only once.
{subid}StringCustom subid returned back to you.
All postback types are essential for accurate reward distribution, including type = 3. Ensure your system is configured to handle this type.

When is type = 3 used?

  • Manual reward distribution — when a user is not rewarded due to an error or technical issue, we send a manual postback (type=3) to ensure they receive their reward.
  • Challenge-based promotions — for users who complete promotional challenges. This is only available for the Surveys IFrame Integration.
  • Pre-qualification rewards — for users who successfully complete pre-qualification questions.

Postback Setup — Games & Offers

Postback Parameters

ParameterTypeDescription
{user}StringUnique user ID.
{tx_id}StringUnique transaction ID. Process each {tx_id} only once.
{type}IntegerEvent type: 7 = completed, 9 = reconciled, 11 = pending.
{payout}FloatPublisher payout in USD.
{platform}StringPlatform where the event occurred (mobile, tablet, desktop).
{offer_name}StringDisplay name of the offer.
{offer_hash}StringUnique identifier/hash for the offer.
{task_name}StringSpecific task or milestone completed in the offer.
{task_id}StringUnique identifier for the task.
{ip_address}StringUser’s IP address (IPv4 only).
{user_reward_money_value}FloatMonetary value of the reward before currency conversion.
{user_currency}StringUser reward currency (e.g. USD, EUR).
{reward}IntegerIn-app currency rewarded to the user.
Make sure you only process each {tx_id} once.

Credit Delay 7 — Pending Rewards

Credit Delay 7 applies to games & offers only.
Some offers use a 7-day credit delay. Here is how the flow works:

Step 1 — Pending postback (immediate)

When the user completes a task, you immediately receive a PENDING postback:
https://publisher.com/postback?
  user=user_abc123&
  tx_id=tx_xyz789&
  type=11&
  status=PENDING&
  credit_delay=7
Hold the reward. Do not credit the user yet.

Step 2 — Final postback (after 7 days)

After verification, you receive one of two outcomes:
User is verified as legitimate. Credit the reward now.
https://publisher.com/postback?
  user=user_abc123&
  tx_id=tx_xyz789&
  type=7&
  status=COMPLETED

Reconciliation & Webhooks

SettingDefaultDescription
Resend failed webhooksEnabledFailed postbacks are automatically retried.
Reconciliation webhooksTriggered with negative values when a completion is rejected.

IP Whitelist

Ensure your server accepts postback requests from these PrimeEarn IP addresses only. Reject all other sources to prevent reward fraud.
168.119.57.82
49.12.33.196
49.13.14.251