- EnKash Developer Portal Overview
- Payment Gateway
- Payment Gateway Overview
- Payment Gateway Sign Up
- Payment Methods
- Supported Integrations
- Payment Gateway APIs
- Web Integration
- Server to Server Integration
- Test Card Details
- Authorization
- Orders
- Payments
- Refunds
- Settlements
- Split Settlements
- E-Commerce Plugins
- Payment Links
- Payment Button
- Qr Code
- UPI Mandate
- Payment Links
- Bharat Connect (BBPS)
- About Bharat Connect
- B2B Invoicing
- Invoice
- Payment
- Financing
- Onboarding
- cdNote
- Purchase Order
- webhook-invoice
- webhook-payments
- webhook-business-onboarding
- webhook-financing
- webhook-cdNote
- Webhook Purchase Order
- Webhook Send Purchase Order Request
- Webhook Send Purchase Order Response
- Webhook Confirm Purchase Order Request
- Webhook Confirm Purchase Order Response
- Webhook Edit Purchase Order Request
- Webhook Edit Purchase Order Response
- Webhook Status Change Purchase Order Request
- Webhook Status Change Purchase Order Response
- Bill Payments
- Payouts
- Accounts Payable Management Tool
- Account Receivable
- Expense Management
- Loyalty
- Card Management
- Verification Suite
Create Qr Code
POST
/api/v0/qr-code
Request
Header Params
merchantAccessKey
stringÂ
optional
Authorization
stringÂ
optional
Body Params application/json
qrName
stringÂ
required
multipleUse
booleanÂ
required
fixedAmount
booleanÂ
required
amount
numberÂ
optional
description
stringÂ
optional
expiry
stringÂ
optional
customParams
objectÂ
optional
additionalProp1
stringÂ
optional
additionalProp2
stringÂ
optional
additionalProp3
stringÂ
optional
customerName
stringÂ
optional
customerEmail
stringÂ
optional
customerMobile
stringÂ
optional
customerId
stringÂ
optional
referenceNumber
stringÂ
optional
Example
{
"qrName": "string",
"multipleUse": true,
"fixedAmount": true,
"amount": 0,
"description": "string",
"expiry": "string",
"customParams": {
"additionalProp1": "string",
"additionalProp2": "string",
"additionalProp3": "string"
},
"customerName": "string",
"customerEmail": "string",
"customerMobile": "string",
"customerId": "string",
"referenceNumber": "string"
}
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 POST '/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
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
Allowed values:
ACTIVECANCELLED
qrCodeBase64
stringÂ
optional
createdOn
stringÂ
optional
modifiedOn
stringÂ
optional
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"
}
}
Modified at 2024-10-10 08:31:41