🧩 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:
- Go to Placements in your dashboard.
- Copy your API Key and Secret Key.
- 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:
Parameter | Description |
---|---|
subid | User ID |
transid | Transaction ID |
reward | Earned points |
payout | Amount in USD |
signature | MD5 hash for security |
status | 1 = add, 2 = subtract |
offerName | Name of the offer |
userIp | User IP address |
campaign_id | Offer ID |
offertype | Surveys/Offers/PTC |
country | User’s country (ISO2) |
uuid | Click 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 processedDUP
— Duplicate transaction