🧩 RevenueCPA Introduction

RevenueCPA is an exclusive Offerwall platform for incentivized campaigns. It helps publishers integrate offers into apps or websites so users can earn virtual currency.

How it works?

Users complete tasks or surveys via the Offerwall and earn virtual rewards. These tasks are shown based on the user’s country, device, and behavior.

⚙️ Integration

Steps to embed our Offerwall:

  1. Go to Placements in your dashboard.
  2. Copy your API Key and Secret Key.
  3. Use this code:
<iframe src="https://revenuecpa.com/offer/[API_KEY]/[USER_ID]"></iframe>

Replace [API_KEY] with your API key and [USER_ID] with your user’s ID.

🔁 Postback Information

When a user completes an offer, our server sends a GET request with these parameters:

ParameterDescription
subidUser ID
transidTransaction ID
rewardEarned points
payoutAmount in USD
signatureMD5 hash for security
status1 = add, 2 = subtract
offerNameName of the offer
userIpUser IP address
campaign_idOffer ID
offertypeSurveys/Offers/PTC
countryUser’s country (ISO2)
uuidClick ID

✅ Signature Validation:

md5(subid + transid + reward + secret)
PHP Sample Code:
<?php
$secret = "YOUR_SECRET";
$subId = $_GET['subid'] ?? '';
$transId = $_GET['transid'] ?? '';
$reward = $_GET['reward'] ?? '';
$signature = $_GET['signature'] ?? '';

if(md5($subId . $transId . $reward . $secret) !== $signature) {
    echo "ERROR: Signature doesn't match";
    exit;
}

if($_GET['status'] == 2) {
    $reward = -abs($reward);
}

if(isNewTransaction($transId)) {
    processTransaction($subId, $reward, $transId);
    echo "OK";
} else {
    echo "DUP";
}
?>

Whitelisted IP

162.254.39.113

Expected Responses

  • OK — Transaction processed
  • DUP — Duplicate transaction