POST /v1/payments/cancel
Cancels a payment when results are delayed or the merchant decides not to accept the order. Upon success, the full amount is refunded. At least one of paymentId or paymentRequestId must be provided — paymentId takes priority if both are given.
Request Parameters
Unique ID assigned by the wallet to identify the payment.Max length: 64 characters
Unique ID assigned by the merchant to identify the payment request.Max length: 64 characters
Response Parameters
Standard result object with
resultCode, resultStatus, resultMessageWallet-assigned payment identifier.Max length: 64 characters
Merchant-assigned request identifier.Max length: 64 characters
Actual time when the cancellation completed, in ISO 8601 format.