---
title: "Create a Static QR"
method: POST
path: "/v1/static_qr"
---

# Create a Static QR

`POST /v1/static_qr`

This endpoint allows you to create static QR.

## Headers

- `X-BUSINESS-API-KEY` string, required

## Request body

- object
  - `name` string, required — Static QR name
  - `payment_provider_method` 'paynow_online' | 'upi_qr' | 'qrph_netbank', required — The payment provider method that the static QR will use. The available methods: `paynow_online`, `upi_qr`, `qrph_netbank`
  - `device_id` string, uuid — The device id that the static QR will use.
  - `location_id` string, uuid — The active location id that the static QR will use.
  - `amount` number — The amount for static QR.
  - `currency` string — The currency for static QR. It's required field if the amount is present.

## Response `201`

201

- object
  - `id` string, required
  - `name` string, required
  - `reference` string, required
  - `payment_provider` string, required
  - `payment_provider_method` string, required
  - `amount` number, required
  - `currency` string, required
  - `payment_provider_method_logos` object[], required
    - `sm` string, required
    - `md` string, required
    - `lg` string, required
    - `svg` string, required
    - `svg_square` string, required
    - `png_square` string, required
    - `method` string, required
    - `iconName` string, required
    - `displayName` string, required
  - `payment_provider_method_main_logo` object, required
    - `sm` string, required
    - `md` string, required
    - `lg` string, required
    - `svg` string, required
    - `svg_square` string, required
    - `png_square` string, required
    - `method` string, required
    - `iconName` string, required
    - `displayName` string, required
  - `created_by` object, required
    - `id` string, required
    - `display_name` string, required
    - `first_name` string, required
    - `last_name` string, required
  - `location_id` string, nullable, required
  - `location` object, nullable, required
    - `name` string, required
    - `address` string, required
  - `device_id` unknown, required
  - `device` unknown, required
  - `qr_value` string, required
  - `created_at` string, required
  - `updated_at` string, required

---

[API](https://skmtc.net/hitpayapp/apis/hitpay-api.md) · [All operations](https://skmtc.net/hitpayapp/apis/hitpay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hitpayapp/hitpay-api/revisions/6aae1a736990/schema)
