#jamesdahlen - checkout sessions
1 messages · Page 1 of 1 (latest)
the alternative to this seems to be webhooks and creating a Transfer minus the fee
Depending on whether you're doing a single payment or a subscription, you'd set this inside payment_intent_data or subscription_data:
https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-application_fee_amount
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.
And it's passed through to the PI/sub created by checkout
ah ha there it is, yes, inside payment_intent_data. thanks
NP!