Update Static QR

This endpoint allows you to update a static QR.

put/v1/static_qr/{static_qr_id}

Request

  • Base URL
    https://api.hit-pay.com
  • URL
    https://api.hit-pay.com/v1/static_qr/{static_qr_id}
  • Auth
    none declared. Required headers: X-BUSINESS-API-KEY

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
device_idunknown required
deviceunknown required
qr_valuestring required
created_atstring required
updated_atstring required

Changes

No recorded changes to this operation across all 8 revisions of this API.