Suede AI Agent StudioDocsStart buildingOpen workspace
Navigation menu

Payments & invoicing4 min readUpdated

Connect Stripe to take card payments

Quick answer

Agent Studio connects to your own Stripe account through a connection that holds your Stripe secret key and webhook signing secret. Add it in Connections, choose it in Payments, Settings, paste the webhook URL into Stripe and press Test connection. From then on every invoice, estimate and payment link takes cards into your account.

What you'll have

  • Your Stripe account connected and tested, in live or test mode
  • A webhook that confirms every payment, refund and subscription change
  • Card payments switched on for invoices, estimates and payment links
On this page
  1. What do I need before I connect Stripe?
  2. How do I connect my Stripe account?
  3. Which Stripe webhook events should I send?
  4. How does Agent Studio protect my Stripe keys?
  5. What do I do if the test does not pass?
  6. Questions

What do I need before I connect Stripe?#

You need a Stripe account and access to its Developers area. Stripe gives you two values Agent Studio uses: a secret key (or a restricted key) that starts with sk_live_ or rk_live_, and a webhook signing secret that starts with whsec_. Test keys that start with sk_test_ work the same way while you rehearse.

The two headers on your Stripe connection
Header nameValueWhat it does
authorizationBearer sk_live_... (or rk_live_...)Lets Agent Studio open checkouts and manage subscriptions on your account
x-suede-stripe-webhook-secretwhsec_...Proves each payment notice really came from Stripe

How do I connect my Stripe account?#

You connect Stripe in four moves across Connections, Payment settings and your Stripe dashboard. Keep both tabs open and it takes a few minutes.

Connect Stripe to Suede AI Agent Studio

0 of 5 done

  1. Step 1: Create the Stripe connection

    In Connections, choose Any API and press Add an API. Name it Stripe, set Sign-in method to Custom headers and enter the header names authorization, x-suede-stripe-webhook-secret. Add the values one per line in that order: Bearer sk_live_... first. Leave the second line for the signing secret you get in step 3.
    Open Connections
  2. Step 2: Choose it in Payment settings

    Open Payments, then Settings. Under Your Stripe account, pick your connection in Stripe connection and press Save. Saving creates your private webhook URL.
    Open Payment settings
  3. Step 3: Add the webhook in Stripe

    Press Copy URL in the Webhook panel. In Stripe, open Developers, then Webhooks, add an endpoint with that URL and select the events listed under Events to send. Stripe then shows the endpoint's whsec_... signing secret.
  4. Step 4: Save the signing secret

    Back in Connections, add the whsec_... value as the x-suede-stripe-webhook-secret line on your Stripe connection, so every payment is confirmed in Agent Studio.
    Open Connections
  5. Step 5: Test the connection

    In Payment settings press Test connection. Agent Studio reads your Stripe account and reports its name, its id and whether it is in live mode or test mode.
    Test connection

Which Stripe webhook events should I send?#

Send all eleven events listed in Payment settings. Together they confirm checkouts, card payments, subscription renewals, cancellations and refunds.

Events to select on your Stripe webhook endpointtext
checkout.session.completed
checkout.session.async_payment_succeeded
checkout.session.async_payment_failed
payment_intent.succeeded
payment_intent.payment_failed
invoice.paid
invoice.payment_failed
customer.subscription.created
customer.subscription.updated
customer.subscription.deleted
charge.refunded

How does Agent Studio protect my Stripe keys?#

Your keys live in an encrypted connection on the server and never appear in CRM records, pay pages or the browser. Payment settings shows connection names and whether each one carries the right headers, never the values. Every webhook delivery is checked against your signing secret before Agent Studio acts on it.

What do I do if the test does not pass?#

Messages you might see and the fix
MessageFix
This connection has no authorization header.Add authorization to the header names on the connection, with Bearer sk_live_... as its value.
Add the x-suede-stripe-webhook-secret headerCreate the webhook in Stripe, then add its whsec_... secret to the connection.
Stripe has not turned on charges for this account yet.Finish your business details in Stripe so it activates card charges.
No events from Stripe yet.Check the endpoint URL in Stripe matches Copy URL and that the events are selected.

Need a fresh webhook URL? Press New URL. The old one stops working at once, so paste the new one into Stripe right after.

Questions buyers ask#

Can I test with Stripe test mode first?

Yes. Put a sk_test_... key and the test webhook secret on the connection, run a test invoice end to end, then swap in your live key. Test connection tells you which mode you are in.

Does Agent Studio connect to PayPal, Square or Authorize.net?

Agent Studio processes payments through Stripe. Customers still pay with the card and payment options you switch on in your Stripe dashboard, on a Stripe checkout page.

Do my payouts change after I connect?

No. Money lands in your Stripe balance and pays out to your bank on the schedule you already have in Stripe. Agent Studio adds no hold and no extra hop.

How is this different from GoHighLevel's Stripe integration?

Both charge through your own Stripe account. In GoHighLevel you connect under Payments integrations; in Agent Studio you hold the key in a connection, choose it in Payment settings and get your own signed webhook URL.

Who on my team can change payment settings?

Payment settings is an owner page. The account owner chooses the Stripe connection, issues new webhook URLs and runs the connection test.

Was this page helpful?

Good work starts with a clear flow.

Give an agent a job. Connect the steps. See how the work becomes a service someone else can call.

Input
Reason
Output

A workflow you can inspect

Make the steps visible.

Start with a template or describe the job. Connect inputs, reasoning, and output on the canvas.

Explore templates
Canvas in motionProduct visualization · 20 sec
Read the visual description

A stylized organization chart opens into a workflow canvas. Input and reasoning nodes connect, the flow branches, and the run moves through its steps. The film ends with Suede AI Agent Studio. Music only; no spoken narration.