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

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

Response Parameters

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

Result Codes