This endpoint performs a payment capture for the full value of the payment plan.
This operation is idempotent based on the token, which allows for the safe retry of requests, guaranteeing the payment operation is only performed once.
Since the idempotency of this endpoint is based on the token, the inclusion of a requestId is not required.
If payment is approved by Clearpay, returns a Payment object in response, with a status of “APPROVED”.
If payment is declined by Clearpay, for example, if invalid card details were entered, returns a Payment object in response, with a status of “DECLINED”.
Please advise the consumer to contact the Clearpay Customer Service team for more information.
In addition to the PUT/POST Errors applicable to all POST endpoints, the following errors are specific to Capture Full Payment:
Basic authentication of the form Basic <base64(username:password)>.
The token returned in the Create Checkout request.
The merchant’s order id/reference that this payment corresponds to. This will update any value previously provided in the Create Checkout request.
Payment Approved or Declined - Returns a Payment object
The unique, permanent, Clearpay-generated Order ID.
The merchant’s order id/reference that this payment corresponds to.
An array of refunds. Note: in response to a Capture Full Payment call, this array will always be empty, since refunds cannot occur until payment is captured.