Products and perks

Model what customers buy and what each purchase unlocks.

Voidhash separates the item sold by a store from the access it grants:

  • A product is something a customer buys, such as a monthly subscription.
  • A perk is a capability your app can unlock, such as premium or remove-ads.

Products can grant multiple perks, and the same perk can be attached to multiple products. Your app checks perks instead of hard-coding product IDs, so access logic stays stable when pricing changes.

Create a perk

In Studio, open Perks and choose Add perk. Give it a readable name and a stable slug:

NameSlug used in code
Premium accesspremium
Remove adsremove-ads

Use lowercase letters, numbers, underscores, and hyphens. Treat a slug as permanent after it ships.

Create a product

Open Products and choose Add product. Voidhash currently supports subscription products. After creating one:

  1. attach every perk the product should unlock;
  2. connect the matching product from each enabled payment provider; and
  3. add the product to a paywall.

The Voidhash slug is your cross-platform identifier. The App Store and Google Play product IDs may be different; the provider mappings connect both to the same Voidhash product.

Pricing comes from the store

Every SDK renders displayPrice resolved against the customer's storefront. Do not hard-code a price or currency in the app or paywall.

Keep generated types current

The dashboard is the schema source of truth. React Native projects can pull its slugs into TypeScript after catalog changes — see Keep types in sync.

Next steps