NabooPay

API Reference

v2.0.0

NabooPay Payment Gateway API for West Africa. Manage transactions, payouts, and accounts via a single REST API.

Base URL

bash
https://api.naboopay.com

All 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.

bash
curl https://api.naboopay.com/api/v2/transactions \
  -H "Authorization: Bearer YOUR_API_KEY"
HeaderValue
AuthorizationBearer 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.

ScopeAllowed Operations
checkoutCreate, read, delete transactions; process refunds
readRead transactions, payouts, and accounts (no writes)
writeCreate and delete transactions
readAndWriteFull read + write access to transactions; read accounts
payoutCreate and read payouts
managementFull 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.

LimitApplies ToResponse
100 requests / 60 sEach endpoint (per IP address)429
1 payout at a timePOST /api/v2/payouts — per organization, while a payout is in progress409
Read — GETAny organization status (active or inactive)—

Error Responses

All errors return a consistent JSON body with a human-readable message.

json
{
  "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