Documentation Index
Fetch the complete documentation index at: https://docs.busha.io/llms.txt
Use this file to discover all available pages before exploring further.
Before you begin
OAuth2 app registration sits inside your Busha business account. Make sure you have:- A Busha business account with completed KYB (Know Your Business) verification.
- The scopes your integration needs. Review the Scopes reference before registering — you request scopes at registration time, and an admin approves the bundle.
Register your OAuth2 app
Open Developer Tools
Sign in to your Busha business account at app.busha.io. In the sidebar, go to Settings → Developer Tools → OAuth Apps and click Create App.
Fill in the app details
Provide a name, homepage URL, and one or more redirect URIs. Select the scopes your integration requires.Submit. Your app lands in pending status.
Wait for approval
Busha admin reviews and approves your app. You’ll be notified when the status changes. Approval grants your app the full set of scopes you requested —
approved_scopes = requested_scopes.If your app shows pending, rejected, or suspended in the dashboard, authorization requests will fail with unauthorized_client.Copy your client credentials
Once approved, open the app page and click Reveal Client Secret. The secret is shown exactly once — copy it into your secret manager immediately.Your credentials are:
Use Rotate Secret on the same page if your secret is ever compromised.
| Credential | Format | Where to find it |
|---|---|---|
client_id | busha-oauth2-{uuid}-{live|test} | App page, always visible |
client_secret | Opaque string | Click Reveal Client Secret (once only) |
Sandbox vs production
Sandbox and production are fully isolated — they have separate URLs, separate OAuth2 clients, separate users, and separate tokens. Nothing crosses between them.| Sandbox | Production | |
|---|---|---|
| Purpose | Test your integration safely | Live customer traffic |
| Approval turnaround | Lighter-touch (ask your integration manager) | Standard KYB review |
| Credentials | Separate client_id and client_secret | Separate client_id and client_secret |
| API host | api.sandbox.busha.so | api.busha.io |
| OAuth2 issuer | login.sandbox.busha.io | login.busha.io |
Register a separate OAuth2 app for each environment. Never reuse production credentials in sandbox — the data sets are isolated and mixing credentials muddies your testing.
What’s next
You have yourclient_id and client_secret. Now make your first authorized API call:
Quick start
Walk through the full authorization-code flow and call
GET /v1/balances on behalf of a real user.