Skip to main content

Bill Payment Status

Authentication

Basic Authentication

  • Username: Client Id
  • Password: Secret Key

Example Authorization Header:

Authorization: Basic eGV0dGxlXzgzMjg2NjU5YmRmNzBkZWEzMDUwMzcwNzE1MTYwMzA0MDo3YzE1ZDQyYTZhYjEyOTYzYWI4NzJhMzFkOTk4MDk1ZDMwNTAzNzA3MTUxNjMyMDg5

Request Body

{
"transactionId":"2299988bbbb"
}

Request Parameters

ParameterTypeDescription
transactionIdstringBill payment transaction id

Request Examples

Request Examples

curl --location 'https://xyz.com/v1/service/bbps/bill-status' --header 'Content-Type: application/json' --header 'Authorization: Basic eGV0dGxlXzU1NDlhYmQwYzJmNjdiOGUyMjM4Mjg5MTExMDc3MTExMjpjYjYyNzZlZTUwNGE1NzUzNDJlOTRlNmIwZjQ4MmQ0MTIyMzgyODkxMTEwNzc3NjM2' --data '{
"transactionId":"2299988bbbb"
}'

Response Examples

{
"status": true,
"message": "Data fetched successfully",
"pagination": {
"currentPage": 2,
"totalPages": 122,
"recordsPerPage": 200,
"totalRecords": 24205
},
"data": [
{
"id": 201,
"name": "Amity University Greater Noida",
"recharge1": "AMIFEE000UTP02"
},
{
"id": 202,
"name": "Amity School Of Distance Learning",
"recharge1": "AMIFEE000UTP03"
},
{
"id": 203,
"name": "Amity International School Vrindavan Yojana",
"recharge1": "AMIFEE000UTP05"
},
{
"id": 204,
"name": "Amity International School Vasundhara Sec 6",
"recharge1": "AMIFEE000UTP06"
},
{
"id": 205,
"name": "Amity International School Vasundhara Sec 1",
"recharge1": "AMIFEE000UTP07"
},
{
"id": 206,
"name": "Amity International School Noida",
"recharge1": "AMIFEE000UTP08"
},
{
"id": 207,
"name": "Amity International School Lucknow",
"recharge1": "AMIFEE000UTP09"
}]

Response Codes

The API uses the following response codes to indicate the status of requests:

CodeDescriptionMeaning
0x0200SUCCESSThe request was processed successfully.
0x0201UNAUTHORIZEDAuthentication failed or insufficient permissions.
0x0202FAILEDThe request processing failed for a reason other than those specifically identified.
0x0203MISSING_PARAMETERThe request is missing one or more required parameters.
0x0206PENDINGThe request has been received and is being processed, but processing has not yet completed.
0x0205SOMETHING_WENT_WRONGA server error occurred during processing of the request.