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

# fly billing credits buy

Buy credit for the organization. A person approves each payment outside
flyctl: in the Link app (--pay-with link) or on a Stripe page (--pay-with
checkout). Link takes 5, 10, 25, 50 or 100 dollars; Checkout takes 25 to 1,000.
Without --pay-with, flyctl uses Checkout for an admin in a terminal when the
org can pay that way, or with --no-wait, else Link. --spt - reads the token
from stdin.

## Usage

```
fly billing credits buy <usd> [flags]
```

## Examples

```
  fly billing credits buy 25 -o my-org
  fly billing credits buy 25 -o my-org --pay-with checkout --no-wait --yes
  fly billing credits buy 25 -o my-org --pay-with link --yes --json
```

## Options

```
  -h, --help              help for buy
  -j, --json              JSON output
      --no-wait           Pay by Checkout: print the payment page's URL and exit
  -o, --org string        The target Fly.io organization
      --pay-with string   How to pay: link or checkout
      --spt string        Pay with a Link shared payment token you already hold (implies --pay-with link). Prefer --spt - to read it from stdin, which keeps it out of the process list and shell history
  -y, --yes               Accept all confirmations (also --auto-confirm)
```

## Global Options

```
  -t, --access-token string   Fly.io API token to use, overriding FLY_ACCESS_TOKEN, FLY_API_TOKEN and the saved login
      --debug                 Print additional logs and traces
      --verbose               Verbose output
```

## See Also

* [fly billing credits](https://docs.fly.io/flyctl/cmd/fly_billing_credits)	 - Show the organization's credits
