Stripe
Paste an API keyPull payment, invoice and customer data into flows — perfect after a Stripe webhook.
What you can do
- Look up in Stripe — payment intent, customer, invoice, charge or checkout session; the full object lands in {{sX.data.*}}
Get your Stripe credentials
- 1In the Stripe Dashboard open Developers → API keys.
- 2Best practice: click Create restricted key and grant Read on the objects you need (Payment Intents, Customers, Invoices, Charges, Checkout Sessions).
- 3Copy the key (rk_live_… / sk_live_…, or the test-mode equivalent).
Add the connection in ASHDOCS
- 1Open the Connections page in the flows console.
- 2Click “Connect with a key” and pick Stripe.
- 3Paste: Secret key. ASHDOCS validates the credentials against Stripe before saving — a bad key is rejected with a plain-English reason, never stored.
Use it in a flow
In the flow builder, add the Stripe step, pick your connection, and fill the fields — values from earlier steps drop in as {{s1.field}} placeholders. Then hit Test this step in the step's panel to run it on its own before switching the flow on.
Troubleshooting
“Stripe couldn't find that payment intent”
Check you're using the matching mode — a test-mode key can't read live objects and vice-versa.
Fields come back empty in later steps
Reference them as {{sX.data.amount}}, {{sX.data.customer}} etc. — the lookup output lives under data.
FAQ
Does ASHDOCS ever charge cards?
No. The Stripe step is read-only — it looks objects up, nothing else.
How do I trigger on a payment?
Add a Stripe webhook (payment_intent.succeeded) pointing at your flow's webhook URL, then template {{trigger.body.data.object.id}} into the lookup step.