Agentic

Get checkout

GEThttps://api.firstleeward.com/v0/agentic/checkouts/:id

Returns 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 · headerrequired

API key as Bearer token, e.g. Bearer YOUR_API_KEY

Headers

Leeward-Versionenum<string>required

API version (YYYY-MM-DD). Available option: 2026-09-18

Path Parameters

idstringrequired

Resource identifier

Response

200Response for status 200
idstringrequired
statusstringrequired
Available options:REQUIRES_ACTIONPROCESSINGCOMPLETEDFAILEDEXPIRED
quoteIdstring
enrollmentIdstring
orderIdstring | nullrequired
finalAmountobject
Show child attributes
amountnumberrequired
currencystringrequired
nextActionobject | nullrequired
Show child attributes
typestringrequired
Available options:REDIRECT
urlstring<uri>required
expiresAtobject
createdAtobject
updatedAtobject
400The request was rejected
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailnullrequired
404Response for status 404
Option 1 · AgenticResourceNotFoundError
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired
Option 2 · CheckoutNotFoundError
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailnullrequired
503Agentic Payments is temporarily unavailable
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired