Service ID API

This section contains the recommended flow for getting the available service IDs on VTpass RESTful API.

 

Authentication

Learn about authentication from here.

 

 

GET SERVICE ID

Using a GET method, the VTpass service IDs for Data [for instance] can be accessed with the endpoint below:

Live:   https://vtpass.com/api/services?identifier=data

Sandbox: https://sandbox.vtpass.com/api/services?identifier=data

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

 

EXPECTED RESPONSE

{
    "response_description": "000",
    "content": [
        {
            "serviceID": "airtel-data",
            "name": "Airtel Data",
            "minimium_amount": "1",
            "maximum_amount": "1000000",
            "convinience_fee": "0 %",
            "product_type": "fix",
            "image": "https://sandbox.vtpass.com/resources/products/200X200/Airtel-Data.jpg"
        },
        {
            "serviceID": "mtn-data",
            "name": "MTN Data",
            "minimium_amount": "1",
            "maximum_amount": "1000000",
            "convinience_fee": "0 %",
            "product_type": "fix",
            "image": "https://sandbox.vtpass.com/resources/products/200X200/MTN-Data.jpg"
        },
        {
            "serviceID": "glo-data",
            "name": "GLO Data",
            "minimium_amount": "1",
            "maximum_amount": "200000",
            "convinience_fee": "0 %",
            "product_type": "fix",
            "image": "https://sandbox.vtpass.com/resources/products/200X200/GLO-Data.jpg"
        },
        {
            "serviceID": "etisalat-data",
            "name": "9mobile Data",
            "minimium_amount": "1",
            "maximum_amount": "1000000",
            "convinience_fee": "0 %",
            "product_type": "fix",
            "image": "https://sandbox.vtpass.com/resources/products/200X200/9mobile-Data.jpg"
        },
        {
            "serviceID": "smile-direct",
            "name": "Smile Payment",
            "minimium_amount": "100",
            "maximum_amount": "150000",
            "convinience_fee": "N0",
            "product_type": "fix",
            "image": "https://sandbox.vtpass.com/resources/products/200X200/Smile-Payment.jpg"
        },
        {
            "serviceID": "spectranet",
            "name": "Spectranet Internet Data",
            "minimium_amount": "1",
            "maximum_amount": "100000",
            "convinience_fee": "N0",
            "product_type": "fix",
            "image": "https://sandbox.vtpass.com/resources/products/200X200/Spectranet.jpg"
        },
        {
            "serviceID": "glo-sme-data",
            "name": "GLO Data (SME)",
            "minimium_amount": "1",
            "maximum_amount": "1000000",
            "convinience_fee": "0 %",
            "product_type": "fix",
            "image": "https://sandbox.vtpass.com/resources/products/200X200/GLO-Data-(SME).jpg"
        }
    ]
}

NOTE: Identifiers are gotten from this endpoint