Skip to main content

Cancel Payment

POST 

/payments/:id/cancel

Releases reserved funds from a previously authorized payment. This endpoint can only be used with payments in AUTHORIZED status.

This operation is part of the two-step authorization flow:

  1. Authorize: Create a payment with transactionType: AUTH to reserve funds
  2. Cancel: Release the reserved funds if you decide not to capture the payment

Cancellation makes the reserved funds available to the customer again and prevents you from being able to capture those funds in the future. Once cancelled, an authorization cannot be reactivated.

Request

Responses

A payment object