Developers
Build on the DIRSL API.
REST endpoints for members, genealogy, orders, commissions and payouts. Webhooks for every state change. Scoped API keys per tenant.
Authentication
Bearer tokens scoped to a tenant. Create keys in Admin → Settings → API. Each key has read/write scopes per resource group.
Headers
Authorization: Bearer sk_live_…
X-Tenant: your-workspace
Content-Type: application/json Base URL
https://api.dirsl.com/v1Endpoint groups
| Group | Routes |
|---|---|
| Members |
|
| Genealogy |
|
| Orders |
|
| Commissions |
|
| Payouts |
|
| Webhooks |
|
Example: simulate a commission run
Request
curl https://api.dirsl.com/v1/commission-runs/simulate \
-H "Authorization: Bearer sk_live_…" \
-H "X-Tenant: vitanova" \
-d '{ "cycle": "2026-10-W42", "plan_version": 7 }'Response · 200
{
"run_id": "sim_01HZX…",
"status": "completed",
"members_paid": 4812,
"total_payout": 318900.00,
"by_bonus": {
"pairing": 142300.00,
"level": 96120.00,
"matching": 51880.00,
"rank": 28600.00
},
"payout_ratio": 0.41
}Webhooks
Signed with HMAC-SHA256 (header X-DIRSL-Signature). Retries with backoff for 24 hours.
member.createdmember.kyc.approvedorder.paidorder.refundedcommission.run.completedrank.changedwallet.creditedpayout.sentpayout.failed
Rate limits
Launch
60 req/min
Growth
600 req/min
Enterprise
Custom
SDKs
JavaScript / TypeScriptPHP (Laravel)PythonPostman collection
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.