curl --request POST \
--url https://api.hit-pay.com/v1/static_qr \
--header 'Content-Type: application/json' \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
--data '
{
"name": "<string>",
"payment_provider_method": "paynow_online",
"device_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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>"
}Create a static QR code for accepting recurring payments at a fixed location
curl --request POST \
--url https://api.hit-pay.com/v1/static_qr \
--header 'Content-Type: application/json' \
--header 'X-BUSINESS-API-KEY: <x-business-api-key>' \
--data '
{
"name": "<string>",
"payment_provider_method": "paynow_online",
"device_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"location_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"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"
Static QR name
255The payment provider method that the static QR will use. The available methods: paynow_online, upi_qr, qrph_netbank
paynow_online, upi_qr, qrph_netbank The device id that the static QR will use.
The active location id that the static QR will use.
The amount for static QR.
x >= 010.99
The currency for static QR. It's required field if the amount is present.
3"sgd"
201
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Was this page helpful?