curl --request PUT \
--url https://api.hit-pay.com/v1/static_qr/{static_qr_id} \
--header 'Content-Type: application/json' \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
--data '
{
"name": "<string>",
"location_id": "9cc4aee8-c1b4-4401-af57-aea884c780cb",
"amount": 10.99,
"currency": "sgd"
}
'{
"id": "<string>",
"name": "<string>",
"reference": "<string>",
"payment_provider": "<string>",
"payment_provider_method": "<string>",
"amount": 123,
"currency": "<string>",
"payment_provider_method_logos": [
{
"sm": "<string>",
"md": "<string>",
"lg": "<string>",
"svg": "<string>",
"svg_square": "<string>",
"png_square": "<string>",
"method": "<string>",
"iconName": "<string>",
"displayName": "<string>"
}
],
"payment_provider_method_main_logo": {
"sm": "<string>",
"md": "<string>",
"lg": "<string>",
"svg": "<string>",
"svg_square": "<string>",
"png_square": "<string>",
"method": "<string>",
"iconName": "<string>",
"displayName": "<string>"
},
"created_by": {
"id": "<string>",
"display_name": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"location_id": "<string>",
"location": {
"name": "<string>",
"address": "<string>"
},
"device_id": "<unknown>",
"device": "<unknown>",
"qr_value": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}Update a static QR code’s label or configuration
curl --request PUT \
--url https://api.hit-pay.com/v1/static_qr/{static_qr_id} \
--header 'Content-Type: application/json' \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
--data '
{
"name": "<string>",
"location_id": "9cc4aee8-c1b4-4401-af57-aea884c780cb",
"amount": 10.99,
"currency": "sgd"
}
'{
"id": "<string>",
"name": "<string>",
"reference": "<string>",
"payment_provider": "<string>",
"payment_provider_method": "<string>",
"amount": 123,
"currency": "<string>",
"payment_provider_method_logos": [
{
"sm": "<string>",
"md": "<string>",
"lg": "<string>",
"svg": "<string>",
"svg_square": "<string>",
"png_square": "<string>",
"method": "<string>",
"iconName": "<string>",
"displayName": "<string>"
}
],
"payment_provider_method_main_logo": {
"sm": "<string>",
"md": "<string>",
"lg": "<string>",
"svg": "<string>",
"svg_square": "<string>",
"png_square": "<string>",
"method": "<string>",
"iconName": "<string>",
"displayName": "<string>"
},
"created_by": {
"id": "<string>",
"display_name": "<string>",
"first_name": "<string>",
"last_name": "<string>"
},
"location_id": "<string>",
"location": {
"name": "<string>",
"address": "<string>"
},
"device_id": "<unknown>",
"device": "<unknown>",
"qr_value": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"
The static QR id
Static QR name
255The active location id that the static QR will use.
"9cc4aee8-c1b4-4401-af57-aea884c780cb"
The amount for static QR.
x >= 010.99
The currency for static QR. It's required field if the amount is present.
3"sgd"
200
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?