---
title: "Cancel QRIS"
method: POST
path: "/qr/qr-mpm-cancel"
---

# Cancel QRIS

`POST /qr/qr-mpm-cancel`

The following endpoint can be used to cancel an incomplete QRIS payment.

## Headers

- `Content-Type` string, required
- `X-TIMESTAMP` string, required
- `Authorization` string
- `X-SIGNATURE` string, required
- `X-PARTNER-ID` string, required
- `X-EXTERNAL-ID` string, required
- `CHANNEL-ID` string, required

## Request body

- object
  - `merchantId` string, required — Merchant unique reference ID.
  - `originalReferenceNo` string, required — Durianpay internal payment reference ID.
  - `reason` string, required — Reason of cancellation.
  - `originalPartnerReferenceNo` string, required — reference id from partner

## Response `200`

This response indicates that QRIS transaction cancellation was successful.

- object
  - `additionalInfo` object
    - `trace_id` string — Unique identifier for the single request. To be shared with Durianpay Team if required.
  - `cancelTime` string — Cancellation time. The value will only be available when cancellation was successful.
  - `originalReferenceNo` string, required — Durianpay internal payment reference ID.
  - `responseCode` string, required — Response code indicating the result of the operation.
  - `responseMessage` string, required — Message explaining the responseCode.

## Other responses

- `202` — This response confirms that the QRIS transaction cancellation has been accepted and is now in progress.
- `400` — This response indicates a client-side error occurred while processing the request.
- `403` — This response indicates that the request was rejected due to insufficient permissions.
- `404` — This response indicates a server-side not found error occurred while processing the request.
- `500` — This response indicates a server-side error occurred while processing the request.

---

[API](https://skmtc.net/durianpay/apis/durianpay-api.md) · [All operations](https://skmtc.net/durianpay/apis/durianpay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/durianpay/durianpay-api/revisions/ffc0e7e8a227/schema)
