Your First API Request
Follow this guide to make your first request to the Sangho API. No production code required — everything runs in Sandbox.
Step 1: Retrieve your test API keys
- Log in at dash.sangho.ga
- Go to Developers → API Keys
- Copy your test secret key
(sk_test_…)
Step 2: List your applications
The simplest route to verify your API key is working is GET /apps/. It returns your Sangho applications in a paginated envelope { count, next, previous, data } — the array is in data.
Step 3: Create your first PaymentIntent
A PaymentIntent represents the intent to collect a payment. Create one with an amount of 5,000 XAF in Sandbox to test the complete flow.
Note
In Sandbox, no real funds are involved. Use sk_test_ keys freely to test without risk.
GET /apps/
Expected response
Response200 OK