Skip to main content
GET
Fetch Terminal QR Codes

Authorizations

x-client-id
string
header
required

Client app ID. You can find your app id in the Merchant Dashboard.

x-client-secret
string
header
required

Client secret key. You can find your secret in the Merchant Dashboard.

Headers

x-api-version
string
default:2022-09-01
required

API version to be used

x-request-id
string

Request id for the API call. Can be used to resolve tech issues. Communicate this in your tech related queries to cashfree

x-idempotency-key
string<UUID>

Idempotency works by saving the resulting status code and body of the first request made for any given idempotency key, regardless of whether it succeeded or failed. Subsequent requests with the same key return the same result, including 500 errors.

Currently supported on all POST calls that uses x-client-id & x-client-secret. To use enable, pass x-idempotency-key in the request header. The value of this header must be unique to each operation you are trying to do. One example can be to use the same order_id that you pass while creating orders

Query Parameters

terminal_phone_no
string

Phone number assigned to the terminal. Required if you are not providing the cf_terminal_id in the request.

cf_terminal_id
integer

Cashfree terminal ID for which you want to get static QRs. Required if you are not providing the terminal_phone_no in the request. For example, GET /pg/terminal/qrcodes?cf_terminal_id=123344.

Response

Fetched Terminal QR Codes

bank_name
string

Name of the bank that is linked to the static QR.

qrcode
string

Base64-encoded image of the static QR code.

qrcode_content
string

UPI payment string encoded in the static QR code.

qrcode_status
string

Status of the static QR.

vpa
string

UPI VPA linked to the static QR.