This operation is idempotent based on the
requestId(if provided), which allows for the safe retry of multiple requests, guaranteeing the payment operation is only performed once.
The consumer's payment plan will begin at the time of auth approval.
If payment is approved by Afterpay, returns a Payment object in response, with a
status of "APPROVED" and a
paymentState of "AUTH_APPROVED".
If payment is declined by Afterpay, for example, if invalid card details were entered, returns a Payment object in response, with a
status of "DECLINED" and a
paymentState of "AUTH_DECLINED".
Please advise the consumer to contact the Afterpay Customer Service team for more information.
In addition to the PUT/POST Errors applicable to all POST endpoints, the following errors are specific to Auth:
|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.|