---
title: "Create A QR Payment Method Token"
method: POST
path: "/paymentmethodtokens/qrpayment"
---

# Create A QR Payment Method Token

`POST /paymentmethodtokens/qrpayment`

Creates a new qr payment method and returns an auto-generated token.

## Request body

- object
  - `accountHolderName` string, required — The name of the account holder.
  - `countryCode` string, required — The 2-letter country code of the country.
  - `qrType` string, required — The type of QR Payment to be created. For example, `PROMPTPAY`
  - `termAndConditionAgreed` string, required — Specify if the account holder has accepted Ezypay's Terms and Conditions. Supported values are `true` or `false`.
  - `customerId` string — Specify the optional `customerId` to directly associate the payment method token with a particular customer.

## Response `200`

200

- object
  - `type` string
  - `qrPayment` object
    - `merchantId` string
    - `accountHolderName` string
    - `qrType` string
    - `countryCode` string
    - `customerId` string
  - `paymentMethodToken` string

## Other responses

- `400` — Payment method not accepted

---

[API](https://skmtc.dev/ezypay/apis/vault.md) · [All operations](https://skmtc.dev/ezypay/apis/vault/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ezypay/vault/revisions/2ca692551cdf/schema)
