Voucher & Promotions API

Let your promotions flow.

Vouchers, referrals, gift cards & flash sales — one API, zero drama.

POST /v1/vouchers
curl https://api.vauchflow.com/v1/vouchers \
  -H "Authorization: Bearer vf_sk_••••" \
  -d '{"code":"SAVE20","discount_type":"PERCENT","discount_value":20}'

// Response
✓ 201 Created
{ "id": "vch_01HX...", "code": "SAVE20", "status": "active" }

Features

Everything your promotions need. Nothing they don't.

🎟

Voucher engine

Single codes, bulk batches up to 50k, expiry rules, and atomic redemption limits.

🔗

Referral codes

Reward both referrer and referee. Block self-referral. Track attribution cleanly.

🎁

Gift cards

Stored value with partial redemption support. Isolated from your payment path.

Flash sales

1,000+ req/s via Redis atomic counters. PostgreSQL stays the system of record.

🏢

Multi-tenant

One account, many clients. Row-Level Security isolates every tenant at the DB.

🔒

Atomic redemptions

Never over-redeemed. Enforced by an atomic SQL UPDATE + DB CHECK constraint.

How it works

From zero to voucher in 5 minutes.

01

Get your API key

Sign up free. Generate a secret key in seconds from the dashboard.

curl https://api.vauchflow.com/v1/api-keys \
  -H "Authorization: Bearer vf_sk_••••"

# { "key": "vf_sk_abc123...", "type": "SECRET" }
02

Create a campaign

Define rules: discount type, expiry, usage limits, eligible segments.

POST /v1/campaigns
{
  "name": "Summer Sale",
  "type": "DISCOUNT",
  "rules": { "discount_value": 20,
             "max_redemptions": 500 }
}
03

Issue & redeem vouchers

Generate codes in bulk or on demand. Redeem atomically — never over-redeemed.

POST /v1/vouchers/SAVE20/redeem
{
  "customer_id": "cust_xyz",
  "order_value": 89.99
}

# { "discount_applied": 18.00, "status": "redeemed" }
04

Watch the analytics flow

Redemption rates, discount liability, fraud alerts — all in your dashboard.

GET /v1/analytics/overview

{
  "active_campaigns": 3,
  "redemptions_today": 142,
  "top_code": "SAVE20"
}

Pricing

Let your revenue flow, not your budget.

Start free. Scale when you're ready. No surprises.

Free

€0 /mo
  • 1,000 API calls/mo
  • 500 redemptions/mo
  • 1 project
Get started

Starter

€29 /mo
  • 10,000 API calls/mo
  • 2,000 redemptions/mo
  • 2 projects
Get started
Most popular

Growth

€79 /mo
  • 50,000 API calls/mo
  • 10,000 redemptions/mo
  • 5 projects
Get started

Scale

€199 /mo
  • 200,000 API calls/mo
  • 50,000 redemptions/mo
  • Unlimited projects
  • 99.9% SLA
Get started

Enterprise

€500+ /mo
  • Custom API calls/mo
  • Custom redemptions/mo
  • Custom projects
  • 99.9% SLA
Contact us

Overage: €0.003 per additional API call · €0.005 per additional redemption

Up to 83% cheaper than Voucherify. Seriously.