Introduction to dhango
How a platform uses dhango for merchant onboarding, payments, and operations.
dhango gives your platform one integration to onboard merchants, take payments, and run those merchant accounts day to day. These guides are for the team building that integration, whether you run a vertical SaaS platform or operate as a Third Party Sender.
How accounts fit together
Everything starts with your platform account. It holds your API credentials, your webhook URL, your embedded sign-up origins, and your pricing. Each merchant you onboard becomes its own account under your platform, and that merchant's payments, tokens, and batches belong to it.
To act for a merchant, call the API with your platform key and secret, and add that merchant's accountKey. API authentication explains each combination.
Set up your processors
Your integration calls the same dhango API whichever processor sits behind a merchant: Stripe, Adyen, Nacha Direct Debit, Third Party Sender, or a legacy gateway. In sandbox, you can connect any of them through a provider test account. If you do not have one yet, use the Fake processor, which dhango runs so you can start building right away.
Where to start
Sandbox and production
Every dhango surface has a sandbox host on dhangodemo.com and a production host on dhango.com. To go live, you change the host, the credentials, and the processor configured on each account. The calls themselves stay the same.
| Surface | Sandbox | Production |
|---|---|---|
| Payments API | https://api.dhangodemo.com | https://api.dhango.com |
| Swagger UI | https://api.dhangodemo.com/swagger/index.html | https://api.dhango.com/swagger/index.html |
| Sign-up | https://signup.dhangodemo.com | https://signup.dhango.com |
| Embed script | https://signup.dhangodemo.com/embed.min.js | https://signup.dhango.com/embed.min.js |
| Client script | Sandbox forms | |
| Embed walkthrough | https://embed.dhangodemo.com |
The guides in Build with the API walk through each job step by step. When you need every field on a request or response, use the Payments API reference, which is generated from the live Swagger document.