Payment Cancellation
QR code payment cancellation allows invalidating an active QR code that has not yet been used to complete a transaction. This process is useful when the customer's order is modified, canceled, or expires before payment is made.
There are two main scenarios for payment cancellation:
Cancel active QR code (Static/Dynamic) Endpoint:
POST /v2/mia/qr/{qrId}/cancel
Used to cancel a standard QR code (static or dynamic) that is active but has not yet been used for payment. After cancellation, the QR code becomes inactive and cannot be used anymore. The cancellation reason is sent in the request body. The response contains the QR code status (Cancelled
), confirming successful processing.Cancel active extension for Hybrid QR Endpoint:
POST /v2/mia/qr/{qrId}/extension/cancel
Applies only to Hybrid QR codes that have been extended (e.g., reused for a different order). This action revokes the active extension without fully canceling the original QR code. Optionally, a cancellation reason for the extension can be provided. The response contains the QR code status (Cancelled
), confirming successful processing.
Note: Canceling a QR code does not affect payments already processed. If a payment has already been made, cancellation cannot be applied retroactively.
Last updated