Get providers

This call pulls details of the available airtime service providers.

   Method: GetCreditDetails    
   URI: …/JamboPayServices/api/payments/getCreditDetails?stream=credit     
   Stream: credit

Call response

{
    "CreditCircles": [
        {
            "ID": "1",
            "Name": "KENYA"
        },
        {
            "ID": "*",
            "Name": "All Circles"
        }
    ],
    "Denominations": [
        {
            "CircleCode": "*",
            "ID": 20,
            "OperatorCode": "1",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 50,
            "OperatorCode": "1",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 100,
            "OperatorCode": "1",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 250,
            "OperatorCode": "1",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 500,
            "OperatorCode": "1",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 1000,
            "OperatorCode": "1",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 20,
            "OperatorCode": "2",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 50,
            "OperatorCode": "2",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 100,
            "OperatorCode": "2",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 250,
            "OperatorCode": "2",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 500,
            "OperatorCode": "2",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 1000,
            "OperatorCode": "2",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 5,
            "OperatorCode": "4",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 10,
            "OperatorCode": "4",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 20,
            "OperatorCode": "4",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 50,
            "OperatorCode": "4",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 100,
            "OperatorCode": "4",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 250,
            "OperatorCode": "4",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 500,
            "OperatorCode": "4",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 1000,
            "OperatorCode": "4",
            "ProductCode": "RV"
        },
        {
            "CircleCode": "*",
            "ID": 0,
            "OperatorCode": "5",
            "ProductCode": ""
        }
    ],
    "Operators": [
        {
            "ID": "1",
            "Name": "AIRTEL"
        },
        {
            "ID": "5",
            "Name": "KPLC"
        },
        {
            "ID": "4",
            "Name": "Safaricom Ltd"
        },
        {
            "ID": "2",
            "Name": "TELKOM"
        }
    ],
    "Products": [
        {
            "ID": "RV",
            "Name": "RECHARGE VOUCHER",
            "OperatorCode": "1"
        },
        {
            "ID": "RV",
            "Name": "RECHARGE VOUCHER",
            "OperatorCode": "2"
        },
        {
            "ID": "RV",
            "Name": "Recharge Voucher",
            "OperatorCode": "4"
        },
        {
            "ID": "",
            "Name": "",
            "OperatorCode": "5"
        }
    ],
    "Balance": 0.0
}

Example of the API call: …/JamboPayServices/api/payments/getCreditDetails?stream=credit

Untitled