Top
Developers

API Documentation

Beautifully crafted, fast, and secure APIs to power your apps. Explore endpoints, copy runnable snippets, and ship faster.

Environment:

Getting Started

Use the base URL and your secret API key to make requests. Switch environments to preview the exact URLs used in code samples.

# Base URLs Production: %%PROD_URL%% Sandbox: %%SANDBOX_URL%%
curl -X GET "%%BASE_URL%%/account" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"

Authentication

Authenticate using your secret API key in the Authorization header. Never expose secrets in client-side code.

GET %%BASE_URL%%/account Authorization: Bearer sk_live_xxx

Error Handling

We use standard HTTP status codes. Error payloads follow a consistent structure for easy debugging.

{ "error": { "type": "invalid_request_error", "code": "parameter_missing", "message": "Missing required parameter: amount" } }

Payments API

Create and manage payment transactions.

POST /v1/payments

Creates a new payment transaction.

ParameterTypeRequiredDescription
amountstringrequiredAmount in smallest currency unit
currencystringrequiredISO code (e.g., NGN, USD)
customerobjectrequiredCustomer information object
descriptionstringoptionalPayment description
curl -X POST "%%BASE_URL%%/payments" \
  -H "Authorization: Bearer sk_live_xxx" \
  -H "Content-Type: application/json" \
  -d '{
    "amount": "10000",
    "currency": "NGN",
    "customer": {"email":"customer@example.com","name":"John Doe"},
    "description": "Order #12345"
  }'
GET /v1/payments/{id}

Retrieve details of a payment by ID.

GET %%BASE_URL%%/payments/pay_1234567890 Authorization: Bearer sk_live_xxx

Transfers API

Send money between accounts and to external recipients.

POST /v1/transfers

Creates a new transfer.

curl -X POST "%%BASE_URL%%/transfers" \ -H "Authorization: Bearer sk_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "amount": "50000", "currency": "NGN", "recipient": {"account_number":"1234567890","bank_code":"044","name":"Jane Smith"} }'

Webhooks

Receive real-time notifications when events occur. Configure endpoints and verify signatures.

Official SDKs

Use our official SDKs to integrate faster with typed APIs and helpers.