YesAllofUs

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

1

Register Your Store

Run the CLI tool - no installation required:

Terminal
npx yesallofus

Follow the prompts. You'll get a dashboard URL and API credentials.

2

Connect Your Wallet

Open your dashboard link and connect with Xaman (mobile) or Crossmark (browser).

Required: Your wallet needs an RLUSD trustline. Issuer: rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De

3

Integrate

Choose your integration method:

WordPress

Install plugin → enter credentials → done

See WordPress guide →

Custom Platform

Add SDK → call API on payment success

See API integration →

✓ 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.

1

Download & Install

Download from your dashboard or directly:

https://yesallofus.com/plugin/YesAllofUs.zip

Upload via WordPress Admin → Plugins → Add New → Upload Plugin

2

Enter API Credentials

Go to YesAllofUs → Settings and enter your api_secret from the CLI registration.

3

Connect Wallet

Click "Connect Xaman" or "Connect Crossmark" to link your payout wallet.

How It Works

  1. 1Visitor arrives via yourstore.com/?ref=ABC123
  2. 2Plugin stores ABC123 in a 30-day cookie
  3. 3Visitor makes purchase, order status becomes "Completed"
  4. 4Plugin calls YesAllofUs API with order details + referral code
  5. 5Affiliate chain gets paid instantly in RLUSD (3-5 seconds)

Shortcodes

[yesallofus_affiliate_signup]Affiliate registration form
[yesallofus_affiliate_dashboard]Affiliate stats & referral link

SDK 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

Add before </body>
<script src="https://yesallofus.com/js/track.js"></script>

Read the Referral Code

At checkout / payment
// 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=CODE from 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

After payment verification
// 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:

X

Xaman (Mobile)

Manual Approval

Approve each payout via push notification on your phone.

  • ✓ Push notifications for each payout
  • ✓ Review before signing
  • ✓ Maximum control
C

Crossmark (Browser)

Auto-Sign

Automatic 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:

rMxCKbEDwqr76QuheSUMdEGf4B9xJ8m5De

Payout Modes

FeatureManual (Xaman)Auto-Sign (Crossmark)
ApprovalPush notification each timeNone - instant
SpeedDepends on your approval~3-5 seconds
Max Single PayoutUnlimitedConfigurable ($1-$10,000)
Daily LimitUnlimitedConfigurable ($10-$50,000)
Best ForLow volume, maximum controlHigh 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

Base URL: https://api.dltpays.com/api/v1

API: Affiliates

API: Stores

Commission Rates

Affiliate Commissions (Default)

LevelRateExample ($100 order)
Level 1 (Direct referrer)25%$25.00
Level 25%$5.00
Level 33%$3.00
Level 42%$2.00
Level 51%$1.00
Total36%$36.00

Rates are configurable in your dashboard. Total cannot exceed 100%.

Platform Fee

Fee is calculated on commissions paid, not order total.

TierFee RateMonthly Cost
Free2.9%$0
Pro0.9%$99
Enterprise0%$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

Node.js
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

CodeMeaningSolution
400Bad RequestCheck required fields and formats
401UnauthorizedCheck API secret in Authorization header
403ForbiddenWallet mismatch or auto-sign blocked
404Not FoundStore, affiliate, or referral code doesn't exist
409ConflictOrder already processed (idempotent - this is OK)
429Rate LimitedSlow down (60/min per IP, 10/min per store)
503Service UnavailableBeta full or service maintenance

Support