QRIS
Cancel QRIS API
Cancel QRIS order via Paylabs API.
| Field | Value |
|---|
| URL | ${ROOT_URL}/payment/v2.3/qris/cancel |
| Method | POST |
| Endpoint | /payment/v2.3/qris/cancel |
| Field Name | Type | Required | Description |
|---|
| Content-Type | String(30) | Yes | Fixed value "application/json;charset=utf-8" |
| X-TIMESTAMP | String(29) | Yes | Current time, format 2026-01-30T12:00:00.000+07:00 |
| X-SIGNATURE | String(64) | Yes | Signature. For details please check Data Signing Rules |
| X-PARTNER-ID | String(20) | Yes | Merchant ID |
| X-REQUEST-ID | String(64) | Yes | Unique ID for each request |
| Parameter | Type | Required | Remarks |
|---|
| requestId | String(64) | Yes | Unique identifier on every request |
| merchantId | String(10) | Yes | Merchant ID |
| storeId | String(30) | No | Only if using branch ID |
| merchantTradeNo | String(32) | Yes | Merchant order number |
| paymentType | String(20) | Yes | Payment type, check Payment Type |
Error Code
| Parameter | Type | Required | Remarks |
|---|
| requestId | String(64) | Yes | Unique identifier on every request |
| errCode | String(32) | Yes | 0 means success, otherwise see Error Code |
| errCodeDes | String(128) | No | Error description |
| merchantId | String(20) | Yes | Merchant ID |
| storeId | String(30) | No | Only if using branch ID |
| paymentType | String(20) | Yes | Payment type |
| requestAmount | Decimal(12,2) | No | Amount at request |
| amount | Decimal(12,2) | Yes | Amount in IDR, 2 decimals. Fee type: OUR adds fee to order; if fee has decimals it is rounded up (e.g. 10,000.11 → 10,001.00). |
| merchantTradeNo | String(32) | Yes | Merchant order number |
| createTime | String(16) | No | yyyyMMddHHmmss |
| status | String(32) | No | 01: Pending, 09: Failed, 02: Success |
| productName | String(100) | Yes | Product/service name |
| + productInfo | Array<Object>(30) | No | Product/service details |
| - id | String(10) | Yes | Product ID |
| - name | String(32) | Yes | Product Name |
| - price | decimal(12,2) | Yes | Amount in IDR, supports two decimals |
| - type | String(20) | Yes | Product Type |
| - url | String(200) | No | Product URL |
| - quantity | Number(4) | Yes | Product Quantity |
| transFeeRate | Decimal(6,6) | No | Transaction Rate, six decimals |
| transFeeAmount | Decimal(12,2) | No | Fees, two decimals |
| totalTransFee | Decimal(12,2) | No | Total transaction fee rate (excluding vatFee), two decimals |
| vatFee | Decimal(12,2) | No | Taxes, two decimals |