Overview
Instant Affiliate Payouts on XRPL
YesAllofUs pays your affiliates instantly in RLUSD when orders complete. No waiting 30 days. No payment processing. Just instant, automatic commissions settled in 3-5 seconds.
3-5 Second Settlement
Affiliates see RLUSD in their wallet seconds after purchase.
5-Level MLM
Affiliates earn on their referrals' referrals. Configurable rates.
Non-Custodial
You control your wallet. We never hold your funds or private keys.
Global Reach
Pay anyone, anywhere. No bank account needed. $1 minimum.
Choose Your Integration
Quick Start
Register Your Store
Run the CLI tool - no installation required:
npx yesallofusFollow the prompts. You'll get a dashboard URL and API credentials.
Connect Your Wallet
Open your dashboard link and connect with Xaman (mobile) or Crossmark (browser).
Required: Your wallet needs an RLUSD trustline. Issuer: rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De
Integrate
Choose your integration method:
✓ That's It!
Visitors with ?ref=CODE are tracked automatically. When they purchase, their referrer gets paid instantly in RLUSD.
WordPress / WooCommerce
Zero code required. The plugin handles everything automatically.
Download & Install
Download from your dashboard or directly:
https://yesallofus.com/plugin/YesAllofUs.zipUpload via WordPress Admin → Plugins → Add New → Upload Plugin
Enter API Credentials
Go to YesAllofUs → Settings and enter your api_secret from the CLI registration.
Connect Wallet
Click "Connect Xaman" or "Connect Crossmark" to link your payout wallet.
How It Works
- 1Visitor arrives via
yourstore.com/?ref=ABC123 - 2Plugin stores
ABC123in a 30-day cookie - 3Visitor makes purchase, order status becomes "Completed"
- 4Plugin calls YesAllofUs API with order details + referral code
- 5Affiliate chain gets paid instantly in RLUSD (3-5 seconds)
Shortcodes
[yesallofus_affiliate_signup]Affiliate registration form[yesallofus_affiliate_dashboard]Affiliate stats & referral linkSDK Tracking
The SDK tracks referral codes only. Payouts are triggered securely from your backend. This is the recommended approach for non-WordPress platforms.
Add the Tracking Script
<script src="https://yesallofus.com/js/track.js"></script>Read the Referral Code
// Get the tracked referral code
const referralCode = window.YesAllofUs?.getReferralCode();
// Send to your backend with the order
fetch('/api/checkout', {
method: 'POST',
body: JSON.stringify({
items: cart.items,
total: cart.total,
referral_code: referralCode // Include this!
})
});What the SDK Does
- ✓ Captures
?ref=CODEfrom URL - ✓ Stores in cookie for 30 days
- ✓ Falls back to sessionStorage
- ✓ Exposes
YesAllofUs.getReferralCode()
Security Note
The SDK does not trigger payouts. That happens securely from your backend using your API secret. See Backend Integration.
Backend Integration
After payment is verified on your backend, call the YesAllofUs API to trigger affiliate payouts. This ensures payouts only happen for legitimate purchases.
Trigger Payout After Payment
// Your payment success handler
async function handlePaymentSuccess(order, referralCode) {
// Only trigger if there's a referral
if (!referralCode) return;
const response = await fetch('https://api.dltpays.com/api/v1/payout', {
method: 'POST',
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer sk_your_api_secret'
},
body: JSON.stringify({
order_id: order.id,
order_total: order.total,
referral_code: referralCode
})
});
const result = await response.json();
// { success: true, payout_id: "payout_abc123", status: "queued" }
}What Happens Next?
Manual mode (Xaman): You receive a push notification to approve.
Auto mode (Crossmark): Payout processes instantly, no approval needed.
Complete Flow Diagram
┌──────────────┐ ┌──────────────┐ ┌──────────────┐
│ Visitor │ │ Your Site │ │ YesAllofUs │
│ Browser │ │ Backend │ │ API │
└──────┬───────┘ └──────┬───────┘ └──────┬───────┘
│ │ │
│ ?ref=ABC123 │ │
│───────────────────>│ │
│ │ │
│ SDK stores cookie │ │
│<───────────────────│ │
│ │ │
│ Checkout + pay │ │
│───────────────────>│ │
│ │ │
│ │ POST /payout │
│ │ + referral_code │
│ │───────────────────>│
│ │ │
│ │ { payout_id } │
│ │<───────────────────│
│ │ │
│ │ ┌───────────────┴──────────────┐
│ │ │ Affiliate receives RLUSD │
│ │ │ in 3-5 seconds │
│ │ └──────────────────────────────┘Wallet Setup
Connect your XRPL wallet to pay affiliates. Choose based on your preference:
Xaman (Mobile)
Manual ApprovalApprove each payout via push notification on your phone.
- ✓ Push notifications for each payout
- ✓ Review before signing
- ✓ Maximum control
Crossmark (Browser)
Auto-SignAutomatic payouts without approval. Fastest option.
- ✓ Instant, automatic payouts
- ✓ No manual approval needed
- ✓ Configurable daily limits
⚠️ RLUSD Trustline Required
Your wallet must have an RLUSD trustline to send commissions. Add trustline to:
rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5DePayout Modes
| Feature | Manual (Xaman) | Auto-Sign (Crossmark) |
|---|---|---|
| Approval | Push notification each time | None - instant |
| Speed | Depends on your approval | ~3-5 seconds |
| Max Single Payout | Unlimited | Configurable ($1-$10,000) |
| Daily Limit | Unlimited | Configurable ($10-$50,000) |
| Best For | Low volume, maximum control | High volume, hands-off |
Auto-Sign Security
Auto-sign uses XRPL's native SignerList feature. You add our platform as an authorized signer with configurable limits. You can revoke anytime from your dashboard.
Platform Signer Address:rQsRwh841n8DDwx4Bs2KZ4fHPKSt7VeULH
API: Payouts
API: Affiliates
API: Stores
Commission Rates
Affiliate Commissions (Default)
| Level | Rate | Example ($100 order) |
|---|---|---|
| Level 1 (Direct referrer) | 25% | $25.00 |
| Level 2 | 5% | $5.00 |
| Level 3 | 3% | $3.00 |
| Level 4 | 2% | $2.00 |
| Level 5 | 1% | $1.00 |
| Total | 36% | $36.00 |
Rates are configurable in your dashboard. Total cannot exceed 100%.
Platform Fee
Fee is calculated on commissions paid, not order total.
| Tier | Fee Rate | Monthly Cost |
|---|---|---|
| Free | 2.9% | $0 |
| Pro | 0.9% | $99 |
| Enterprise | 0% | $499 |
Referred stores get 50% fee discount in their first month (1.45% instead of 2.9%).
Webhooks
Receive notifications when payout status changes. For WordPress, the plugin handles this automatically.
Webhook Payload
POST https://yoursite.com/webhooks/yesallofus
X-DLTPays-Signature: abc123...
Content-Type: application/json
{
"payout_id": "payout_abc123",
"status": "paid",
"order_id": "order_12345",
"tx_hashes": [
{
"wallet": "rAffiliate...",
"amount": 25.00,
"tx_hash": "ABC123DEF456..."
}
]
}Verify Signature
const crypto = require('crypto');
function verifyWebhook(payload, signature, apiSecret) {
const expected = crypto
.createHmac('sha256', apiSecret)
.update(JSON.stringify(payload))
.digest('hex');
return crypto.timingSafeEqual(
Buffer.from(signature),
Buffer.from(expected)
);
}Error Codes
| Code | Meaning | Solution |
|---|---|---|
| 400 | Bad Request | Check required fields and formats |
| 401 | Unauthorized | Check API secret in Authorization header |
| 403 | Forbidden | Wallet mismatch or auto-sign blocked |
| 404 | Not Found | Store, affiliate, or referral code doesn't exist |
| 409 | Conflict | Order already processed (idempotent - this is OK) |
| 429 | Rate Limited | Slow down (60/min per IP, 10/min per store) |
| 503 | Service Unavailable | Beta full or service maintenance |