> ## Documentation Index
> Fetch the complete documentation index at: https://docs.aflux.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Promo codes

> Redeeming bonus credit.

```bash theme={null}
curl -X POST "$AFLUX_API/billing/promo-codes/redeem" \
  -H "Authorization: Bearer $AFLUX_KEY" -H "Content-Type: application/json" \
  -d '{"code":"LAUNCH50"}'
```

```json theme={null}
{ "bonusCreditsCredited": "50.00", "message": "50 USD in bonus credit added." }
```

Bonus credit lands in the `bonus` field of your [balance](/billing/balance), separate from credit you paid for. Whether it is spent before paid credit is decided by `bonusSpentFirst` on the balance.

A redemption also appears in the ledger as a `PROMO_BONUS` transaction.
