POST
request to:
All processing is asynchronous. Always poll theGET
endpoint after each major step. Once in a terminal state (completed
orfailed
), the intent is complete. UsefailureReason
to display helpful error messages to users.
awaiting_confirmation
awaiting_confirmation
state:
GET /api/v1/checkout-intents/{id}
response payload.
completed
: Order was placed successfully.failed
: Something went wrong (e.g., out of stock, expired).