---
title: "Create a static QR Ph code"
method: POST
path: "/v1/qrph/generate"
---

# Create a static QR Ph code

`POST /v1/qrph/generate`

Use the secret API key to create a static QR Ph code

## Headers

- `Content-Type` string

## Request body

- object
  - `data` object
    - `attributes` object
      - `mobile_number` string — Mobile number that will receive the SMS confirmation on a successful payment.
      - `kind` string, required — Kind of QR Ph code to generate. Only 'instore' is accepted at the moment.
      - `notes` string — Additional notes to be used to identify the generated code (for your internal use, does not get displayed to the customer)

## Response `200`

200

- object
  - `data` object
    - `id` string
    - `type` string
    - `attributes` object
      - `mobile_number` string
      - `qr_image` string
      - `name` string

## Other responses

- `400` — 400

---

[API](https://skmtc.net/paymongo/apis/paymongo-api.md) · [All operations](https://skmtc.net/paymongo/apis/paymongo-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/paymongo/paymongo-api/versions/c18f9a027b2c/schema)
