#Zia-checkout-sub
1 messages · Page 1 of 1 (latest)
yes, working with connected accounts and creating checkouts with subscription mode
So if you're using direct charges (https://stripe.com/docs/connect/subscriptions#direct), then all you really need to do is pass the Stripe-Account header when creating the Checkout Session: https://stripe.com/docs/connect/authentication#stripe-account-header
If you want to take an application fee, then this is the parameter to use: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-application_fee_percent
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
actually I'm creating a sessionCreateOption and using subscription mode
can you suggest how can I do a direct charge in this case
Note: we are using Full Service Agreement Type connected accounts
Exactly as I described: you'd pass the Stripe-Account header to create the Checkout Session (and subsequent subscription) on the connected account: https://stripe.com/docs/api/connected_accounts?lang=dotnet
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.