Confirm checkout
POST
/ store/ v1/ carts/ {cart_id}/ checkout/ confirm- Idempotency-Key supported
After the customer returns from the payment provider: checks the payment with the provider and places the order when it succeeded. Safe to call repeatedly.
Path parameters
cart_idstringrequiredThe cart's ID, like
cart_01k8qs5s….
Headers
X-Cart-TokenstringrequiredThe cart's token
Idempotency-KeystringSend the same key to retry safely: the first answer is replayed for 24 hours.
shop-api-versionYYYY-MMThe version to answer in. Without it, your app’s pinned version, else the newest.
Returns
200 Where checkout stands.
Errors
- 404
not_foundNo such cart. - 409No payment in progress.
- 503
unavailableThe provider did not answer; confirm again.