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
SUCCEEDEDstatus in test-mode, useproxyTypeUEN withproxyValue000000001 or withamountvalue = 117. - To simulate
FAILEDstatus in test-mode, useproxyTypeUEN withproxyValue000000002 or withamountvalue = 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.
authorizationAuthorizationBearer <SECRET_API_KEY>Set Your Secret API Key
A unique value, eg. a UUID.
application/jsonPayment QR code network.
Amount to collect, specified in the currency's minor units (e.g. in SGD, specify 1250 for $12.50).
1 <= value <= 20000000If set to true, the amount can be edited by the payer when scanning the QR code.
Three-letter ISO 4217 currency code in full uppercase.
The QR code will be valid for this duration, after which payment QR code scanning applications will reject it.
int32Type 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"
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:
MOBILEproxy type: A valid Singapore mobile number including the country code (+65): +65XXXXXXXX. E.g: +6592345678.UENproxy type: A valid Unique Entity Number (UEN) issued by ACRA. E.g: 202303536E.VPAproxy 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.
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.
0 <= length <= 25OK
*/*Amount to collect, specified in the currency's minor units (e.g. in SGD, specify 1250 for $12.50).
int64If true, the amount can be edited by the payer when scanning the QR code.
The receiving bank account linked to the QR code.
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.
Time at which the object was created. In ISO 8601 format.
Three-letter ISO 4217 currency code in full uppercase.
The QR code will be valid for this duration, after which payment QR code scanning applications will reject it.
int32Unique identifier for the object.
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.
Payment recipient's proxy. The value here is determined by proxyType. For PayNow: MOBILE: +65XXXXXXXX; UEN: 202303536E; VPA: +6592345678#ACME.
URL of the generated QR code image.
Additional information when the payment fails, if available.
Status of the tracked QR payment. Status will be updated to SUCCEEDED when a credit notification is received from the bank.
Source of the current status (e.g. credit notification or lookup).
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.
Payment QR code network.
Raw result code from the bank, when available.
Raw result description from the bank, when available.
Time at which the object was last updated. In ISO 8601 format.
curl -X POST 'https://api.tryacme.com/v1/tracked-payment-qr-codes' \
-H 'Content-Type: application/json' \
-d '{
"type": "string"
}'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"
}