Connect webhooks
Learn how to use webhooks with Connect to be notified of Stripe activity.
Stripe uses webhooks to notify your application when an event happens in your account. All Connect integrations should establish a webhook endpoint to listen for Connect events.
Connect webhooks
A Connect platform uses two types of webhooks:
- Account webhooks are for activity on your own account (for example, most requests made using your API keys and without authenticating as another Stripe account). This includes all types of charges, except those made directly on a connected account.
- Connect webhooks are for activity on any connected account. We send all events on the connected account (including account updates and direct charges) to the Connect webhooks.
When you create a Connect webhook, you must configure it to receive Connect webhook events. When creating it in the Dashboard, for Listen to, select Events on Connected accounts. When creating it using the API, set the connect parameter to true.

For Connect webhooks, your development webhook URLs receive only test webhooks, but your production webhook URLs receive both live and test webhooks. This is because you can perform both live and test transactions under a production application. We recommend that you check the livemode
value when receiving an event webhook to determine whether users need to take action.
Each event for a connected account contains a top-level account
property that identifies the connected account. Because the connected account owns the object that triggered the event, you must make API requests for that object as the connected account.
{ "id":
, "livemode": true, "object": "event", "type": "customer.created", "account":"{{EVENT_ID}}", "pending_webhooks": 2, "created": 1349654313, "data": {...} }"{{CONNECTED_ACCOUNT_ID}}"
The following table describes some of the most common and important events related to connected accounts:
Event | data.object type | Description |
---|---|---|
account. | application | Occurs when a connected account disconnects from your platform. You can use it to trigger cleanup on your server. Available for connected accounts with access to the Stripe Dashboard, which includes Standard accounts. |
account. | An external account, such as card or bank_ | Occurs when a bank account or debit card attached to a connected account is updated, which can impact payouts. Available for connected accounts that your platform controls, which includes Custom and Express accounts, and Standard accounts with platform controls enabled. |
account. | account | Allows you to monitor changes to connected account requirements and status changes. Available for all connected accounts. |
balance. | balance | Occurs when your Stripe balance has been updated. For example, when funds you’ve added from your bank account are available for transfer to your connected account. |
payment_ | payment_ | Occurs when a payment intent results in a successful charge. Available for all payments, including destination and direct charges. |
payout. | payout | Occurs when a payout fails. When a payout fails, the external account involved is disabled, and no automatic or manual payouts can be processed until the external account is updated. |
person. | person | Occurs when a Person associated with the Account is updated. If you use the Persons API to handle requirements, listen for this event to monitor changes to requirements and status changes for individuals. Available for connected accounts that your platform controls, which includes Custom and Express accounts, and Standard accounts with platform controls enabled. |
Test webhooks locally
You can test webhooks locally with the Stripe CLI.
If you haven’t already, install the Stripe CLI on your machine.
Log in to your Stripe account and set up the CLI by running
stripe login
on the command line.Allow your local host to receive a simulated event on your connected account by running
stripe listen --forward-to localhost:{PORT}/webhook
in one terminal window, and runningstripe trigger {{EVENT_
in another.NAME}}
Note
For Connect webhooks, use –forward-connect-to with stripe listen
and –stripe-account with stripe trigger
.
Test webhooks locally
You can test webhooks locally with the Stripe CLI.
If you haven’t already, install the Stripe CLI on your machine.
Log in to your Stripe account and set up the CLI by running
stripe login
on the command line.Allow your local host to receive a simulated event on your connected account by running
stripe listen --forward-to localhost:{PORT}/webhook
in one terminal window, and runningstripe trigger {{EVENT_
in another.NAME}}
Note
For Connect webhooks, use –forward-connect-to with stripe listen
and –stripe-account with stripe trigger
.