---
title: "connect · RUAL Documentation"
description: "Opens a Stripe connection. Point it at a Stripe service provider so the secret key stays in the provider store and never appears in this blueprint : the…"
canonical: https://docs.rual.nl/block-types/stripe/function_create_stripe
language: en
---

# connect

This block is part of the [`stripe`](https://docs.rual.nl/block-types/stripe) group and was last modified in core [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

Opens a Stripe connection. Point it at a Stripe **service provider** so the secret key stays in the provider store and never appears in this blueprint : the API key pin is the older way and leaves the key readable to anyone who can open the flow.

- flow `flow`

- provider `value` Name of a Stripe service provider (Settings → Service Providers). Preferred: the secret key is resolved when a call is made and never lands on a pin.

- api key `value` A literal Stripe secret key (sk_live_… or sk_test_…). Only used when no provider is named. Stored in plaintext in this blueprint.

- connected account `value` Optional. Act on behalf of a Stripe Connect account (acct_…). Overrides the provider's own setting.

- api version `value` Optional. Pins the Stripe API version for every call on this connection.

- flow `flow`

- connection `stripeconnection`

- success `condition` False when the named provider does not exist, is disabled, or is not a Stripe provider.

- error `value`

| `stripe` |
| --- |
| `payment` |
| `card` |
| `checkout` |
| `subscription` |
| `billing` |

### Version history

Introduced in [`v15.0.0`](https://docs.rual.nl/core-versions/150000).

### Service documentation
