DIRSL
Solution

API & Integrations

Build on DIRSL. Connect what you already run.

REST API with OAuth2, webhooks for every event, SSO, and connectors for payments, e-commerce, messaging and accounting. Sandbox tenants for development.

POST /v1/webhooks
{
  "event": "run.completed",
  "url": "https://yourbrand.com/hooks/dirsl"
}

→ 201 Created
{ "id": "wh_8f2a", "secret": "whsec_••••" }
01

REST API

Members, genealogy, orders, wallets, runs and reports, with pagination and rate limits per tenant.

POST /v1/webhooks
{
  "event": "run.completed",
  "url": "https://yourbrand.com/hooks/dirsl"
}

→ 201 Created
{ "id": "wh_8f2a", "secret": "whsec_••••" }
02

Webhooks

member.enrolled, order.paid, run.completed, payout.sent and 40 more events with retries and signatures.

Binary + Unilevel · Run #1842completed
Pairing bonus 10%$142,300
Level commission L1–L7$96,120
Matching 20% · 2 gen$51,880
Caps applied-$8,410
Payout ratio 41.8%4m 12s
03

SSO

SAML and OIDC for admins; social login for members.

ID documentverified
Selfie livenessverified
AML screenclear
Tax form (W-9)pending
Payout unlocks when all checks pass
04

Connectors

Stripe, Razorpay, PayPal, Shopify, WooCommerce, Twilio, SendGrid, Zapier, Slack, QuickBooks, Xero.

PS
Priya's store
members.yourbrand.com/u/priya
Omega-3
$3430 PV
Protein
$5850 PV
Multivit
$2220 PV
Autoship · save 10%
05

Sandbox

A full tenant for development with seeded data and replayable runs.

Payout ratio41.8% · target 45%

How it works

  1. 1

    Create API key or OAuth app

  2. 2

    Call endpoints against sandbox

  3. 3

    Subscribe to webhooks

  4. 4

    Verify signatures

  5. 5

    Promote to production

  6. 6

    Monitor in API logs

Specifications

What this module supports out of the box. Limits can be raised on Enterprise.

Auth
OAuth2 client credentials, API keys
Rate limit
600 req/min per tenant (raise on Enterprise)
Webhook delivery
At-least-once with 24h retries
SDKs
JavaScript, PHP, Python

Questions about api & integrations

Read API on Growth; full read/write and webhooks on Enterprise.

Yes, on Enterprise, with the same approvals as the admin UI.

Yes, HMAC-SHA256 with rotating secrets.

Yes, downloadable from the developer portal.

Your network starts tomorrow.

Create your workspace, pick a plan and invite your first distributors. If you're not live in 24 hours, your first month is free.