Skip to main content
GET
/
bbps
/
biller
/
bill
/
status
/
{bbps_transaction_id}
Check Transaction Status
curl --request GET \
  --url https://sandbox.cashfree.com/bbps/biller/bill/status/{bbps_transaction_id} \
  --header 'Content-Type: <content-type>' \
  --header 'x-client-id: <x-client-id>' \
  --header 'x-client-secret: <x-client-secret>'
import requests

url = "https://sandbox.cashfree.com/bbps/biller/bill/status/{bbps_transaction_id}"

headers = {
"x-client-id": "<x-client-id>",
"x-client-secret": "<x-client-secret>",
"Content-Type": "<content-type>"
}

response = requests.get(url, headers=headers)

print(response.text)
const options = {
method: 'GET',
headers: {
'x-client-id': '<x-client-id>',
'x-client-secret': '<x-client-secret>',
'Content-Type': '<content-type>'
}
};

fetch('https://sandbox.cashfree.com/bbps/biller/bill/status/{bbps_transaction_id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));
<?php

$curl = curl_init();

curl_setopt_array($curl, [
CURLOPT_URL => "https://sandbox.cashfree.com/bbps/biller/bill/status/{bbps_transaction_id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Content-Type: <content-type>",
"x-client-id: <x-client-id>",
"x-client-secret: <x-client-secret>"
],
]);

$response = curl_exec($curl);
$err = curl_error($curl);

curl_close($curl);

if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}
package main

import (
"fmt"
"net/http"
"io"
)

func main() {

url := "https://sandbox.cashfree.com/bbps/biller/bill/status/{bbps_transaction_id}"

req, _ := http.NewRequest("GET", url, nil)

req.Header.Add("x-client-id", "<x-client-id>")
req.Header.Add("x-client-secret", "<x-client-secret>")
req.Header.Add("Content-Type", "<content-type>")

res, _ := http.DefaultClient.Do(req)

defer res.Body.Close()
body, _ := io.ReadAll(res.Body)

fmt.Println(string(body))

}
HttpResponse<String> response = Unirest.get("https://sandbox.cashfree.com/bbps/biller/bill/status/{bbps_transaction_id}")
.header("x-client-id", "<x-client-id>")
.header("x-client-secret", "<x-client-secret>")
.header("Content-Type", "<content-type>")
.asString();
require 'uri'
require 'net/http'

url = URI("https://sandbox.cashfree.com/bbps/biller/bill/status/{bbps_transaction_id}")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-client-id"] = '<x-client-id>'
request["x-client-secret"] = '<x-client-secret>'
request["Content-Type"] = '<content-type>'

response = http.request(request)
puts response.read_body
"{\n  \"bbps_transaction_id\": \"test40624\",\n  \"bill_payment_status\": \"SUCCESS\",\n  \"settlement_status\": \"SETTLED\",\n  \"settlement_utr\": \"DUMMYUTR\",\n  \"settlement_amount\": 1,\n  \"settlement_time\": \"2024-07-30 11:39:42\"\n}"

Headers

x-client-id
string
required

Client ID provided by Cashfree.

Example:

"your_client_id"

x-client-secret
string
required

Client secret key provided by Cashfree.

Example:

"your_client_secret"

Content-Type
string
required

The content type for the request should be application/json.

Example:

"application/json"

Path Parameters

bbps_transaction_id
string
required

Unique identifier for the transaction (BBPS transaction ID).

Example:

"test40624"

Response

200

bbps_transaction_id
string

Unique BBPS transaction ID for the request.

bill_payment_status
enum<string>

Current status of the transaction (e.g. SUCCESS, PENDING, FAILED).

Available options:
SUCCESS,
PENDING,
FAILED
settlement_status
string

Status of the settlement (SETTLED or null).

settlement_utr
string

Unique transaction reference number of the settlement.

settlement_amount
integer

Amount of the settlement.

settlement_time
string<date-time>

Time of the settlement.