# Configure offline mode

Enable or disable offline mode on your readers.

When you’re operating with intermittent, limited, or no network connectivity, Stripe Terminal allows you to store payments locally on [your POS device](https://docs.stripe.com/terminal/features/operate-offline/overview.md). When a network connection is restored, the SDK automatically forwards any stored payments to Stripe.

You can configure offline mode in the Dashboard or in the Configuration API.

# API


You can specify offline mode when creating or updating a [Configuration](https://docs.stripe.com/api/terminal/configuration.md) object.

To create a `Configuration` object with offline mode enabled, use the [create configuration](https://docs.stripe.com/api/terminal/configuration/create.md) request:

```curl
curl https://api.stripe.com/v1/terminal/configurations \
  -u "<<YOUR_SECRET_KEY>>:" \
  -d "offline[enabled]=true"
```

To update a `Configuration` object with offline mode, use the [update configuration](https://docs.stripe.com/api/terminal/configuration/update.md) request:

```curl
curl https://api.stripe.com/v1/terminal/configurations/{{TERMINALCONFIGURATION_ID}} \
  -u "<<YOUR_SECRET_KEY>>:" \
  -d "offline[enabled]=true"
```

Learn more about how to enable [offline mode](https://docs.stripe.com/terminal/features/operate-offline/overview.md).

