---
title: "Huỷ đăng ký lưu ký hàng vật chất"
method: POST
path: "/mxv/physical-delivery/cancel-deposit"
tags: ["MXV"]
---

# Huỷ đăng ký lưu ký hàng vật chất

`POST /mxv/physical-delivery/cancel-deposit`

## Request body

- FireAntApiModelsMXVPhysicalCancelRequest — Request huỷ đăng ký giao hoặc nhận hàng vật chất Chỉ thực hiện được trong giai đoạn FND -&gt; LND
  - `refConfirmationCode` string — Mã xác nhận đăng ký do MXV trả về (confirmationCode) khi đăng ký thành công. End user cần lưu lại giá trị này sau mỗi lần đăng ký.

## Response `200`

OK

- FireAntApiModelsMXVMXVPhysicalDeliveryResponseFireAntApiModelsMXVMXVPhysicalDeliveryPayload — Wrapper response của MXV REST API cho các nghiệp vụ giao nhận hàng vật chất. Khác với MXVResponse&lt;T&gt; (dùng status/message/data), các API section 3.3/3.4 trả về success/code/msg/confirmationCode/payload.
  - `time` string — Thời điểm server xử lý
  - `success` boolean — true = thành công, false = lỗi
  - `code` string — Mã kết quả: "0" = thành công
  - `msg` string — Thông báo kết quả (VD: "[0]: Thành công!")
  - `confirmationCode` string — Mã xác nhận đăng ký do MXV cấp (top-level field). End user cần lưu lại để dùng cho API huỷ và truy vấn.
  - `payload` FireAntApiModelsMXVMXVPhysicalDeliveryPayload[] — Dữ liệu chi tiết (array, mỗi phần tử chứa confirmationcode)
    - `confirmationcode` string

---

[API](https://skmtc.dev/fireant/apis/fireant-restful-api.md) · [All operations](https://skmtc.dev/fireant/apis/fireant-restful-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/fireant/fireant-restful-api/revisions/12bfdf99ab50/schema)
