API Reference
v2.0.0NabooPay Payment Gateway API for West Africa. Manage transactions, payouts, and accounts via a single REST API.
Base URL
https://api.naboopay.comAll API requests should be made to this base URL. You can change it in the "Try it" panel of any endpoint.
Authentication
All endpoints require a Bearer token in the Authorization header. You can generate your API key from the NabooPay dashboard.
curl https://api.naboopay.com/api/v2/transactions \
-H "Authorization: Bearer YOUR_API_KEY"| Header | Value |
|---|---|
Authorization | Bearer YOUR_API_KEY |
API Key Scopes
v2 API keys carry a scope that controls which endpoints they can access. Using a key with an insufficient scope returns 403 Forbidden. Generate keys with the appropriate scope from the NabooPay dashboard.
| Scope | Allowed Operations |
|---|---|
checkout | Create, read, delete transactions; process refunds |
read | Read transactions, payouts, and accounts (no writes) |
write | Create and delete transactions |
readAndWrite | Full read + write access to transactions; read accounts |
payout | Create and read payouts |
management | Full account management, refunds, and administrative access |
Rate Limiting
A sliding window algorithm enforces rate limits per IP address and endpoint. Exceeding the limit returns a 429 Too Many Requests response. Payouts are also processed one at a time per organization: a second payout sent while one is still running returns 409 Conflict.
| Limit | Applies To | Response |
|---|---|---|
| 100 requests / 60 s | Each endpoint (per IP address) | 429 |
| 1 payout at a time | POST /api/v2/payouts — per organization, while a payout is in progress | 409 |
Read — GET | Any organization status (active or inactive) | — |
Error Responses
All errors return a consistent JSON body with a human-readable message.
{
"error": "Transaction not found"
}v1 API is deprecated
The v1 API is no longer maintained and will not receive new features. Migrate to v2 for improved filtering, pagination, and the new Payouts API. View migration guide