1. Airtime Purchase
ZamuPay API Documentation
  • Introduction
  • Definitions
    • Data Types
  • Authorization
    • Overview
    • Token Request
      POST
    • Find Transaction Routes
      GET
    • Health Check
      GET
  • Checkout Request
    • Overview
    • Checkout Order Request
      POST
    • Query Checkout Request
      GET
    • Checkout Callback Request
      POST
  • Payment Request
    • Payment Order Request
      POST
    • Reject Order By OriginatorConversationId
      POST
    • Find Payment Order By OriginatorConversationId
      GET
  • Collection Request
    • Find Express Deposit By OriginatorConversationId
      GET
    • Express Deposit Request
      POST
  • Bill Payments
    • Bill Number
      POST
    • Find Bill Number By Service Id and Account Number
      GET
    • Bill Request
      POST
    • Find Bill Request By Originator Converstion Id
      GET
    • Find Bill Services
      GET
  • KYC
    • Account Number Validation Request
      POST
    • KYC Validation
      POST
    • KYC Validation
      GET
    • Find Account Validation Status by SystemTraceAuditNumber
      GET
  • Payment Links
    • Find Payment Links By Id
    • Create Payment Link
    • Update Payment Link
  • Customer Accounts
    • Balance Check
    • Find Charges By TransactionTypeId
  • Airtime Purchase
    • Airtime Purchase
      POST
    • Find Airtime Purchases By OriginatorConversationId
      GET
  1. Airtime Purchase

Airtime Purchase

https://auth.zamupay.com
https://auth.zamupay.com
https://auth.zamupay.com
https://auth.zamupay.com
POST
/v1/airtime-purchase
This is a POST request that is responsible for airtime purchases.

Data Definition#

Field nameData typeOptions
recipientNamestringmandatory
recipientPhoneNumberstringmandatory
recipientccystringmandatory
amountintegermandatory
callBackUrlstringmandatory

Description#

CurrencyCode: country code
PhoneNumber: phone number used in the airtime purchase
Amount: Airtime bought
Name: name of the person who purchased the airtime
OriginatorConversationId: this is the unique transaction identifier generated by Zamupay
CallbackURL: This is where you will receive the callback

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://auth.zamupay.com/v1/airtime-purchase' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "originatorConversationId": "string",
    "callbackURL": "http://example.com",
    "recipients": [
        {
            "currencyCode": "string",
            "phoneNumber": "string",
            "amount": 0,
            "name": "string"
        }
    ]
}'
Response Response Example
{}
Modified at 2026-01-29 06:19:26
Previous
Find Charges By TransactionTypeId
Next
Find Airtime Purchases By OriginatorConversationId
Built with