Cancel a Payment

Cancels a payment by its ID.

Path parameters

paymentIdstringRequired
Identifier of the payment to be canceled.

Request

This endpoint expects an object.
reasonstringOptional
Reason for cancellation.

Response

Payment canceled successfully.
cancelIdstring or null
Unique identifier for the cancellation.
statusstring or null
Status of the cancellation.

Errors