This endpoint captures a full or partial payment. Any amounts successfully captured will be settled from Clearpay to the merchant’s nominated bank account on the following day. Records of all payments captured against an order are returned in the events list as events of type, “CAPTURED”.
This operation is idempotent based on the requestId (if provided), which allows for the safe retry of requests, guaranteeing the payment operation is only performed once.
Authorisation expires after 13 days and then the transaction is automatically voided. Voided transactions are frozen and cannot be reopened or changed in any way. In this case your only option is to use the v2/checkouts endpoint to create a new order.
If successful, returns an updated copy of the Payment object, with the newly captured payment appended to the events array as a Payment Event object with a type of “CAPTURED”.
In addition to the PUT/POST Errors applicable to all POST endpoints, the following errors are specific to Capture Payment:
Basic authentication of the form Basic <base64(username:password)>.
The unique ID of the Clearpay Order, returned as the id property of the Auth response.
The capture amount. This must be between 1.00 and the openToCaptureAmount (inclusive).
The merchant’s order ID/reference. This will update any value previously provided in the Create Checkout request.