Stripe’s products and features allow companies to accept online payments, but there are other reasons to integrate as well. Companies like Baremetrics and Segment build on top of Stripe to provide their services. Extension integrations like these use a subset of Stripe Connect functionality to access Stripe data and connected accounts.
There are three steps to building an extension on Stripe:
Charging for your application
Your platform’s Stripe account can process its own charges, so you can still charge for your application with
read_only access. After customers connect their Stripe accounts, ask for their payment details and then create a subscription for them in your Stripe account. Make sure to store the created customer ID with the associated Stripe account ID, so that you can track which users are paid and active, and which ones are not.
If you create subscriptions, you can also specify an
application_fee_percent as a fee for your application. This is charged on top of any Stripe fees. Read the Subscriptions documentation to learn more.
Users can disconnect their accounts from your integration at any time. When this happens, an
account.application.deauthorized webhook event is sent. You can use this notification to trigger cleanup on your end, such as disabling the user’s account on your site or removing their data.
You can also disconnect accounts from your integration, by making a request to the OAuth deauthorization endpoint.
Submitting your extension to our gallery
The Works with Stripe gallery showcases hundreds of applications and services already integrated with Stripe. To get your extension listed there—and reach more customers—join the Stripe Partner Program, and become a Stripe Verified Partner.