{"playbook":"Pricing, plans and entitlements","url":"https://agentwranglers.se/playbook/pricing","updated":"2026-10-27","license":"https://creativecommons.org/licenses/by/4.0/","credit":"Required by the licence: credit Agent Wranglers with a link to the rule or playbook you used.","ids":"Each rule has an id, such as PAY-14, that never changes. Open a rule by its id at /r/PAY-14. Its revision changes whenever its content changes.","how":"Each rule's How and Measured text is on its own page: add .md to its url.","rules":[{"id":"PRC-1","revision":"10134addcbda","updated":"2026-10-27","name":"Keep prices in a versioned catalogue","level":"Recommended","applies":["payments"],"rule":"Keep every price in one server-side catalogue with a stable ID, and create a new price instead of changing the amount of one in use.","check":"The app's database role cannot update the amount or currency of a price. Search the client code for amounts sent to the checkout endpoint. None are sent.","check_type":"http","url":"https://agentwranglers.se/playbook/pricing/plans-and-prices/price-catalogue","related":["/playbook/payments/price-display-and-consumer-law/pay-later-credit","/playbook/payments/tax/tax-inclusive-prices","/playbook/payments/currencies-and-settlement/price-per-currency","/playbook/usage-billing/margins-and-model-cost/margin-guard","/playbook/usage-billing/usage-on-invoices/tiered-or-volume","/playbook/ecommerce/catalog-and-prices/personalised-price-notice","/playbook/application-security/limits-and-business-logic/server-side-business-rules","/playbook/pricing/plans-and-prices/price-increase-notice","/playbook/pricing/plans-and-prices/tiered-and-volume-pricing","/playbook/pricing/plans-and-prices/committed-use-true-up","/playbook/pricing/plan-changes-trials-and-free-tiers/grandfathered-prices"],"sources":["https://docs.stripe.com/products-prices/manage-prices"]},{"id":"PRC-2","revision":"4fb143b1635d","updated":"2026-10-27","name":"Tell subscribers before a price rise","level":"Required","risk":"law","applies":["payments","email"],"region":["US-CA","EU"],"rule":"Email every affected subscriber before a higher price applies, with the old and new price, the date and a cancel link. Send it 30 days ahead, and for California subscribers 7 to 30 days ahead.","check":"A test runs the price move. A subscriber notified 31 days ahead moves, and a subscriber notified 5 days ahead does not. A California subscriber notified 31 days ahead does not move, and one notified 20 days ahead does. The job refuses any subscription without a notice row.","check_type":"command","url":"https://agentwranglers.se/playbook/pricing/plans-and-prices/price-increase-notice","related":["/playbook/usage-billing/margins-and-model-cost/model-price-change","/playbook/pricing/plans-and-prices/price-catalogue","/playbook/pricing/plan-changes-trials-and-free-tiers/grandfathered-prices"],"sources":["https://leginfo.legislature.ca.gov/faces/codes_displaySection.xhtml?lawCode=BPC&sectionNum=17602"]},{"id":"PRC-12","revision":"75489bc18a9d","updated":"2026-10-27","name":"Compute tiered and volume prices in one tested function","level":"Recommended","applies":["payments"],"rule":"Store each tiered price with its mode, graduated or volume, and its tiers in minor units. Compute every quote, usage page and invoice line through one function with table tests at each tier edge.","check":"A table test prices 0, 1, 5, 6, 10, 11 and 25 units in both modes and matches totals worked out by hand. Search the code for a second function that multiplies a quantity by a tier rate. None exists.","check_type":"static","url":"https://agentwranglers.se/playbook/pricing/plans-and-prices/tiered-and-volume-pricing","related":["/playbook/pricing/plans-and-prices/price-catalogue","/playbook/pricing/spend-caps-and-alerts/usage-dashboard"],"sources":["https://docs.stripe.com/subscriptions/pricing-models/tiered-pricing"]},{"id":"PRC-13","revision":"03518596efd5","updated":"2026-10-27","name":"Bill committed-use contracts against the commitment and true up at term end","level":"Recommended","applies":["payments"],"rule":"Store each committed-use contract with its commitment amount, term, overage rate and true-up date. Draw usage down against the commitment, and bill any shortfall or overage once, on the true-up date, from the same usage records.","check":"A test runs a 12-month contract with a 10,000 USD commitment and 7,500 USD of usage. The true-up bills 2,500 USD once, and a second run bills nothing. A second test with 12,000 USD of usage bills 2,000 USD of overage.","check_type":"command","url":"https://agentwranglers.se/playbook/pricing/plans-and-prices/committed-use-true-up","related":["/playbook/pricing/plans-and-prices/price-catalogue","/playbook/pricing/ledger-and-accounting/revenue-recognition"],"sources":[]},{"id":"PRC-3","revision":"d0cbe4f92635","updated":"2026-10-27","name":"Give access from the subscription status","level":"Recommended","applies":["payments"],"rule":"Decide access in one function from the stored subscription status, period end and first failed payment time, with a fixed grace period for failed renewals.","check":"A table test covers every status on the day before and the day after the period end and the grace end. A past due subscription whose period end lies a month ahead loses access 7 days after its failed payment. Search the code for direct reads of the status field outside that function. None are found.","check_type":"static","url":"https://agentwranglers.se/playbook/pricing/entitlements/entitlements-from-status","related":["/playbook/payments/subscriptions/store-and-web-subscriptions","/playbook/mobile-apps/store-review-and-listing/store-billing","/playbook/mobile-apps/store-review-and-listing/verify-store-purchases","/playbook/payments/failed-payments-and-dunning/dunning-schedule","/playbook/pricing/entitlements/store-subscription-states","/playbook/pricing/entitlements/plan-entitlements"],"sources":["https://docs.stripe.com/billing/subscriptions/webhooks","https://docs.stripe.com/billing/subscriptions/overview"]},{"id":"PRC-4","revision":"e5e2e12d5a7c","updated":"2026-10-27","name":"Map every store subscription state to access","level":"Recommended","applies":["payments"],"rule":"Translate every subscription state from the App Store and Google Play into your one access function. Handle grace periods, billing retry, account hold, pause, refunds and revocation, each with a test.","check":"A test sends each listed notification type for a sandbox subscription. Access after each one matches the table in the code, and a cancelled subscription keeps access until its expiry time.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/entitlements/store-subscription-states","related":["/playbook/payments/subscriptions/store-and-web-subscriptions","/playbook/pricing/entitlements/entitlements-from-status"],"sources":["https://developer.android.com/google/play/billing/lifecycle/subscriptions","https://developer.apple.com/documentation/appstoreservernotifications/notificationtype"]},{"id":"PRC-14","revision":"f35943cafb30","updated":"2026-10-27","name":"Enforce every plan limit on the server from one entitlement table","level":"Required","risk":"money","applies":["payments"],"rule":"Keep the features and limits of every plan in one table, keyed by plan and feature. Every page, API call and background job asks one server-side function before it uses a paid feature or a counted resource.","check":"An API test signs in as a free account and calls every paid endpoint directly. Each one is refused. A test creates resources up to the plan limit from 10 parallel requests, and the count never passes the limit. Search the code for plan names compared outside the entitlement function. None are found.","check_type":"http","url":"https://agentwranglers.se/playbook/pricing/entitlements/plan-entitlements","related":["/playbook/pricing/entitlements/entitlements-from-status"],"sources":["https://owasp.org/API-Security/editions/2023/en/0xa5-broken-function-level-authorization/"]},{"id":"PRC-15","revision":"27607ce18ab2","updated":"2026-10-27","name":"Count seats from active members and check them at invite","level":"Recommended","applies":["payments","accounts"],"rule":"Bill seats from one count of active members and pending invites. Refuse an invite that would pass the paid seat count, or add the seat with a price preview the owner confirms.","check":"A test on a 5-seat plan with 4 members and 1 pending invite tries a sixth invite. It is refused, or it shows a price preview before the seat is added. The seat quantity sent to the payment provider equals the member count after every invite and removal in the test.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/entitlements/seat-counting","related":["/playbook/pricing/plan-changes-trials-and-free-tiers/plan-change-proration","/playbook/accounts/organisations-and-teams/member-removal"],"sources":["https://docs.stripe.com/subscriptions/pricing-models/per-seat-pricing"]},{"id":"PRC-5","revision":"1fbd344d10b2","updated":"2026-10-27","name":"Preview the amount before a plan change","level":"Recommended","applies":["payments"],"rule":"Before the customer confirms a plan change, show the exact amount due now and at the next renewal, taken from the provider's preview.","check":"Upgrade a test subscription halfway through a month. The charged amount equals the previewed amount to the minor unit.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/plan-changes-trials-and-free-tiers/plan-change-proration","related":["/playbook/pricing/entitlements/seat-counting","/playbook/payments/amounts-and-orders/order-snapshot"],"sources":["https://docs.stripe.com/billing/subscriptions/prorations"]},{"id":"PRC-6","revision":"87193ea918b6","updated":"2026-10-27","name":"Limit the free tier per person instead of per account","level":"Recommended","applies":["payments"],"rule":"Count free-tier usage per person, by verified email, payment card fingerprint and device or network signals, not per account alone. Cap total free usage per day across the whole service, and alert when the cap is reached.","check":"A test creates three accounts with the same card fingerprint. Only the first gets free credits. A load test that spends the free tier from many new accounts stops at the daily service cap, and the alert fires.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/plan-changes-trials-and-free-tiers/free-tier-abuse","related":["/playbook/trust-and-safety/sign-up-fraud-and-abuse/sign-up-risk-score","/playbook/pricing/plan-changes-trials-and-free-tiers/one-trial-per-person"],"sources":[]},{"id":"PRC-16","revision":"c31e0b4c3093","updated":"2026-10-27","name":"Keep old prices as archived catalogue prices with an end date","level":"Recommended","applies":["payments"],"rule":"When a plan or price changes, keep existing subscribers on the archived price with a written end date, or no end date by decision. Move them in batches by a job that checks each notice first.","check":"A test archives a price with 3 subscribers. A new checkout with that price is refused. The migration job moves only subscribers whose sent notice fits its window, at their renewal date. Each keeps every entitlement the old plan gave.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/plan-changes-trials-and-free-tiers/grandfathered-prices","related":["/playbook/pricing/plans-and-prices/price-catalogue","/playbook/pricing/plans-and-prices/price-increase-notice"],"sources":[]},{"id":"PRC-17","revision":"96c7b983c0c6","updated":"2026-10-27","name":"Give one trial per person and payment card","level":"Recommended","applies":["payments"],"rule":"Grant a free trial only when no earlier trial used the same verified email, payment card fingerprint or organisation domain. Record each trial with these keys, and refuse a second one before it starts.","check":"A test starts a trial, then signs up a second account with the same card and a new email. The second trial is refused. A third account with the same email in upper case and a plus tag is refused too.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/plan-changes-trials-and-free-tiers/one-trial-per-person","related":["/playbook/pricing/plan-changes-trials-and-free-tiers/free-tier-abuse"],"sources":["https://docs.stripe.com/api/payment_methods/object"]},{"id":"PRC-7","revision":"c314198e2a96","updated":"2026-10-27","name":"Let customers cap their spend","level":"Required","risk":"money","applies":["payments"],"rule":"Let every customer on a usage or overage plan set a monthly spend cap. Refuse metered work that would pass it, before the work starts.","check":"A test sets a cap of 10 USD on a customer who has spent 9.50 USD this month. A call that can cost up to 1 USD is refused with status 402 and no provider call. With a cap of 20 USD the same call runs.","check_type":"command","url":"https://agentwranglers.se/playbook/pricing/spend-caps-and-alerts/customer-spend-cap","related":["/playbook/usage-billing/credits-and-prepaid-balances/zero-balance-behaviour","/playbook/localization/time-and-time-zones/day-boundary-time-zone","/playbook/ai-features/latency-cost-and-fallbacks/cost-per-call","/playbook/pricing/spend-caps-and-alerts/usage-alerts","/playbook/pricing/spend-caps-and-alerts/usage-dashboard","/playbook/pricing/spend-caps-and-alerts/cap-overshoot"],"sources":["https://api-security.owasp.org/editions/2023/en/0xa4-unrestricted-resource-consumption/"]},{"id":"PRC-8","revision":"85e91379ac97","updated":"2026-10-27","name":"Warn customers before they reach a cap or run out","level":"Recommended","applies":["payments","email"],"rule":"Email the billing contact when usage reaches 50%, 80% and 100% of the spend cap or the prepaid balance. Send each alert once per period.","check":"A test with a cap of 100 USD adds usage in steps to 105 USD. Three emails go out, at 50, 80 and 100 USD. Running the job again sends nothing.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/spend-caps-and-alerts/usage-alerts","related":["/playbook/pricing/spend-caps-and-alerts/customer-spend-cap","/playbook/events/webhooks/signed-webhooks"],"sources":[]},{"id":"PRC-9","revision":"4cc6320a283e","updated":"2026-10-27","name":"Show live usage that matches the invoice","level":"Recommended","applies":["payments"],"rule":"Show customers their usage and charges for the current period, per meter and per day, computed by the same code that builds the invoice.","check":"At the end of a test period, the usage page total and the invoice total for the same customer match to the minor unit. Search the code for a second query that sums usage for display. None exists.","check_type":"static","url":"https://agentwranglers.se/playbook/pricing/spend-caps-and-alerts/usage-dashboard","related":["/playbook/usage-billing/usage-on-invoices/committed-use-true-up","/playbook/pricing/plans-and-prices/tiered-and-volume-pricing","/playbook/pricing/spend-caps-and-alerts/customer-spend-cap"],"sources":[]},{"id":"PRC-10","revision":"82f24e6bb992","updated":"2026-10-27","name":"Let owners set a cap on each member and key","level":"Recommended","applies":["payments","accounts"],"rule":"Let an organisation owner set a spend cap on each member, API key and agent, below the organisation's cap. Refuse work at whichever cap is reached first.","check":"A test gives one API key a cap of 5 USD inside an organisation capped at 100 USD. The key is refused at 5 USD while another key in the same organisation still works.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/spend-caps-and-alerts/scoped-spend-caps","related":["/playbook/accounts/roles-and-permissions/delegated-permissions","/playbook/ai-features/agents-in-products/agent-run-limits"],"sources":["https://api-security.owasp.org/editions/2023/en/0xa4-unrestricted-resource-consumption/"]},{"id":"PRC-11","revision":"9aab9165d8c8","updated":"2026-10-27","name":"Bound how far a cap can be overshot","level":"Recommended","applies":["payments"],"rule":"Write the largest overshoot each spend cap allows, such as 1% of the cap. Enforce it with holds or a strongly consistent counter on the request path, never with a total that lags.","check":"A load test sends 1,000 parallel requests from one account with a cap worth 100 of them. At most the written overshoot above 100 succeeds, and the rest get the cap error.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/spend-caps-and-alerts/cap-overshoot","related":["/playbook/usage-billing/credits-and-prepaid-balances/credit-holds","/playbook/pricing/spend-caps-and-alerts/customer-spend-cap"],"sources":[]},{"id":"PRC-18","revision":"67953828c168","updated":"2026-10-27","name":"Book every money movement as balanced double-entry postings","level":"Recommended","applies":["payments"],"rule":"Record each money event as one journal entry of two or more postings to named accounts, whose debits and credits sum to zero per currency. Reject any entry that does not balance, and never update or delete a posting.","check":"A database constraint or a test proves that every journal entry sums to zero per currency, and an unbalanced insert fails. As the app role, an UPDATE and a DELETE on the postings table both fail. The sum of all postings in every currency is zero.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/ledger-and-accounting/double-entry-ledger","related":["/playbook/payments/payment-events-and-reconciliation/payment-ledger","/playbook/usage-billing/credits-and-prepaid-balances/credit-ledger","/playbook/pricing/ledger-and-accounting/revenue-recognition","/playbook/pricing/ledger-and-accounting/general-ledger-export"],"sources":[]},{"id":"PRC-19","revision":"25bb91008bd1","updated":"2026-10-27","name":"Recognise revenue as it is earned","level":"Required","risk":"law","applies":["payments"],"rule":"Book a payment for service not yet delivered as deferred revenue, and move it to revenue as each day of the service period passes. Report revenue from the ledger, never from the sum of payments received.","check":"A test sells a 1,200 EUR annual plan on 1 January. On 1 April, after 90 of 365 days, the ledger shows 295.89 EUR revenue and 904.11 EUR deferred revenue. A refund that day leaves 295.89 EUR revenue and zero deferred revenue for that plan.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/ledger-and-accounting/revenue-recognition","related":["/playbook/pricing/plans-and-prices/committed-use-true-up","/playbook/pricing/ledger-and-accounting/double-entry-ledger"],"sources":["https://www.ifrs.org/issued-standards/list-of-standards/ifrs-15-revenue-from-contracts-with-customers/"]},{"id":"PRC-20","revision":"f3804e0312c8","updated":"2026-10-27","name":"Recognise unused credits as breakage by a written method","level":"Recommended","applies":["payments"],"rule":"Write down how unused prepaid credits leave the credits liability. Either recognise expected breakage in step with credits used, or recognise the rest when use becomes remote, and post it from the ledger.","check":"A test sells 1,000 credits with an expected breakage of 10% and uses 450. The ledger shows revenue for 500 credits, which is 450 used plus 50 of breakage, and a liability for the other 500. The written method names the estimate and the date it was last reviewed.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/ledger-and-accounting/credit-breakage","related":["/playbook/pricing/ledger-and-accounting/unclaimed-property","/playbook/usage-billing/credits-and-prepaid-balances/credit-vat-point","/playbook/usage-billing/credits-and-prepaid-balances/credit-expiry-order"],"sources":["https://www.ifrs.org/issued-standards/list-of-standards/ifrs-15-revenue-from-contracts-with-customers/"]},{"id":"PRC-21","revision":"7ccdb4ea2c66","updated":"2026-10-27","name":"Report unused customer balances under US unclaimed property laws","level":"Required","risk":"law","applies":["payments"],"region":["US"],"rule":"For each balance, credit or refund owed to a US customer, record the state of their last known address and the date of last activity. Report and pay it to that state when its dormancy period ends, unless the state exempts it.","check":"Every customer balance row has a state and a last-activity date. A test with a Delaware customer whose last activity was 5 years and 1 day ago lists the balance in the annual unclaimed property report. A balance with activity 4 years ago is not listed.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/ledger-and-accounting/unclaimed-property","related":["/playbook/pricing/ledger-and-accounting/credit-breakage"],"sources":["https://delcode.delaware.gov/title12/c011/sc02/index.html"]},{"id":"PRC-22","revision":"76cdc7002c98","updated":"2026-10-27","name":"Export balanced journals to the accounting system each period","level":"Recommended","applies":["payments"],"rule":"At each period end, export the period's journal entries, summed per account and currency, to the general ledger. Each export is balanced, numbered and reconciled against the ledger totals before the period closes.","check":"A test exports a closed month. The export's debits equal its credits in every currency, and each account total equals the ledger total for that month. A second export of the same month has the same ID and the same lines. A posting dated in a closed month is refused.","check_type":"manual","url":"https://agentwranglers.se/playbook/pricing/ledger-and-accounting/general-ledger-export","related":["/playbook/payments/payment-events-and-reconciliation/payout-reconciliation","/playbook/pricing/ledger-and-accounting/double-entry-ledger"],"sources":[]}]}