checkoutByCartID
Returns a Checkout object by cart ID. This query can be used to retrieve information about the checkout status for an already submitted cart as well as order details for all orders associated with the checkout
Checkout.status
will always be PENDING
. After cart submission Checkout.status
will change according to the current checkout state.Sometimes, when using the checkoutByCartID
query, the returned status may be ACTION_REQUIRED
. In this case, you should check the requiredActions
field for each order with this status and perform the necessary actions. Currently, there is only one required action: CompletePaymentChallenge
, also known as 3D-S Challenge. You can learn more about this use casse in the 3D-S Challenge guide.
Arguments
The ID of the Cart
Returns
Example - request
Example - response
Errors
If the cart is not found then a corresponding error is returned
If the cart is expired (older than 10 days) then a corresponding error is returned