POST /api/public/v1/planGrants/revoke
Changed onRuns the planGrants.revoke procedure, the same operation the app performs. The credential's live venue permissions bound it. Refused with FORBIDDEN as paywallLocked when the caller is an Owner or Manager of a business the merchant Paywall locks: one with no verified subscription that has taken 5 orders while the Paywall's rollout reaches it, an order counting from its first saved line, whether or not it is paid or completed, until it is archived or cancelled before activation. Nothing is read or written; a verified subscription lifts the lock.
Request
- Base URLhttps://app.fortuneos.ai
- Authnone declared
Request body
object required
id, string required
reason, string required
Response
OK
object required
id, string required
organizationId, string required
locationId, string nullable required
planCode, 'starter' | 'essential' required
startsAt, string date-time required
expiresAt, string date-time required
issuedByUserId, string required
issueReason, string required
createdAt, string date-time required
revokedAt, string date-time nullable required
revokedByUserId, string nullable required
revokeReason, string nullable required
Changes
- info
endpoint added
- info