---
title: "Create a persistent PayNow payment method"
method: POST
path: "/payment_methods/paynow"
---

# Create a persistent PayNow payment method

`POST /payment_methods/paynow`

[Available in Production/Sandbox environment] Create a persistent PayNow payment method to accept payments from your customers.

## Headers

- `X-XFERS-APP-API-KEY` string, required
- `X-PUBLIC-KEY-ID` string
- `X-TIMESTAMP` string
- `X-NONCE` string
- `X-SIGNATURE` string

## Request body

- object
  - `data` object
    - `attributes` object
      - `referenceId` string, required — Your internal reference ID, e.g. customer ID or invoice ID. Please note that it has to be unique for each request.<br>Regex: `/^\s*.{1,191}\s*$/`

## Response `200`

200

- object
  - `data` object
    - `id` string — PayNow payment method ID.
    - `type` string — Request type.
    - `attributes` object
      - `referenceId` string — Your internal reference ID, e.g. customer ID or invoice ID.
      - `virtualPaymentAddress` string — PayNow virtual payment address.
      - `base64EncodedImage` string — Base64-encoded QR code image for the PayNow payment method.
      - `externalReference` string — External reference identifier from the payment provider.
      - `createdAt` string, date-time — Timestamp of when the PayNow payment method was created.
      - `qrCodeData` string, nullable — Raw QR code data string. Returns null unless the PayNow QR ASCII feature is enabled for the account owner.

---

[API](https://skmtc.net/straitsx/apis/straitsx-sandbox-base-url.md) · [All operations](https://skmtc.net/straitsx/apis/straitsx-sandbox-base-url/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/straitsx/straitsx-sandbox-base-url/versions/9ceee2969aeb/schema)
