Back

Stripe API Tip: Subscription Schedules and Connected Accounts

Echobind Team
Echobind Team
October 7, 2022
Stripe API Tip: Subscription Schedules and Connected Accounts

A team at Echobind recently ran into a scenario where they needed to attach a customer’s subscription to one of our client’s Connected Accounts. An interesting observation to note is that the application utilizes Stripe’s Subscription Schedules to start the customer’s subscription, and the Stripe Scheduled Subscriptions API does not currently support linking a Connected Account to the subscription_schedule.create request directly.

The desired flow for creating a Subscription Schedule on a Connected Account would look something akin to directly creating a subscription on a Connected Account: https://stripe.com/docs/billing/subscriptions/connect#direct

To achieve this, the team found that they could utilize destination charges phases.transfer_data.destination to tell the subscription to which Connected Account to payout the collected funds.

A pitfall of this approach is losing some of the more granular reporting on specific Connected Accounts. Until Stripe supports creating a customer’s Subscription Schedule on a Connected Account directly, the client loses some of the reporting insights; though, building a custom report could be a solution.

Resources:

Stripe Subscription Schedule API: https://stripe.com/docs/api/subscription_schedules

Desired solution: https://stripe.com/docs/billing/subscriptions/connect#direct

Workaround solution: https://stripe.com/docs/api/subscription_schedules/create#create_subscription_schedule-phases-transfer_data-destination

Share this post
Related Posts:

Interested in working with us?

Give us some details about your project, and our team will be in touch within a day or two.