maib MIA QR API
EN
EN
  • Overview
    • General Technical Specifications
    • MIA QR Types
  • Endpoints
    • Authentication
      • Obtain Authentication Token
    • Payment Initiation
      • Create QR Code (Static, Dynamic)
      • Create Hybrid QR Code
        • Create Extension for QR Code by ID
    • Payment Cancellation
      • Cancel Active QR (Static, Dynamic)
      • Cancel Active QR Extension (Hybrid)
    • Payment Refund
      • Refund Completed Payment
    • Information Retrieval (GET)
      • Display List of QR Codes with Filtering Options
      • Retrieve QR Details by ID
      • Retrieve List of Payments with Filtering Options
      • Retrieve Payment Details by ID
  • Payment Simulation (Sandbox)
  • Notifications on Callback URL
  • Errors
    • API Errors
    • HTTP Status Codes
  • Glossary
  • maib e-commerce API
Powered by GitBook
On this page
  1. Endpoints
  2. Payment Cancellation

Cancel Active QR Extension (Hybrid)

POST /v2/mia/qr/{qrId}/extension/cancel

Allows the cancellation of an active extension linked to a Hybrid QR code. Useful when the extension is no longer needed (e.g., the order was canceled or modified).


Request parameters (path)

Name
Type
Required
Description

qrId

string (guid)

Yes

Unique identifier of the QR code.


Request parameters (body)

Name
Type
Required
Description

reason

string (max. 500)

No

Reason for requesting the extension cancellation.

Request example

{
  "reason": "Clientul a renunțat la comandă."
}

Response parameters

Name
Type
Description

result

obiect

Response result object.

result.extensionId

string (guid)

Identifier of the canceled extension.

ok

boolean

true - no errors, false - with errors.

errors

array

List of processing errors.

errors.errorCode

string

Error code.

errors.errorMessage

string

Error description.


Response example

{
  "result": {
    "extensionId": "40e6ba44-7dff-48cc-91ec-386a38318c68"
  },
  "ok": true
}
PreviousCancel Active QR (Static, Dynamic)NextPayment Refund

Last updated 1 day ago