Static QR Codes
Update Static QR
Guides
API References
- Payment Request
- Recurring Billing
- Charges
- Payout
- Account
- Orders
- Products
- Product Category
- Customers
- Staffs
- Invoice
- Webhook Events
- Static QR Codes
- Notifications
- Terminal
Static QR Codes
Update Static QR
This endpoint allows you to update a static QR.
PUT
/
v1
/
static_qr
/
{static_qr_id}
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": "<any>",
"device": "<any>",
"qr_value": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}
Headers
Example:
"b286daabf9921b5a01a4621f026c111e046f8911feba212996c92159b98427d"
Path Parameters
The static QR id
Body
application/json
Response
200 - application/json
200
The response is of type object
.
Was this page helpful?
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": "<any>",
"device": "<any>",
"qr_value": "<string>",
"created_at": "<string>",
"updated_at": "<string>"
}