QRIS

Cancel QRIS API

Cancel QRIS order via Paylabs API.

Request URL

FieldValue
URL${ROOT_URL}/payment/v2.3/qris/cancel
MethodPOST
Endpoint/payment/v2.3/qris/cancel

Cancel QRIS Request Parameters

Field NameTypeRequiredDescription
Content-TypeString(30)YesFixed value "application/json;charset=utf-8"
X-TIMESTAMPString(29)YesCurrent time, format 2026-01-30T12:00:00.000+07:00
X-SIGNATUREString(64)YesSignature. For details please check Data Signing Rules
X-PARTNER-IDString(20)YesMerchant ID
X-REQUEST-IDString(64)YesUnique ID for each request

Body

ParameterTypeRequiredRemarks
requestIdString(64)YesUnique identifier on every request
merchantIdString(10)YesMerchant ID
storeIdString(30)NoOnly if using branch ID
merchantTradeNoString(32)YesMerchant order number
paymentTypeString(20)YesPayment type, check Payment Type

Cancel QRIS Response Parameters

Error Code

ParameterTypeRequiredRemarks
requestIdString(64)YesUnique identifier on every request
errCodeString(32)Yes0 means success, otherwise see Error Code
errCodeDesString(128)NoError description
merchantIdString(20)YesMerchant ID
storeIdString(30)NoOnly if using branch ID
paymentTypeString(20)YesPayment type
requestAmountDecimal(12,2)NoAmount at request
amountDecimal(12,2)YesAmount 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).
merchantTradeNoString(32)YesMerchant order number
createTimeString(16)NoyyyyMMddHHmmss
statusString(32)No01: Pending, 09: Failed, 02: Success
productNameString(100)YesProduct/service name
+ productInfoArray<Object>(30)NoProduct/service details
- idString(10)YesProduct ID
- nameString(32)YesProduct Name
- pricedecimal(12,2)YesAmount in IDR, supports two decimals
- typeString(20)YesProduct Type
- urlString(200)NoProduct URL
- quantityNumber(4)YesProduct Quantity
transFeeRateDecimal(6,6)NoTransaction Rate, six decimals
transFeeAmountDecimal(12,2)NoFees, two decimals
totalTransFeeDecimal(12,2)NoTotal transaction fee rate (excluding vatFee), two decimals
vatFeeDecimal(12,2)NoTaxes, two decimals