Sleengshort API Documentation
  • SMS API
    • Introduction
    • Send SMS
    • Send SMS (Multiple)
    • Send SMS (Multiple V2)
    • Status
    • Balance
    • Reporting
    • Error Codes
  • AIRTIME API
    • Introduction
    • Request Airtime
    • Status
Powered by GitBook
On this page
  1. AIRTIME API

Request Airtime

This end point allows you to request airtime to single recipient.

PreviousIntroductionNextStatus

Last updated 1 year ago

Airtime Request

POST https://app.sleengshort.com/api/airtime

This endpoint allows you to send an SMS to a single user

Note the txn_id in the response can be used to track the status on a request when notifications are sent to the callback URL. Body sample:

Request Body

Name
Type
Description

msisdn*

String

MSISDN of the recipient

amount*

integer

Amount to be credited

txn_ref*

String

Transaction Reference(has to be unique)

network

String

MTN, AIRTEL, GLO, 9mobile (optional)

{
    "status": "ok",
    "description": "Request processed successfully",
    "data": {
        "status": "QUEUED",
        "msisdn": "23490****0713",
        "amount": "10",
        "txn_ref": "16062933142400",
        "txn_id": "b3d57923-####-####-####-0ebf128389fe"
    }
}