Skip to documentation
Developers
Dashboard ↗
Documentation / Commerce
Sandbox Only

Discount codes

Merchant-configured promotions with server-side validation.

Build in sandbox. These guides describe the current implementation. Live payments and payouts are disabled; planned capabilities are labelled explicitly.

Create a promotion

Use Discounts in the merchant dashboard. Percentage and fixed discounts support currency, eligible products, start/end times, maximum redemptions, and first-payment versus recurring scope. Only the merchant's own eligible products can be selected.

Apply a code at checkout

The customer enters the code, never an amount. Una Launch validates the code and calculates the discount server-side, reserves redemptions with concurrency protection, and copies the accepted terms into the immutable order snapshot.

Refunds use the original price

Refund and subscription calculations reference the original transaction's discount and fee snapshot. Updating or disabling a promotion does not rewrite past orders. Free or negative totals are rejected by the current sandbox engine.