Developer Docs

Complete Airtime to Cash

Confirm the OTP sent to the sender's phone number to complete the airtime to cash transfer.

The reference is the one returned when you initiated the request via the Airtime to Cash endpoint.

Partial completion

When an amount is split across multiple shares and some of them fail, only the airtime that was successfully shared is credited. In that case the transaction amount in the response reflects the amount actually shared, which may be less than the amount you requested.

Body

{
    "otp": "OTP"
}

Parameters

otp The OTP sent to the sender's phone number

Sample Response

{
    "status": "ok",
    "message": "Transaction successful",
    "data": {
        "transaction": {
            "reference": "9bdbe400-76da-4d12-bccc-90d040704dc8",
            "request_ref": "pZxmX4qjpOLRCx8d6jRc",
            "type": "MTN Airtime to Cash",
            "details": "Transaction successful",
            "amount": "2000.00",
            "status": "successful",
            "request_data": {
                "phone": "08134679853",
                "product_id": "mtn",
                "amount": 2000,
                "sharePin": "1234",
                "request_ref": "pZxmX4qjpOLRCx8d6jRc"
            },
            "created_at": "2024-04-21T08:14:13.000000Z",
            "updated_at": "2024-04-21T08:14:29.000000Z"
        }
    }
}