Skip to main content

Fetch Category

Fetch Category

Postman Collection

URL

GET : /v1/service/bbps/fetch/category

Headers

Content-Type  (String)   required
application/json
Authorization  (String)   required
Basic Auth
Accept  (String)   required
application/json

Body Params

tenantId  (String)   Required
Merchant Bill Tenant Id (Max Length: 20)

Request

Example Request
    curl --location --request GET '/v1/service/bbps/fetch/category' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"tenantId" : "FE4X"
}'

Response Samples

    {
"code": "0x0200",
"message": "Record fetched successfully.",
"status": "SUCCESS",
"data": [
{
"categoryId": "5f3c453e-20b1-4676-902f-b47da9675aac",
"categoryName": "Fastag",
"categoryIcon": "data:image/png;base64,iVBORwXFvCSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJElt8v8BS2Utmlf4h98AAAAASUVORK5CYII=",
"categoryDomain": "Recharge",
"buttonName": "Fastag",
"textArea": "RmFzdGFnIGFuc3dlcg==",
"faqDetailsList": [
{
"name": "Fastag FAQ",
"value": "Fastag answer"
}
]
}
{
"categoryId": "dec69fc4-23eb-4a0b-9a22-cfd4aace4d18",
"categoryName": "NCMC Recharge",
"categoryIcon": "data:image/png;base64,iVBORw0KGgoAAAA43zTYdAAAAAAAAAAAAAAAAAAAAAGvxv3/9JlzS+tVHAAAAAElFTkSuQmCC",
"categoryDomain": "Recharge",
"buttonName": "NCMC Recharge",
"textArea": "TkNNQyBSZWNoYXJnZQ==",
"faqDetailsList": [
{
"name": "NCMC Recharge",
"value": "NCMC Recharge"
}
]
}
]
}

Response Code

Status CodeStatusMessage
0x0200SUCCESSTRANSACTION SUCCESSFULL
0x0201UNAUTHORIZEDUNAUTHORIZED USER
0x0202FAILUREFAILURE USER
0x0203MISSING_PARAMETERMISSING PARAMETER
0x0204CONNECTION_TIMEOUTCONNECTION TIMEOUT
0x0205SOMETHING_WENT_WRONGSOMETHING WENT WRONG
0x0206PENDINGTRANSACTION PENDING
0x0207REVERSEDTRANSACTION REVERSED
0x0209REDIRECTREDIRECT URL