Skip to main content

Confirm Cart

API operation: Open the endpoint in the API reference

Use POST /carts/{cart_id}/confirm to continue a cart that needs a second payment-confirmation step. The current public operation is Cart.confirm.

If available, the operation requires authentication and verifies cart ownership. The cart must have order type and request data and be in an eligible state such as open, pending payment, or payment failed. Confirmation behavior and required payment data depend on the configured payment method; see the operation guide for the exact request.

See Cart model and Payment overview.

OpenAPI reference​

Operation: POST /carts/{cart_id}/confirm

Path parameters

NameTypeRequiredDescription
cart_idstringYes—

Header parameters

NameTypeRequiredDescription
User-AgentstringNo—
X-Forwarded-ForstringNo—
X-SOCKET-ID-XstringNo—

Request body fields

NameTypeRequired
user_idanyNo

Responses

CodeDescription
200OK (Envelope)
400Bad Request (ErrorResponse)
401Unauthorized
404Not Found
429Too Many Requests (ErrorResponse)
500Internal Server Error (ErrorResponse)
503Service Unavailable (ErrorResponse)
Open this operation in the API reference