Developer Docs

Purchase Talk More

Purchase

Body

{
    "request_ref": "Request Ref",
    "phone": "Phone Number",
    "product_id": "Product ID/CODE",
    "variation_code": "Variation Code",
    "webhook_url": "Webhook URL",
    "ported_no": "Boolean",
    "pin": "Your pin"
}

Parameters

request_ref Your unique Request Ref (Optional)
phone Receiver Phone Number
product_id Product id/code gotten from Category List here
variation_code Variation code from product variation here
webhook_url Optional. If not explicitly provided, the system will automatically utilize the webhook URL specified in your developer keys.
ported_no Boolean (optional). If true, the system will ignore phone number validation errors and attempt to send airtime to the ported number.
pin Your transaction pin

Sample Response

{
    "status": "ok",
    "message": "Request successfully",
    "data": {
        "transaction": {
            "id": 95,
            "user_id": 1,
            "user_product_id": 6,
            "user_variation_id": 443,
            "reference": "9bdbe400-76da-4d12-bccc-90d040704dc8",
            "request_ref": "pZxmX4qjpOLRCx8d6jRc",
            "type": "MTN Talk More",
            "details": "MTN Talk More N100 x6 sent to 07047341144",
            "amount": "100.00",
            "status": "successful",
            "request_data": {
                "phone": "07047341144",
                "product_id": 2,
                "variation_code": "talkmore_n100",
                "request_ref": "pZxmX4qjpOLRCx8d6jRc"
            },
            "created_at": "2024-04-21T08:14:13.000000Z",
            "updated_at": "2024-04-21T08:14:29.000000Z",
            "gateway": {
                "id": 7,
                "name": "MTN Gateway",
                "status": "connected",
                "phone": "08134679853",
                "is_site": false,
                "created_at": "2024-04-12T06:35:38.000000Z"
            },
            "logs": []
        }
    }
}