Skip to content
402pay Support
Browse topics

Cancel a payment

Stop a payment your server created through the API before any money arrives.

On this page

You can cancel a payment your server created through the API, as long as it's still pending or failed, such as when the customer abandons their order.

Cancel it

  1. Open the payment from Payments.
  2. Under Created through the API, select Cancel payment.
  3. Confirm with Cancel payment, or choose Keep it.

A canceled payment shows as Canceled and its checkout stops accepting payments. Your server can do the same with the cancel endpoint.

Payments from a link can't be canceled, since each one is a customer's own attempt. To stop a link taking new payments, archive it.

Was this article helpful?