API Reference

get /service/{id}

View service details endpoint...

Body:
null
Sample Response:
{
    "status": "ok",
    "msg": "Service found",
    "data": {
        "serviceID": "8d92ad62f61bcb71935de41a9fc3be7e",
        "name": "Dstv",
        "description": "Pay Dstv Bill",
        "image_url": "http://aimtoget.oo/assets/services/0a966271f6.jpg",
        "status_id": "100",
        "status": "Approved",
        "requires_amount_field": false,
        "customer_field_title": {
            "name": "customer_id",
            "title": "Smartcard No."
        },
        "fields": [
            {
                "title": "Smartcard No.",
                "name": "customer_id",
                "added_date": "2018-08-11 14:39:31",
                "default_value": "0"
            }
        ],
        "variations": [
            {
                "title": "Dstv Access",
                "name": "ACSSE36",
                "price": "2000",
                "added_date": "2018-08-11 14:39:31"
            },
            {
                "title": "Dstv Family",
                "name": "COFAME36",
                "price": "4000",
                "added_date": "2018-08-11 14:39:31"
            },
            {
                "title": "Dstv Compact",
                "name": "COMPE36",
                "price": "7000",
                "added_date": "2018-08-11 14:39:31"
            },
            {
                "title": "Dstv Compact Plus",
                "name": "COMPLE36",
                "price": "10500",
                "added_date": "2018-08-11 14:39:31"
            }
        ]
    }
}