API Reference
This endpoint allows you to update a static QR.
cURL
curl --request PUT \ --url https://api.sandbox.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": "3c90c3cc-0d44-4b50-8888-8dd25736052a" } '
{ "id": "<string>", "name": "<string>", "reference": "<string>", "payment_provider": "<string>", "payment_provider_method": "<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
255
The active location id that the static QR will use.
200
Show child attributes
Was this page helpful?