Agentic

Revoke enrollment

POSThttps://api.firstleeward.com/v0/agentic/enrollments/:id/revoke

Agentic Payments - enrollments, mandates, products, quotes, and checkouts.

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
idobjectrequired
statusstringrequired
Available options:REQUIRES_ACTIONACTIVEFAILEDEXPIREDREVOKED
ownerobjectrequired

Client customer that owns the enrollment

Show child attributes
Option 1 · First Leeward user
typestringrequired
idstring<uuid>required

User identifier

Option 2 · Client reference
typestringrequired
idstringrequired
emailobject
namestring
paymentMethodobject | nullrequired
Show child attributes
typestringrequired
Available options:CARD
networkstringrequired
last4stringrequired
expiryMonthintegerrequired
expiryYearintegerrequired
nextActionobject | nullrequired
Show child attributes
typestringrequired
Available options:REDIRECT
urlstring<uri>required
expiresAtobject
createdAtobjectrequired
updatedAtobjectrequired
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 · EnrollmentNotFoundError
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailnullrequired
409Enrollment is not active.
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired
Show child attributes
reasonstringrequired
503Agentic Payments is temporarily unavailable
errorobjectrequired
Show child attributes
codestringrequired
messagestringrequired
detailobject | nullrequired