Fetch Bill by BillId
Fetch Bill by BillId
Postman Collection
URL
GET : /v1/service/bbps/fetch/billByBillIdHeaders
Content-Type (String) required
application/json
application/json
Authorization (String) required
Basic Auth
Basic Auth
Accept (String) required
application/json
application/json
Body Params
billId (String) Required
Merchant Bill Id (Max Length: 50)
Merchant Bill Id (Max Length: 50)
Request
Example Request
curl --location --request GET '/v1/service/bbps/fetch/billByBillId' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic Og==' \
--data '{
"billId": "b140e4d9-XXXX-456a-XXXX-4955c132eee4"
}'
Response Samples
- SUCCESS
- FAILED
{
"code": "0x0200",
"message": "Record fetched successfully.",
"status": "SUCCESS",
"data": ""
}
{
"code": "0x0202",
"status": "FAILURE",
"message": "Bill Not found with ID",
"data": {
"message": "Bill Not found with ID",
"remarks": "",
"status": "failure",
"statusCode": "400"
}
}
Response Code
Status Code | Status | Message |
---|---|---|
0x0200 | SUCCESS | TRANSACTION SUCCESSFULL |
0x0201 | UNAUTHORIZED | UNAUTHORIZED USER |
0x0202 | FAILURE | FAILURE USER |
0x0203 | MISSING_PARAMETER | MISSING PARAMETER |
0x0204 | CONNECTION_TIMEOUT | CONNECTION TIMEOUT |
0x0205 | SOMETHING_WENT_WRONG | SOMETHING WENT WRONG |
0x0206 | PENDING | TRANSACTION PENDING |
0x0207 | REVERSED | TRANSACTION REVERSED |
0x0209 | REDIRECT | REDIRECT URL |