Misar IO Docs

Platform Configuration

Runtime-adjustable platform settings for fees, thresholds, and payout currency.

Platform Configuration

Administrators can adjust platform-wide monetization settings at runtime without redeploying the application. Changes take effect within 60 seconds (one cache TTL cycle).

Configuration Keys

| Key | Default | Description | |-----|---------|-------------| | platform_fee_percent | 25 | Platform fee deducted from every payment (%) | | payout_min_threshold_cents | 1000 | Minimum balance required to request a withdrawal (in cents) | | payout_currency | "usd" | Default currency for payouts |

Updating a Value

Connect to the MisarBlog database and run:

-- Change the minimum payout threshold to $20
UPDATE platform_config
SET value = '2000'
WHERE key = 'payout_min_threshold_cents';

-- Change the platform fee to 20%
UPDATE platform_config
SET value = '20'
WHERE key = 'platform_fee_percent';

Changes are reflected in the UI within 60 seconds.

Per-Creator Threshold Override

Individual creators can have a custom withdrawal threshold that overrides the platform default:

-- Give a specific creator a lower $5 threshold
UPDATE profiles
SET payout_min_threshold_cents = 500
WHERE id = '<creator-uuid>';

-- Reset to platform default
UPDATE profiles
SET payout_min_threshold_cents = NULL
WHERE id = '<creator-uuid>';

A NULL value means the creator uses the platform-wide setting.

Payout Schedule

By default all Stripe Connect accounts are set to manual payout schedule — funds stay in the creator's Stripe balance until they explicitly request a withdrawal through the platform. This gives the platform full control over the $10 threshold gate.

The payout_schedule column on profiles is reserved for future per-creator schedule preferences (manual, weekly, monthly).