POST /api/public/v1/billingDiscountGrants/list
Changed onReads the billingDiscountGrants.list 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
organizationId, string required
Response
OK
object[] required
id, string required
organizationId, string required
environment, 'live' | 'sandbox' required
source, 'admin' | 'migration' required
issuanceKey, string required
stripeCouponId, string required
percentOff, number nullable required
amountOff, number nullable required
currency, string nullable required
planCode, 'starter' | 'essential' required
period, 'month' | 'year' required
stripePriceId, string required
startsAt, string date-time required
expiresAt, string date-time nullable required
issuedByUserId, string nullable required
issueReason, string required
createdAt, string date-time required
revokedAt, string date-time nullable required
revokedByUserId, string nullable required
revokeReason, string nullable required
redeemedAt, string date-time nullable required
redeemedCheckoutAttemptId, string nullable required
redeemedStripeSubscriptionId, string nullable required
redeemedStripeInvoiceId, string nullable required
status, 'scheduled' | 'available' | 'pending' | 'redeemed' | 'expired' | 'revoked' required
Changes
- info
endpoint added
- info