Payments

Cancel authorized payment

Cancel an authorized credit or debit card payment.

patch/capture/{order_id}

Path parameters

order_idstring required

The unique identifier of the order.

Max length: 50 characters.

Request body

status'cancelled' required

The order status.

reasonstring required

The reason for cancelling the order.

descriptionstring

Any additional information.

Example request

{
  "status": "cancelled",
  "reason": "The transaction appeared fraudulent.",
  "description": "Suspiciously large order from unusual country."
}

Response

Request successful

successSuccess — unresolved $ref

Changes