Skip to content
Stripe

How to use Stripe

CommercePaymentsCost: 1 credit per runTechnical reference

What it is for

Online payment processing for internet businesses

Stripe triggers react instantly to events in the app.

Set up the connection

Authentication type: API key or token

  1. 1Sign in to Stripe and look for the API or integrations section in its settings.
  2. 2Create an API key or token with the permissions you need and copy it.
  3. 3In flooows, add a Stripe step, click "Connect" and paste it.
  4. 4Save the connection: it is stored encrypted and is never shown in plain text.

Credentials are stored encrypted in your isolated database, in Spain, and are never shown in plain text.

How to use it in a flow

  • Create Customer: fill in Email, Name; use the data selector to map values from earlier steps.
  • Create Invoice: fill in Customer ID, Currency; use the data selector to map values from earlier steps.
  • Find Customer by Email: fill in Email; use the data selector to map values from earlier steps.

Tips

  • •Test each step before publishing to see the exact output structure.
  • •Enable retries on steps that call external services.

Triggers (13)

Events that can start a flow. Expand each one to see its fields.

New PaymentWebhook (paste the URL in the app)0 fields

No fields to configure.

New CustomerWebhook (paste the URL in the app)0 fields

No fields to configure.

Payment FailedWebhook (paste the URL in the app)0 fields

No fields to configure.

New SubscriptionWebhook (paste the URL in the app)0 fields

No fields to configure.

New ChargeWebhook (paste the URL in the app)0 fields

No fields to configure.

New InvoiceWebhook (paste the URL in the app)3 fields
FieldTypeRequired
StatusFixed listNo
Customer IDTextNo
Subscription IDTextNo
Invoice Payment FailedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
Customer IDTextNo
Canceled SubscriptionWebhook (paste the URL in the app)1 fields
FieldTypeRequired
Customer IDTextNo
New RefundWebhook (paste the URL in the app)2 fields
FieldTypeRequired
Charge IDTextNo
Payment Intent IDTextNo
New DisputeWebhook (paste the URL in the app)2 fields
FieldTypeRequired
Charge IDTextNo
Payment Intent IDTextNo
New Payment LinkWebhook (paste the URL in the app)0 fields

No fields to configure.

Updated SubscriptionWebhook (paste the URL in the app)2 fields
FieldTypeRequired
New StatusFixed listNo
Customer IDTextNo
Checkout Session CompletedWebhook (paste the URL in the app)1 fields
FieldTypeRequired
Customer IDTextNo

Actions (19)

Operations available as flow steps. Expand each one to see its fields.

Create Customer9 fields
FieldTypeRequired
EmailTextYes
NameTextYes
DescriptionLong textNo
PhoneTextNo
Address Line 1TextNo
Postal CodeTextNo
CityTextNo
StateTextNo
CountryTextNo
Create Invoice3 fields
FieldTypeRequired
Customer IDTextYes
CurrencyTextYes
DescriptionLong textNo
Find Customer by Email1 fields
FieldTypeRequired
EmailTextYes
Search Subscriptions8 fields
FieldTypeRequired
Price IDsLong textNo
StatusFixed listNo
Customer IDTextNo
Created AfterDate and timeNo
Created BeforeDate and timeNo
Max ResultsNumberNo
Fetch All ResultsYes / NoNo
Include Customer DetailsYes / NoNo
Retrieve Customer1 fields
FieldTypeRequired
Customer IDTextYes
Update Customer10 fields
FieldTypeRequired
CustomerList (from your account)Yes
EmailTextNo
NameTextNo
DescriptionLong textNo
PhoneTextNo
Address Line 1TextNo
Postal CodeTextNo
CityTextNo
StateTextNo
CountryTextNo
Create Payment8 fields
FieldTypeRequired
AmountNumberYes
CurrencyFixed listYes
CustomerList (from your account)No
Payment Method IDTextNo
Charge NowYes / NoNo
Return URLTextNo
DescriptionLong textNo
Receipt EmailTextNo
Create Product6 fields
FieldTypeRequired
Product NameTextYes
DescriptionLong textNo
ActiveYes / NoNo
Image URLsList of valuesNo
Product URLTextNo
MetadataJSONNo
Create Price5 fields
FieldTypeRequired
ProductList (from your account)Yes
AmountNumberYes
CurrencyFixed listYes
Billing IntervalFixed listYes
Interval CountNumberNo
Create Subscription7 fields
FieldTypeRequired
CustomerList (from your account)Yes
ItemsList of valuesYes
Collection MethodFixed listNo
Days Until DueNumberNo
Trial DaysNumberNo
Default Payment Method IDTextNo
MetadataJSONNo
Cancel Subscription2 fields
FieldTypeRequired
SubscriptionList (from your account)Yes
Cancel at Period EndYes / NoNo
Retrieve Invoice1 fields
FieldTypeRequired
InvoiceList (from your account)Yes
Retrieve Payout1 fields
FieldTypeRequired
PayoutList (from your account)Yes
Create Refund4 fields
FieldTypeRequired
PaymentList (from your account)Yes
AmountNumberNo
ReasonFixed listNo
MetadataJSONNo
Create Payment Link6 fields
FieldTypeRequired
Line ItemsList of valuesYes
After PaymentFixed listNo
Redirect URLTextNo
Allow Promotion CodesYes / NoNo
Billing AddressFixed listNo
MetadataJSONNo
Deactivate Payment Link1 fields
FieldTypeRequired
Payment LinkList (from your account)Yes
Retrieve Payment1 fields
FieldTypeRequired
PaymentList (from your account)Yes
Find Invoice1 fields
FieldTypeRequired
InvoiceList (from your account)Yes
Custom API Call10 fields
FieldTypeRequired
urlDynamic fieldsYes
MethodFixed listYes
HeadersKey / value pairsNo
Query ParametersKey / value pairsNo
Body TypeList (from your account)No
BodyDynamic fieldsNo
Response is BinaryYes / NoNo
Return Error as OutputYes / NoNo
TimeoutNumberNo
Follow redirectsYes / NoNo

Common errors

Authentication error

The connection expired or the key was revoked: reconnect it from Connections.

Field not found or empty

Re-test the previous step and remap the field in the data selector.

Field types

"List (from your account)" loads options from your connected account; "Dynamic fields" appear depending on earlier choices; in any field you can insert data from previous steps with the data selector (e.g. {{trigger.email}}). More about data between steps