v1

latestOpenAPI 3.0.02026-07-26168846732.2 KB
Payments

Payments - Cancel

A Payment could can be cancelled when it is in one of these statuses: requires_payment_method, requires_capture, requires_confirmation, requires_customer_action.

post/payments/{payment_id}/cancel

Path parameters

payment_idstring required

The identifier for payment

Request body

cancellation_reasonstring nullable

The reason for the payment cancel

all_keys_requiredboolean nullable

If enabled, provides whole connector response

Response

Payment canceled