Developers
REST API
GuidesErrorsLogin
Get API Keys
API Navigation
  • Overview
  • Quick start
  • Authentication
  • Collect a payment
  • Payment status
  • Refunds
  • Testing
  • Production
  • Security
API reference
  • Create API keys POST
  • List API keys GET
  • Get API key GET
  • Delete API key DEL
  • Collect with MTN POST
  • MTN payment status GET
  • Collect with Airtel POST
    Create and pay
  • Create order POST
  • Order fee POST
  • Pay order with card POST
  • Pay order with bank POST
  • Status and verify
  • Order status POST
  • Verify order POST
  • Cards and tokens
  • Save card POST
  • Tokenize charge GET
  • Refunds
  • Refund order POST
  • Lists and stats
  • List orders GET
  • Get order GET
  • List banks GET
  • Order stats GET
  • List transactions GET
  • Get transaction GET
  • Transaction statuses GET
Errors and limits
REST API

Build powerful payments with Ziba Pay

Collect mobile money payments through MTN and Airtel, process card and bank orders, and track transactions with our RESTful API. Get started in minutes.

Quick StartAuthentication
Base URL
https://payment-service-mh2d.onrender.com/api

What you can build

Integrate payments across multiple channels with a unified API

API key / Bearer

Mobile money

Collect with MTN or Airtel Money.

Explore endpoints
Bearer token

Orders

Card and bank payment flows.

Explore endpoints
Bearer token

Transactions

Payment tracking and history.

Explore endpoints
Bearer token

API keys

Generate key pairs for automated server calls.

Explore endpoints

How to integrate the API

Watch the step-by-step walkthrough from credentials to your first collection.

API integration walkthrough

Step 1 / 4

Create API credentials

Register, then generate an API key and secret from the dashboard Applications page.

POST /developer/gatewayConfigs

First API call in 5 minutes

Test a live collection call and poll for results in 3 straightforward steps

1

Get your API credentials

Create an account via POST /auth/signup or sign in via POST /auth/login. Then generate an API Key via POST /developer/gatewayConfigs to get your x-api-key and x-api-secret.

2

Send your collection request

Make a POST request to /payment/mtn-momo-pay with the customer's phone number, amount, and currency.

3

Poll for payment status

Extract the returned transactionReferenceId and poll GET /payment/mtn/status/:reference until completed.

Why Ziba Pay API?

Built for developers, designed for scale

API Testing

Try endpoints from the docs console with your merchant token or gateway API keys. A separate sandbox hostname is not confirmed.

Secure Authentication

Merchant JWT tokens and gateway API keys with hashed secrets keep your transactions secure.

RESTful Design

Clean, predictable API endpoints with standard HTTP methods and JSON responses for easy integration.

Status Polling API

Check payment status via dedicated polling endpoints with built-in backoff guidance for reliable verification.

Ready to integrate?

Start building with our quick start guide and have your first payment running in under 5 minutes.

Start BuildingView API Reference