Skip to main content
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

paymentId
string
Unique ID assigned by the wallet to identify the payment.Max length: 64 characters
paymentRequestId
string
Unique ID assigned by the merchant to identify the payment request.Max length: 64 characters

Response Parameters

result
object
required
Standard result object with resultCode, resultStatus, resultMessage
paymentId
string
Wallet-assigned payment identifier.Max length: 64 characters
paymentRequestId
string
Merchant-assigned request identifier.Max length: 64 characters
cancelTime
string
Actual time when the cancellation completed, in ISO 8601 format.

Result Codes