Connect Stripe

Use data from Stripe in your processes, such as a payment or a checkout session.

What it is

Stripe is a payment platform for online payments. Odigos logs in to Stripe with a secret API key from your Stripe account. You set up that key once in Hub.

What you can do with it in a process

The process modeller in Orchestra has a Stripe REST API task block. It works like the REST API task block:

  1. Choose the method, for example GET.
  2. Enter only the path of the Stripe API, such as /checkout/sessions.

Odigos adds the Stripe address in front of the path and sends the secret key with the request. If there is no Stripe connection yet, the step stops with a message telling you to activate the connection in Hub first.

Connecting in Hub

You connect Stripe in Hub. The key applies per environment: what you enter on acceptance does not apply on production.

  1. In Hub, open the Stripe page and click Set up connection.
  2. Hub asks you to confirm that you are logged in to the right environment. Click Yes, continue.
  3. Log in to the Stripe dashboard. Choose Developers and then API keys.
  4. Choose Create secret key and copy the new key.
  5. Paste the key into Hub and save the connection.
The Stripe page in Hub, showing what the connection can do. Under System status is the Set up connection button.

Copy the key straight away
Stripe shows a new secret key only once. If you change the key in Stripe later, activate the connection in Hub again.

Data in your process

Stripe has no fixed tags. In the block, take what you need from the Stripe response with a JSONPath or with Convert result to tags. Those values then become tags you can use in the next steps.

See also