GLO Data Subscription API

This section contains the recommended flow for integrating GLO Data Subscription services on the VTpass RESTful API.

 

Authentication

Learn about authentication from here.

 

 

Available Endpoints

To integrate the VTpass GLO Data Subscription Payment RESTful API, the endpoints below applies:

  • Get Variation Codes: this returns variation codes for various GLO Data (subscription plans)
  • Purchase Product (Using the variation code gotten in the first step)
  • Query transaction status

 

GET VARIATION CODES

Using a GET method, the VTpass variation codes for GLO Data subscription plans can be accessed with the endpoint below:

Live:   https://vtpass.com/api/service-variations?serviceID=glo-data

Sandbox: https://sandbox.vtpass.com/api/service-variations?serviceID=glo-data

FIELDS Mandatory/Optional TYPE DESCRIPTION
N/A N/A N/A N/A

 

EXPECTED RESPONSE

{
    "response_description": "000",
    "content": {
        "ServiceName": "GLO Data",
        "serviceID": "glo-data",
        "convinience_fee": "0 %",
        "variations": [
            {
                "variation_code": "glo100",
                "name": "Glo Data N100 -  105MB - 2 day",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo200",
                "name": "Glo Data N200 -  350MB - 4 days",
                "variation_amount": "200.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo500",
                "name": "Glo Data N500 -  1.05GB - 14 days",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo1000",
                "name": "Glo Data N1000 -  2.5GB - 30 days",
                "variation_amount": "1000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo2000",
                "name": "Glo Data N2000 -  5.8GB - 30 days",
                "variation_amount": "2000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo2500",
                "name": "Glo Data N2500 -  7.7GB - 30 days",
                "variation_amount": "2500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo3000",
                "name": "Glo Data N3000 -  10GB - 30 days",
                "variation_amount": "3000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo4000",
                "name": "Glo Data N4000 -  13.25GB - 30 days",
                "variation_amount": "4000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo5000",
                "name": "Glo Data N5000 -  18.25GB - 30 days",
                "variation_amount": "5000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo8000",
                "name": "Glo Data N8000 -  29.5GB - 30 days",
                "variation_amount": "8000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo10000",
                "name": "Glo Data N10000 -  50GB - 30 days",
                "variation_amount": "10000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo15000",
                "name": "Glo Data N15000 -  93GB - 30 days",
                "variation_amount": "15000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo18000",
                "name": "Glo Data N18000 -  119GB - 30 days",
                "variation_amount": "18000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo1500",
                "name": "Glo Data N1500 -  4.1GB - 30 days",
                "variation_amount": "1500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo20000",
                "name": "Glo Data N20000 -  138GB - 30 days",
                "variation_amount": "20000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-70",
                "name": "Glo Data (SME) N70 -  200MB - 14 days",
                "variation_amount": "70.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-320",
                "name": "Glo Data (SME) N320 - 1GB 30 days",
                "variation_amount": "320.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-960",
                "name": "Glo Data (SME) N960 - 3GB 30 days",
                "variation_amount": "960.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-3100",
                "name": "Glo Data (SME) N3100 - 10GB - 30 Days",
                "variation_amount": "3100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-640",
                "name": "Glo Data (SME) N640 - 2GB 30 days",
                "variation_amount": "640.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-160-14",
                "name": "Glo Data (SME) N160 - 500MB 14 days",
                "variation_amount": "160.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-1600",
                "name": "Glo Data (SME) N1600 - 5GB 30 days",
                "variation_amount": "1600.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-daily-50",
                "name": "45MB + 5MB Night N50 Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-daily-100",
                "name": "115Mb + 35MB Night N100 Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-2days-200",
                "name": "240MB + 110MB Night N200 Oneoff",
                "variation_amount": "200.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-2weeks-500",
                "name": "800MB + 1GB Night N500 Oneoff",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-1000",
                "name": "1.9GB + 2GB Night N1000 Oneoff",
                "variation_amount": "1000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-1500",
                "name": "3.5GB + 4GB Night N1500 Oneoff",
                "variation_amount": "1500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-2000",
                "name": "5.2GB + 4GB Night N2000 Oneoff",
                "variation_amount": "2000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-2500",
                "name": "6.8GB + 4GB Night N2500 Oneoff",
                "variation_amount": "2500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-3000",
                "name": "10GB +4GB Night N3000 Oneoff",
                "variation_amount": "3000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-4000",
                "name": "14GB + 4GB Night N4000 Oneoff",
                "variation_amount": "4000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-5000",
                "name": "20GB + 4GB Night N5000 Oneoff",
                "variation_amount": "5000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-8000",
                "name": "27.5GB + 2GB Night N8000 Oneoff",
                "variation_amount": "8000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-10000",
                "name": "46GB + 4GB N10000 Oneoff",
                "variation_amount": "10000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-15000",
                "name": "86GB + 7GB N15000 Oneoff",
                "variation_amount": "15000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-18000",
                "name": "109GB + 10Gb N18000 Oneoff",
                "variation_amount": "18000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-20000",
                "name": "126GB + 12GB N20000 Oneoff",
                "variation_amount": "20000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-special-300",
                "name": "N300 1GB Special",
                "variation_amount": "300.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-special-500",
                "name": "N500 2GB Special",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-special-1500",
                "name": "N1500 7GB Special",
                "variation_amount": "1500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-weekend-500",
                "name": "N500 3GB Weekend",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-30000",
                "name": "N30000 225GB Glo Mega Oneoff",
                "variation_amount": "30000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-36000",
                "name": "N36000 300GB Glo Mega Oneoff",
                "variation_amount": "36000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-50000",
                "name": "N50000 425GB Glo Mega Oneoff",
                "variation_amount": "50000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-60000",
                "name": "N60000 525GB Glo Mega Oneoff",
                "variation_amount": "60000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-75000",
                "name": "N75000 675GB Glo Mega Oneoff",
                "variation_amount": "75000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-75000",
                "name": "N100000 1TB Glo Mega Oneoff",
                "variation_amount": "100000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-150",
                "name": "Glo TV VOD 500 MB 3days Oneoff",
                "variation_amount": "150.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-450",
                "name": "Glo TV VOD 2GB 7days Oneoff",
                "variation_amount": "450.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-1400",
                "name": "Glo TV VOD 6GB 30days Oneoff",
                "variation_amount": "1400.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-900",
                "name": "Glo TV Lite 2GB Oneoff",
                "variation_amount": "900.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-3200",
                "name": "Glo TV Max 6 GB Oneoff",
                "variation_amount": "3200.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-wtf-25",
                "name": "WTF N25 100MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-wtf-50",
                "name": "WTF N50 200MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-wtf-100",
                "name": "WTF N100 500MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-telegram-25",
                "name": "Telegram N25 20MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-telegram-50",
                "name": "Telegram N50 50MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-telegram-100",
                "name": "Telegram N100 125MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-insta-25",
                "name": "Instagram N25 20MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-insta-50",
                "name": "Instagram N50 50MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-insta-100",
                "name": "Instagram N100 125MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tiktok-25",
                "name": "Tiktok N25 20MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tiktok-50",
                "name": "Tiktok N50 50MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tiktok-100",
                "name": "Tiktok N100 125MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-opera-25",
                "name": "Opera N25 25MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-opera-50",
                "name": "Opera N50 100MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-opera-100",
                "name": "Opera N100 300MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-50",
                "name": "Youtube N50 100MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-100",
                "name": "Youtube N100 200MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-250",
                "name": "Youtube N250 500MB Oneoff",
                "variation_amount": "250.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-time-50",
                "name": "Youtube N50 500MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-time-130",
                "name": "Youtube N130 1.5GB Oneoff",
                "variation_amount": "130.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-night-50",
                "name": "Youtube N50 500MB Night Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-night-200",
                "name": "Youtube N200 2GB Night Oneoff",
                "variation_amount": "200.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-social-oneoff-100",
                "name": "Glo MyG N100 400 MB OneOff (Whatsapp, Instagram, Snapchat, Boomplay, Audiomac, GloTV, Tiktok)",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-social-oneoff-300",
                "name": "Glo MyG N300 1 GB OneOff (Whatsapp, Instagram, Snapchat, Boomplay, Audiomac, GloTV, Tiktok)",
                "variation_amount": "300.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-social-oneoff-500",
                "name": "Glo MyG N500 1.5 GB OneOff (Whatsapp, Instagram, Snapchat, Boomplay, Audiomac, GloTV, Tiktok)",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-social-oneoff-1000",
                "name": "Glo MyG N1000 3.5 GB OneOff (Whatsapp, Instagram, Snapchat, Boomplay, Audiomac, GloTV, Tiktok)",
                "variation_amount": "1000.00",
                "fixedPrice": "Yes"
            }
        ],
        "varations": [
            {
                "variation_code": "glo100",
                "name": "Glo Data N100 -  105MB - 2 day",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo200",
                "name": "Glo Data N200 -  350MB - 4 days",
                "variation_amount": "200.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo500",
                "name": "Glo Data N500 -  1.05GB - 14 days",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo1000",
                "name": "Glo Data N1000 -  2.5GB - 30 days",
                "variation_amount": "1000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo2000",
                "name": "Glo Data N2000 -  5.8GB - 30 days",
                "variation_amount": "2000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo2500",
                "name": "Glo Data N2500 -  7.7GB - 30 days",
                "variation_amount": "2500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo3000",
                "name": "Glo Data N3000 -  10GB - 30 days",
                "variation_amount": "3000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo4000",
                "name": "Glo Data N4000 -  13.25GB - 30 days",
                "variation_amount": "4000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo5000",
                "name": "Glo Data N5000 -  18.25GB - 30 days",
                "variation_amount": "5000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo8000",
                "name": "Glo Data N8000 -  29.5GB - 30 days",
                "variation_amount": "8000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo10000",
                "name": "Glo Data N10000 -  50GB - 30 days",
                "variation_amount": "10000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo15000",
                "name": "Glo Data N15000 -  93GB - 30 days",
                "variation_amount": "15000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo18000",
                "name": "Glo Data N18000 -  119GB - 30 days",
                "variation_amount": "18000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo1500",
                "name": "Glo Data N1500 -  4.1GB - 30 days",
                "variation_amount": "1500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo20000",
                "name": "Glo Data N20000 -  138GB - 30 days",
                "variation_amount": "20000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-70",
                "name": "Glo Data (SME) N70 -  200MB - 14 days",
                "variation_amount": "70.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-320",
                "name": "Glo Data (SME) N320 - 1GB 30 days",
                "variation_amount": "320.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-960",
                "name": "Glo Data (SME) N960 - 3GB 30 days",
                "variation_amount": "960.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-3100",
                "name": "Glo Data (SME) N3100 - 10GB - 30 Days",
                "variation_amount": "3100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-640",
                "name": "Glo Data (SME) N640 - 2GB 30 days",
                "variation_amount": "640.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-160-14",
                "name": "Glo Data (SME) N160 - 500MB 14 days",
                "variation_amount": "160.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-dg-1600",
                "name": "Glo Data (SME) N1600 - 5GB 30 days",
                "variation_amount": "1600.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-daily-50",
                "name": "45MB + 5MB Night N50 Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-daily-100",
                "name": "115Mb + 35MB Night N100 Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-2days-200",
                "name": "240MB + 110MB Night N200 Oneoff",
                "variation_amount": "200.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-2weeks-500",
                "name": "800MB + 1GB Night N500 Oneoff",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-1000",
                "name": "1.9GB + 2GB Night N1000 Oneoff",
                "variation_amount": "1000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-1500",
                "name": "3.5GB + 4GB Night N1500 Oneoff",
                "variation_amount": "1500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-2000",
                "name": "5.2GB + 4GB Night N2000 Oneoff",
                "variation_amount": "2000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-2500",
                "name": "6.8GB + 4GB Night N2500 Oneoff",
                "variation_amount": "2500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-3000",
                "name": "10GB +4GB Night N3000 Oneoff",
                "variation_amount": "3000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-4000",
                "name": "14GB + 4GB Night N4000 Oneoff",
                "variation_amount": "4000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-5000",
                "name": "20GB + 4GB Night N5000 Oneoff",
                "variation_amount": "5000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-8000",
                "name": "27.5GB + 2GB Night N8000 Oneoff",
                "variation_amount": "8000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-10000",
                "name": "46GB + 4GB N10000 Oneoff",
                "variation_amount": "10000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-15000",
                "name": "86GB + 7GB N15000 Oneoff",
                "variation_amount": "15000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-18000",
                "name": "109GB + 10Gb N18000 Oneoff",
                "variation_amount": "18000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-monthly-20000",
                "name": "126GB + 12GB N20000 Oneoff",
                "variation_amount": "20000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-special-300",
                "name": "N300 1GB Special",
                "variation_amount": "300.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-special-500",
                "name": "N500 2GB Special",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-special-1500",
                "name": "N1500 7GB Special",
                "variation_amount": "1500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-weekend-500",
                "name": "N500 3GB Weekend",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-30000",
                "name": "N30000 225GB Glo Mega Oneoff",
                "variation_amount": "30000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-36000",
                "name": "N36000 300GB Glo Mega Oneoff",
                "variation_amount": "36000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-50000",
                "name": "N50000 425GB Glo Mega Oneoff",
                "variation_amount": "50000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-60000",
                "name": "N60000 525GB Glo Mega Oneoff",
                "variation_amount": "60000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-75000",
                "name": "N75000 675GB Glo Mega Oneoff",
                "variation_amount": "75000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-mega-75000",
                "name": "N100000 1TB Glo Mega Oneoff",
                "variation_amount": "100000.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-150",
                "name": "Glo TV VOD 500 MB 3days Oneoff",
                "variation_amount": "150.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-450",
                "name": "Glo TV VOD 2GB 7days Oneoff",
                "variation_amount": "450.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-1400",
                "name": "Glo TV VOD 6GB 30days Oneoff",
                "variation_amount": "1400.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-900",
                "name": "Glo TV Lite 2GB Oneoff",
                "variation_amount": "900.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tv-3200",
                "name": "Glo TV Max 6 GB Oneoff",
                "variation_amount": "3200.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-wtf-25",
                "name": "WTF N25 100MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-wtf-50",
                "name": "WTF N50 200MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-wtf-100",
                "name": "WTF N100 500MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-telegram-25",
                "name": "Telegram N25 20MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-telegram-50",
                "name": "Telegram N50 50MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-telegram-100",
                "name": "Telegram N100 125MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-insta-25",
                "name": "Instagram N25 20MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-insta-50",
                "name": "Instagram N50 50MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-insta-100",
                "name": "Instagram N100 125MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tiktok-25",
                "name": "Tiktok N25 20MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tiktok-50",
                "name": "Tiktok N50 50MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-tiktok-100",
                "name": "Tiktok N100 125MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-opera-25",
                "name": "Opera N25 25MB Oneoff",
                "variation_amount": "25.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-opera-50",
                "name": "Opera N50 100MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-opera-100",
                "name": "Opera N100 300MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-50",
                "name": "Youtube N50 100MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-100",
                "name": "Youtube N100 200MB Oneoff",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-250",
                "name": "Youtube N250 500MB Oneoff",
                "variation_amount": "250.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-time-50",
                "name": "Youtube N50 500MB Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-time-130",
                "name": "Youtube N130 1.5GB Oneoff",
                "variation_amount": "130.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-night-50",
                "name": "Youtube N50 500MB Night Oneoff",
                "variation_amount": "50.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-youtube-night-200",
                "name": "Youtube N200 2GB Night Oneoff",
                "variation_amount": "200.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-social-oneoff-100",
                "name": "Glo MyG N100 400 MB OneOff (Whatsapp, Instagram, Snapchat, Boomplay, Audiomac, GloTV, Tiktok)",
                "variation_amount": "100.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-social-oneoff-300",
                "name": "Glo MyG N300 1 GB OneOff (Whatsapp, Instagram, Snapchat, Boomplay, Audiomac, GloTV, Tiktok)",
                "variation_amount": "300.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-social-oneoff-500",
                "name": "Glo MyG N500 1.5 GB OneOff (Whatsapp, Instagram, Snapchat, Boomplay, Audiomac, GloTV, Tiktok)",
                "variation_amount": "500.00",
                "fixedPrice": "Yes"
            },
            {
                "variation_code": "glo-social-oneoff-1000",
                "name": "Glo MyG N1000 3.5 GB OneOff (Whatsapp, Instagram, Snapchat, Boomplay, Audiomac, GloTV, Tiktok)",
                "variation_amount": "1000.00",
                "fixedPrice": "Yes"
            }
        ]
    }
}

PURCHASE PRODUCT

Using a POST method, GLO Data bundle can with the endpoint below:

 

Live: https://vtpass.com/api/pay

Sandbox: https://sandbox.vtpass.com/api/pay

ServiceID: glo-data

 

The sandbox environment provides specific scenarios to simulate success, failure, or unexpected outcomes for data purchases. Use the examples below to test and observe how your integration behaves.

Refer to the table below to find the correct phone number for simulating various API responses:

Phone Number  Event Description
08011111111 Successful  Returns a successful response for testing data purchases.
201000000000 Pending Simulates an unexpected pending response.
500000000000 Unexpected Response Simulates an expected response, used to test how your system handles anomalies.
400000000000 No Response Simulates a scenario where the API returns no response.
300000000000 Timeout Simulates a timeout scenario for testing response handling under delays.
Any random phone number other than the above Failed Simulates a failed scenario for testing error handling for transaction failure.

 

NEEDED PAYLOAD

FIELDS Mandatory/Optional TYPE DESCRIPTION
request_id M String This is a unique reference with which you can use to identify and query the status of a given transaction after the transaction has been executed.

Click here to understand how to generate a valid request ID

serviceID M String Service ID as specified by VTpass. In this case, it is glo-data
billersCode M String The phone number you wish to make the Subscription payment on
variation_code M String The code of the variation (as specified in the GET VARIATIONS method as variation_code).
amount O Number The amount of the variation (as specified in the GET VARIATIONS endpoint as variation_amount)

This amount will be ignored as the variation code determine the price of the data bundle.

phone M Number The phone number of the customer or recipient of this service

 

EXPECTED RESPONSE

{
    "code": "000",
    "content": {
        "transactions": {
            "status": "delivered",
            "product_name": "GLO Data",
            "unique_element": "08011111111",
            "unit_price": "100",
            "quantity": 1,
            "service_verification": null,
            "channel": "api",
            "commission": 4,
            "total_amount": 96,
            "discount": null,
            "type": "Data Services",
            "email": "sandbox@sandbox.vtpass.com",
            "phone": "123450987623",
            "name": null,
            "convinience_fee": 0,
            "amount": "100",
            "platform": "api",
            "method": "api",
            "transactionId": "17415993527341826338904204",
            "commission_details": {
                "amount": 4,
                "rate": "4.00",
                "rate_type": "percent",
                "computation_type": "default"
            }
        }
    },
    "response_description": "TRANSACTION SUCCESSFUL",
    "requestId": "2025031010355265156",
    "amount": 100,
    "transaction_date": "2025-03-10T09:35:52.000000Z",
    "purchased_code": ""
}

 

QUERY TRANSACTION STATUS

Using a POST method, transaction status can be queried with the endpoint below:

Live: https://vtpass.com/api/requery

Sandbox: https://sandbox.vtpass.com/api/requery

FIELDS Mandatory/Optional TYPE DESCRIPTION
request_id M String

This is the reference with which you sent when purchasing a transaction after the transaction has been executed.

 

EXPECTED RESPONSE

{
    "response_description": "TRANSACTION SUCCESSFUL",
    "code": "000",
    "content": {
        "transactions": {
            "status": "delivered",
            "product_name": "GLO Data",
            "unique_element": "08011111111",
            "unit_price": 100,
            "quantity": 1,
            "service_verification": null,
            "channel": "api",
            "commission": 4,
            "total_amount": 96,
            "discount": null,
            "type": "Data Services",
            "email": "sandbox@sandbox.vtpass.com",
            "phone": "123450987623",
            "name": null,
            "extras": null,
            "convinience_fee": 0,
            "amount": 100,
            "platform": "api",
            "method": "wallet",
            "transactionId": "17415993527341826338904204",
            "product_id": 9,
            "commission_details": {
                "amount": 4,
                "rate": "4.00",
                "rate_type": "percent",
                "computation_type": "default"
            }
        }
    },
    "requestId": "2025031010355265156",
    "amount": 100,
    "transaction_date": "2025-03-10T09:35:52.000000Z",
    "purchased_code": ""
}

You can check out the complete list of RESPONSE CODES HERE.