Agentic
Get checkout
GET
https://api.firstleeward.com/v0/agentic/checkouts/:idReturns the checkout and its lifecycle status. Poll after sending the user to the approval page until the checkout reaches a terminal status; a completed checkout carries the merchant order reference and the final charged amount.
Authorizations
Authorizationstring · headerrequiredAPI key as Bearer token, e.g. Bearer YOUR_API_KEY
Headers
Leeward-Versionenum<string>requiredAPI version (YYYY-MM-DD). Available option: 2026-09-18
Path Parameters
idstringrequiredResource identifier
Response
200Response for status 200
idstringrequiredstatusstringrequiredAvailable options:
REQUIRES_ACTIONPROCESSINGCOMPLETEDFAILEDEXPIREDquoteIdstringenrollmentIdstringorderIdstring | nullrequiredfinalAmountobjectShow child attributes
amountnumberrequiredcurrencystringrequirednextActionobject | nullrequiredShow child attributes
typestringrequiredAvailable options:
REDIRECTurlstring<uri>requiredexpiresAtobjectcreatedAtobjectupdatedAtobject400The request was rejected
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailnullrequired404Response for status 404
Option 1 · AgenticResourceNotFoundError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 2 · CheckoutNotFoundError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailnullrequired503Agentic Payments is temporarily unavailable
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired