Stripe
Connect Stripe to Loopfour so workflows can create and send invoices, issue credit notes and refunds, manage subscriptions and read your balance.
Loopfour can work in your Stripe account: set up customers, raise and send invoices, credit or refund them, and read payments and payouts.
What you can do
- Customers: create a customer, update one, look one up, or list customers by email.
- Invoices: create an invoice, add lines to it, finalize it, send it, void it, or delete a draft.
- Read invoices: look up an invoice, list invoices for a customer, or list the lines on an invoice.
- Credit notes: preview a credit note, then issue it against a finalized invoice.
- Refunds: refund a payment in full or in part.
- Payments: look up or list payments, and create or confirm a payment.
- Subscriptions: create, change or cancel a subscription, set up a subscription schedule, and preview the next invoice.
- Products and prices: create and search products, and create or list prices, coupons and tax rates.
- Balance: read your Stripe balance and list balance transactions, for example the ones in one payout.
Connect Stripe
You need a Stripe login that can authorise apps, or a Stripe restricted key.
Open Integrations
Go to Integrations in the sidebar and find Stripe.
Choose how to connect
Select Connect. Studio asks how to authenticate:
- OAuth (Stripe Connect): you sign in to Stripe and approve access. There is no key to copy, and you can revoke access from Stripe.
- API key: you paste a Stripe restricted key. Use this when the sign-in route is not available for your Stripe account.
Approve access in Stripe
Sign in and approve, or paste the restricted key. A restricted key needs access to what your workflows touch, such as customers, invoices and refunds.
Name the connection
In Name your Stripe connection, give the account a name you will recognise, such as "Stripe US". Select Save name, or Skip.
You can connect more than one Stripe account. Each Stripe step in a workflow picks its account in Stripe Account, and the job in Action.
Start a workflow from Stripe
This needs developer setup; it is not an option in the editor. Ask your developer to check the incoming-event requirements before relying on it.
Good to know
- Amounts are in cents. Fields such as Amount (cents) take the smallest currency unit. Enter 125000 for $1,250.00.
- Refunds and credit notes need an idempotency key. Fill Idempotency key with something that stays the same if the run is retried, such as the invoice number. A retry then finds the refund it already made instead of refunding twice.
- Delete Draft Invoice works on drafts only. Stripe refuses to delete any other invoice. Use Void Invoice for a finalized one.
- Collection Method decides how the customer pays. Create Invoice uses Charge Automatically unless you choose Send Invoice.
- Stripe has no trigger in the editor. Use a schedule, or ask your developer to configure incoming Stripe events. Only events tied to a connected Stripe account can start that workflow.
Playbooks that use Stripe
Payments and billing
Connect the payment processors and billing systems your team uses, so workflows can create invoices, read payments and track subscriptions.
Airwallex
Connect Airwallex to Loopfour with an API key so workflows can read balances, transactions, payments and deposits, and start when a payment lands.
Loopfour