POST /api/public/v1/loyalty/programTerms

Changed on

Returns the rules the organization's Wallet card states on its back and its public loyalty terms page lists, generated from the program's saved settings and the organization's currency (lines, plain English text), and the address of its Terms and Privacy Notice (legalUrl, null for a brand that ships no such document or an address that is not HTTPS). Null before the first launch, so a preview never presents sample rules as published. Readable whatever the plan. 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 URL
    https://app.fortuneos.ai
  • Auth
    none declared

Request body

object required
organizationId, string required

Response

OK

object nullable required
lines, string[] required
legalUrl, string uri nullable required

Changes