Agentic
Revoke enrollment
POST
https://api.firstleeward.com/v0/agentic/enrollments/:id/revokeAgentic Payments - enrollments, mandates, products, quotes, and checkouts.
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
idobjectrequiredstatusstringrequiredAvailable options:
REQUIRES_ACTIONACTIVEFAILEDEXPIREDREVOKEDownerobjectrequiredClient customer that owns the enrollment
Show child attributes
Option 1 · First Leeward user
typestringrequiredidstring<uuid>requiredUser identifier
Option 2 · Client reference
typestringrequiredidstringrequiredemailobjectnamestringpaymentMethodobject | nullrequiredShow child attributes
typestringrequiredAvailable options:
CARDnetworkstringrequiredlast4stringrequiredexpiryMonthintegerrequiredexpiryYearintegerrequirednextActionobject | nullrequiredShow child attributes
typestringrequiredAvailable options:
REDIRECTurlstring<uri>requiredexpiresAtobjectcreatedAtobjectrequiredupdatedAtobjectrequired400The request was rejected
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailnullrequired404Response for status 404
Option 1 · AgenticResourceNotFoundError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredOption 2 · EnrollmentNotFoundError
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailnullrequired409Enrollment is not active.
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequiredShow child attributes
reasonstringrequired503Agentic Payments is temporarily unavailable
errorobjectrequiredShow child attributes
codestringrequiredmessagestringrequireddetailobject | nullrequired