cancel Qr
Cancels a successfully paid QR order.
Use the original order identifier from SdkSuccessAnswer.Purchase.qrReceipt or PurchaseResult.QrOrderCreated.
Return
Result.Success containing SdkSuccessAnswer.CancelQr with the cancellation QR receipt, or Result.Error if validation or cancellation fails.
Parameters
order Id
The identifier of the original QR order. Must not be blank.
amount
The cancellation amount in the currency's minor units. Must be positive when specified; null cancels the full payment amount.