Service Type
base_url: http://sandbox.etranzactng.com/SBP
Description: This endpoint displays all details of specified biller. Parameters (in order of appearance in
result field of sample response) are listed and
described in table below:
- Sample Request
- Sample Response
GET /service-type/biller/12
curl `${base_url}/service-type/biller/12`
-H "Content-type: application/json"
Service-Type response parameters (Result Payload)
| Parameter | Description |
|---|---|
| billName | Name of Biller |
| billType | Indicates activity of bill query.
|
| description | Short description of Biller |
| expectedFields | Parameters expected during Bill Query |
| biller | This payload contains additional Biller information |
| id | This is the sequential biller ID used by the Biller endpoint above |
| billerCategory | This payload contains additional Biller Category information |
| id | This is the sequential biller category ID used by the Biller Category endpoint above |
| categoryName | Biller Category Name |
| description | Short Description of Category |
| status | Indicates Category activity
|
| billerName | Biller Name |
| billerCode | Biller Alias |
| status | Indicates Biller activity
|
GET /service-type/biller/12
{
"status": true,
"message": "Service type retrieved successfully",
"result": [
{
"id": 9,
"billName": "PHCN Enugu Prepaid",
"billType": "INTEGRATED",
"description": "This is PHCN Enugu Prepaid.",
"expectedFields": ["ClientRef", "BillId", "CustomerId"],
"biller": {
"id": 12,
"billerCategory": {
"id": 2,
"categoryName": "Electricity",
"description": "This is electricity biller category",
"status": 1
},
"billerName": "PHCN Enugu Prepaid",
"billerCode": "phcnenu",
"description": "This is phcn enugu prepaid biller",
"status": 1,
"hibernateLazyInitializer": {}
}
}
]
}