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.
A payment cannot be cancelled after the merchant has initiated a capture, void or refund on it.
All monetary values are expressed in the smallest currency unit (euro cents): 150 EUR is sent as 15000.

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 Handling

Result Codes

Sample

Request

If both are provided, paymentId is used and paymentRequestId is ignored.

Response