bonus field of your 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.Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Redeeming bonus credit.
curl -X POST "$AFLUX_API/billing/promo-codes/redeem" \
-H "Authorization: Bearer $AFLUX_KEY" -H "Content-Type: application/json" \
-d '{"code":"LAUNCH50"}'
{ "bonusCreditsCredited": "50.00", "message": "50 USD in bonus credit added." }
bonus field of your 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.