⚡
LootlyCasher SDK Documentation
Dashboard

Postback Setup

Configure your postback URL to receive real-time notifications when users complete offers. Postbacks are sent as HTTP POST requests to your server.

Setting Up Your Postback URL

1
Go to Publisher Dashboard

Navigate to your app settings and find the Postback URL field under the Integration tab.

2
Enter Your Endpoint URL

Enter the full URL of your server endpoint (e.g., https://your-server.com/api/s2s/callback).

3
Set Your Secret Key

Generate a secret key in the dashboard. Used to sign postback requests.

4
Test the Integration

Use the Test Postback button to send a test request and verify your server responds correctly.

ℹ️ Important
Your postback endpoint must return HTTP 200 to confirm receipt. Any other response will trigger retry (up to 5 times with exponential backoff).

Postback Macros

Use these macros in your postback URL:

MACRODESCRIPTIONEXAMPLE
{user_id}User ID from SDK inituser_12345
{transaction_id}Unique transaction IDtxn_abc123
{offer_id}Completed offer IDoffer_789
{payout}Payout amount USD0.50
{signature}HMAC-SHA256 signaturea1b2c3...
{timestamp}Unix timestamp1729123456