Getting Started
Kawrie Pay lets you collect mobile money payments, send payouts, and manage transactions across UGX, KES, GHS, and XAF through a single REST API.
1. Create a merchant account
Sign up at merchant.kawrie.com. You'll be asked for basic business details and, before you can accept live payments, a short KYC review.
2. Get your API key
Every account starts in sandbox mode.
- Log in to merchant.kawrie.com
- Go to Settings → API Keys
- Click Generate New Key
- Copy the key. It is shown only once.
Sandbox keys start with kw_sandbox_sk_, live keys with kw_live_sk_. See
Authentication for how to use them.
3. Make your first request
Collect a test payment in sandbox mode:
curl -X POST https://api.kawrie.com/v1/collect \
-H "Authorization: Bearer kw_sandbox_sk_xxxxxxxxxxxx" \
-H "Idempotency-Key: first-request-001" \
-H "Content-Type: application/json" \
-d '{
"amount": 5000,
"phone": "+256700000000",
"currency": "UGX"
}'
In sandbox mode, no real money moves and the transaction resolves automatically after a few seconds. See Testing for the full list of sandbox test numbers.
4. Check the result
Poll the transaction, or better, set up a webhook so Kawrie tells you the moment it settles. See the Webhooks Guide to get started.
Next steps
- Browse the full API Reference
- Read about Payment Tokens for shareable payment links
- Review Error Codes so your integration handles failures gracefully