v2

latestOpenAPI 3.1.12026-08-06856719.6 KB

Update Static QR

This endpoint allows you to update a static QR.

put/v1/static_qr/{static_qr_id}

Path parameters

static_qr_idstring required

The static QR id

Headers

X-BUSINESS-API-KEYstring required
Example:b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d

Request body

namestring

Static QR name

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

{
  "location_id": "9cc4aee8-c1b4-4401-af57-aea884c780cb",
  "amount": 10.99,
  "currency": "sgd"
}

Response

200

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/{static_qr_id}:put:responses:200:content:application/json:schema:properties:device_id","oasType":"schema","type":"unknown"}
{"stackTrail":"paths:/v1/static_qr/{static_qr_id}:put:responses:200:content:application/json:schema:properties:device","oasType":"schema","type":"unknown"}
qr_valuestring required
created_atstring required
updated_atstring required