Skip to Content
CollectionsHosted PaymentsTracked Payment QR Codes

Create a tracked QR code

Generates a trackable QR code that is tied to a specific transaction and tracked by Acme. A unique transactionReference is required. This API only supports PayNow in Singapore.

  • To simulate SUCCEEDED status in test-mode, use proxyType UEN with proxyValue 000000001 or with amount value = 117.
  • To simulate FAILED status in test-mode, use proxyType UEN with proxyValue 000000002 or with amount value = 72.
  • Status can be retrieved from Get a tracked QR code payment.

Test mode

With a test API key, some values make this endpoint succeed, fail or wait. See the test mode values for this endpoint.

POST
/v1/tracked-payment-qr-codes

Authorization

authorization
headerAuthorizationBearer <SECRET_API_KEY>

Set Your Secret API Key

Header Parameters

Idempotency-Key?string

A unique value, eg. a UUID.

Request Body

application/json
type*string

Payment QR code network.

amount*number

Amount to collect, specified in the currency's minor units (e.g. in SGD, specify 1250 for $12.50).

Range 1 <= value <= 20000000
amountEditable?boolean

If set to true, the amount can be edited by the payer when scanning the QR code.

currency*string

Three-letter ISO 4217 currency code in full uppercase.

expirySeconds?integer

The QR code will be valid for this duration, after which payment QR code scanning applications will reject it.

Format int32
proxyType?string

Type of the payment recipient's proxy (e.g. mobile phone number). This determines the value in proxyValue. E.g. if you specify UEN here, proxyValue should be a valid UEN.

Value in

  • "MOBILE"
  • "UEN"
  • "VPA"
  • "NRIC"
proxyValue?string

Payment recipient's proxy (e.g. mobile phone number). The value here is determined by proxyType. For the PayNow payment method, proxyValue should follow these formats:

  • MOBILE proxy type: A valid Singapore mobile number including the country code (+65): +65XXXXXXXX. E.g: +6592345678.
  • UEN proxy type: A valid Unique Entity Number (UEN) issued by ACRA. E.g: 202303536E.
  • VPA proxy type: A valid Virtual Payment Address (VPA) issued by a non-bank Financial Institution (e.g. digital wallets). The exact format is determined by the issuer. E.g: +6592345678#ACME.
transactionReference*string

An identifier for this payment, typically unique. The same value will appear in the corresponding transaction notification and bank statement entry, allowing you to reconcile with this payment.

Length 0 <= length <= 25

Response Body

OK

*/*
amount?integer

Amount to collect, specified in the currency's minor units (e.g. in SGD, specify 1250 for $12.50).

Format int64
amountEditable?boolean

If true, the amount can be edited by the payer when scanning the QR code.

bankAccount?QrPaymentBankAccount

The receiving bank account linked to the QR code.

bankReference?string

A bank-generated unique reference received in the credit notification. This value is only available if provided by the bank and may be used for reconciliation.

createdAt?string

Time at which the object was created. In ISO 8601 format.

currency?string

Three-letter ISO 4217 currency code in full uppercase.

expirySeconds?integer

The QR code will be valid for this duration, after which payment QR code scanning applications will reject it.

Format int32
id?string

Unique identifier for the object.

proxyType?string

Type of the payment recipient's proxy (e.g. mobile phone number). This determines the value in proxyValue. E.g. if you specify UEN here, proxyValue should be a valid UEN.

proxyValue?string

Payment recipient's proxy. The value here is determined by proxyType. For PayNow: MOBILE: +65XXXXXXXX; UEN: 202303536E; VPA: +6592345678#ACME.

qrCodeImageUrl?string

URL of the generated QR code image.

resultCode?string

Additional information when the payment fails, if available.

status?string

Status of the tracked QR payment. Status will be updated to SUCCEEDED when a credit notification is received from the bank.

statusSource?string

Source of the current status (e.g. credit notification or lookup).

transactionReference?string

A client-defined identifier for the payment, typically unique per transaction. This reference will appear in the credit notification and bank statement entry, and is used for reconciliation and status tracking.

type?string

Payment QR code network.

underlyingResultCode?string

Raw result code from the bank, when available.

underlyingResultDescription?string

Raw result description from the bank, when available.

updatedAt?string

Time at which the object was last updated. In ISO 8601 format.

Example Request
curl -X POST 'https://api.tryacme.com/v1/tracked-payment-qr-codes' \
  -H 'Content-Type: application/json' \
  -d '{
  "type": "string"
}'
Example Response

A newly generated tracked PayNow QR code. Acme moves it to SUCCEEDED when the credit notification arrives.

{
  "id": "qrpymt_0J7QB3YB2P791",
  "status": "PENDING",
  "type": "PAYNOW",
  "proxyType": "UEN",
  "proxyValue": "202303536E",
  "amount": 1250,
  "currency": "SGD",
  "expirySeconds": 900,
  "transactionReference": "QR-10042",
  "amountEditable": false,
  "qrCodeImageUrl": "https://acme-paynow-qr-code.s3.ap-southeast-1.amazonaws.com/qr/QR-10042.png",
  "resultCode": null,
  "underlyingResultCode": null,
  "underlyingResultDescription": null,
  "bankReference": null,
  "bankAccount": {
    "id": "intacc_0H3BQY9BK1FCG",
    "bank": "UOVBSGSGXXX",
    "bankAccountNumber": "0052312891"
  },
  "statusSource": null,
  "createdAt": "2026-09-09T07:21:19.281000Z",
  "updatedAt": "2026-09-09T07:21:19.281000Z"
}