v2

latestOpenAPI 3.1.12026-08-06856719.6 KB

Create a Static QR

This endpoint allows you to create static QR.

post/v1/static_qr

Headers

X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d

Request body

namestring required

Static QR name

payment_provider_method'paynow_online' | 'upi_qr' | 'qrph_netbank' required

The payment provider method that the static QR will use. The available methods: paynow_online, upi_qr, qrph_netbank

device_idstring uuid

The device id that the static QR will use.

location_idstring uuid

The active location id that the static QR will use.

amountnumber

The amount for static QR.

currencystring

The currency for static QR. It's required field if the amount is present.

Example request

{
  "amount": 10.99,
  "currency": "sgd"
}

Response

201

idstring required
namestring required
referencestring required
payment_providerstring required
payment_provider_methodstring required
amountnumber required
currencystring required
location_idstring nullable required
{"stackTrail":"paths:/v1/static_qr:post:responses:201:content:application/json:schema:properties:device_id","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/static_qr:post:responses:201:content:application/json:schema:properties:device","oasType":"schema","type":"unknown"}
qr_valuestring required
created_atstring required
updated_atstring required