⚡
LootlyCasher SDK Documentation
Dashboard

Testing Guide

✓ Sandbox Mode Available
Use your sandbox API key for testing. All sandbox callbacks include "sandbox": true in the payload.

Testing Checklist

SDK initializes correctly

Verify no errors in console when initializing with API key

Offerwall opens successfully

Check that offers load and display correctly

S2S callback received

Verify your server receives the POST request

Signature verification works

Test that invalid signatures are rejected

User receives reward

Confirm balance updates after callback

Test S2S Callback

Use this curl command to test your S2S endpoint:

BASH
curl -X POST https://your-server.com/api/s2s/callback \
  -H "Content-Type: application/json" \
  -d '{
    "transaction_id": "test_001",
    "user_id": "user_test",
    "offer_id": "offer_test",
    "payout": 0.01,
    "currency": "USD",
    "signature": "test_sig",
    "timestamp": 1796112756,
    "sandbox": true
  }'