GET
/
terminal
/
qrcodes
curl --request GET \
  --url https://sandbox.cashfree.com/pg/terminal/qrcodes \
  --header 'x-api-version: <x-api-version>' \
  --header 'x-client-id: <api-key>' \
  --header 'x-client-secret: <api-key>'
[
  {
    "bank": "SIM",
    "qrCode": "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAQAAAAEAAQMAAABmvDolAAAABlBMVEX///",
    "qrCodeUrl": "upi://pay?cu=INR&pa=cf.vpa-epos-gamma202601415xwtvf9",
    "status": "ACTIVE"
  }
]

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. Format is in YYYY-MM-DD

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

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
required

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

cf_terminal_id
integer
required

Cashfree terminal id for which you want to get staticQRs. Required if you are not providing the terminal_phone_number in the request.

Response

200
application/json

Fetched Terminal QR Codes

The response is of type FetchTerminalQRCodesEntity · object[].