Build on Sakura Pay.
Integrate mobile money payments into your application with our REST API, webhooks and SDKs.
Start building in minutes
Subscribe to payment events with a single API call.
# Create a webhook subscription
curl -X POST https://pay.sakuragroup.co.tz/api/webhooks \
-H "Authorization: Bearer sk_live_..." \
-H "Content-Type: application/json" \
-d '{
"event": "payment.received",
"callback_url": "https://your-app.com/webhook"
}'
# Response
{
"id": "wh_abc123",
"event": "payment.received",
"status": "active",
"created_at": "2026-03-01T12:00:00Z"
}Developer tools
Everything you need to integrate Sakura Pay.
REST API
Simple, predictable REST endpoints for transactions, channels, merchants and more.
API referenceWebhooks
Real-time payment events delivered to your endpoint with HMAC signatures for verification.
SDKs
Official client libraries for JavaScript, Python and PHP. Install and start building in minutes.
API Keys
Test and live API keys. Switch between sandbox and production with one config change.
Security
HMAC-signed webhooks, TLS encryption, and rate limiting built into every endpoint.
Low Latency
Sub-second response times. Webhook delivery within 3 seconds of payment confirmation.
API reference
Key endpoints for the Sakura Pay REST API.
/api/transactions/api/transactions/:id/api/channels/api/webhooks/api/webhooks/api/webhooks/:idSecure by default
Every request is authenticated with your API key. Webhooks are signed with HMAC-SHA256.
API Keys
Include your API key in the Authorization header of every request. Use test keys for development and live keys for production.
Authorization: Bearer sk_live_...Webhook Signatures
Every webhook includes an HMAC-SHA256 signature in the X-Sakura-Signature header. Verify it to ensure the payload hasn't been tampered with.
X-Sakura-Signature: sha256=...Ready to start building?
Create your account and get API keys in less than a minute.