Enkash APIs
HomePayment GatewayPayoutsCreate Account
HomePayment GatewayPayoutsCreate Account
Login
  1. Qr Code
  • Payment Gateway Overview
  • Getting Started
  • Payment Methods
  • Integration
  • API Endpoints
  • APIs
    • Authorisation
      • Get Authorization Token
    • Order
      • Create Order
      • Get Order Status
      • Get Order By Merchant Order Id
      • Get BNPL Payment Modes
      • Get Dynamic QR Code
      • UPI Intent Links
    • Payment
      • Submit Payment Detail
      • Get Transaction Status
      • Validate OTP
      • Resend OTP
      • Payment Notify Request
      • Get UPI Transaction Status
      • Verify VPA
    • Refund
      • Refund
    • Settlement
      • Settlement Reporting
      • Get Settlement Payout By ID
      • Search Settlement Payouts
    • Split Settlement
      • Create Split Settlement Account
      • Update Split Settlement Account
      • Get All Split Settlement Account
      • Deactivate Split Settlement Account
      • Activate Split Settlement Account
      • Submit Payment with Split Details
      • Edit/Deferred Split Settlement
    • E-Commerce Plugins
    • Payment Button
    • Qr Code
      • Create Qr Code
        POST
      • Get QR Code
        GET
      • Search QR Code
        POST
      • createCustomer
        POST
      • searchCustomer
        POST
      • Cancel QR Code
        PATCH
    • UPI Mandate
      • Create UPI Mandate
      • Update UPI Mandate
      • Revoke UPI Mandate
      • Get UPI Mandate
      • UPI mandate create callback
      • Mandate Pre-debit Notification
      • Execute mandate debit
      • Mandate Debit callback
    • Payment Links
      • Payment Links Overview
      • Payment Link APIs
      • Payment Link
        • Create Payment Link
        • Get Payment Link Details
        • Delete Payment Link
      • Payment Link Webhook
        • Payment Link Webhook Request
  1. Qr Code

Get QR Code

GET
/api/v0/qr-code/{qrCodeId}
API to get the qrCode details by qrCodeId

Request

Path Params
qrCodeId
string 
required
Unique QrCode Id provided by us
Header Params
merchantAccessKey
string 
optional
Authorization
string 
optional
Body Params application/json
object {0}
Example
{}

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v0/qr-code/' \
--header 'Content-Type: application/json' \
--data-raw '{}'

Responses

🟢200Success
application/json
Body
response_code
integer <int32>
optional
response_message
string 
optional
payload
object (QrCodeResponse) 
optional
qrCodeId
string 
optional
Unique QrCode Id generated at our end
qrName
string 
optional
multipleUse
boolean 
optional
fixedAmount
boolean 
optional
amount
number 
optional
description
string 
optional
expiry
string 
optional
customParams
object 
optional
status
enum<string> 
optional
QrCode status
Allowed values:
ACTIVECANCELLED
qrCodeBase64
string 
optional
Base64Image of the QrCode
createdOn
string 
optional
DateTime of the QrCode created
modifiedOn
string 
optional
DateTime of the QrCode modified
customerName
string 
optional
customerEmail
string 
optional
customerMobile
string 
optional
customerId
string 
optional
referenceNumber
string 
optional
Example
{
    "response_code": 0,
    "response_message": "string",
    "payload": {
        "qrCodeId": "string",
        "qrName": "string",
        "multipleUse": true,
        "fixedAmount": true,
        "amount": 0,
        "description": "string",
        "expiry": "string",
        "customParams": {
            "additionalProp1": "string",
            "additionalProp2": "string",
            "additionalProp3": "string"
        },
        "status": "ACTIVE",
        "qrCodeBase64": "string",
        "createdOn": "string",
        "modifiedOn": "string",
        "customerName": "string",
        "customerEmail": "string",
        "customerMobile": "string",
        "customerId": "string",
        "referenceNumber": "string"
    }
}
Previous
Create Qr Code
Next
Search QR Code
Built with