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
requestIdis 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:
|HTTP Status Code||errorCode||Description|
|The checkout token is invalid, expired, or does not exist.|
|The Consumer has not confirmed their payment for the order associated with this token.|
|The checkout token was missing or empty.|