# Grant credits

Source: https://docs.orbytelabs.com/cli/grants

Fund a customer without collecting payment.

```npm
npx orbytelabs grant 5 --identity customer_123 \
  --idempotency-key welcome_customer_123
```

The amount uses displayed credits with up to nine decimal places.
Credits can fund any deployed feature by default, including features added
later. Add `--features requests,tokens` to limit access to those features.
Pass `--features ""` for no feature access.

Reuse the same idempotency key and unchanged input to retry the grant. If omitted,
the CLI generates and prints a key.

## Set an expiry [#set-an-expiry]

```npm
npx orbytelabs grant 5 --identity customer_123 \
  --idempotency-key promotion_customer_123 --expires-at 2026-12-31T23:59:59Z
```

`--expires-at` accepts an ISO 8601 timestamp with a timezone. Expired credits
cannot fund new events. See [grants and top-ups](/grants-and-topups) for allocation
rules, or use [checkout](/cli/checkout) to sell credits.