---
title: "Hủy QR Code"
method: DELETE
path: "/api/v1/acb/qr-payment/{qr_code_id}/cancellation"
tags: ["ACB QR Banking"]
---

# Hủy QR Code

`DELETE /api/v1/acb/qr-payment/{qr_code_id}/cancellation`

## Request

- Base URL: `https://api.monapay.vn`
- URL: `https://api.monapay.vn/api/v1/acb/qr-payment/{qr_code_id}/cancellation`
- Auth: `Bearer Auth` (a scheme the document does not define)

Chuẩn kỹ thuật này được ACB cung cấp cho các doanh nghiệp để doanh nghiệp xây dựng API gọi về hệ thống ACB thực hiện hủy QR Code tạo nhưng chưa thực hiện thanh toán.

## Path parameters

- `qr_code_id` string, uuid, required

## Request body

- QRCancelRequest
  - `ownerNumber` string, required: Owner Number
  - `ownerType` 'PER' | 'ORG', required
  - `traceNumber` string, nullable: Unique identifier for the transaction
  - `orderId` string, required: Order identifier
  - `amount` integer, required: Transaction amount (min: 0, max: 1,000,000,000)

## Response `200`

OK - The request has succeeded.

- Response
  - `success` boolean, required
  - `message` string, required
  - `data` unknown

## Other responses

- `400`: Bad Request - The server cannot or will not process the request due to a client error.
- `401`: Unauthorized - Authentication is required and has failed or has not been provided.
- `422`: Validation Error
- `500`: Internal Server Error - The server encountered an unexpected condition that prevented it from fulfilling the request.

---

[API](https://skmtc.dev/monapay/apis/mona-pay-api-v1.md) · [All operations](https://skmtc.dev/monapay/apis/mona-pay-api-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/monapay/apis/mona-pay-api-v1/revisions/ed3fbd821dce?raw)
