#latwelve
1 messages ยท Page 1 of 1 (latest)
Hi there!
- Also probably useful to know this isn't intended for subscriptions but settling payments against an apartment booking / concierge
Hey Soma!
I was hoping that I can still use Session::create and just add another line to let it know that on success it needs to handle it for the destination account.
Yes that's possible: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-subscription_data-transfer_data
Happy to help ๐
just to check though it does mention subscription data
this is also fine for 1 off payments?
Sorry I missread your earlier message. If it's NOT for subscription, then this is the parameter: https://stripe.com/docs/api/checkout/sessions/create#create_checkout_session-payment_intent_data-transfer_data
payment_intent_data.transfer_group
optional
CONNECT ONLY
A string that identifies the resulting payment as part of a group. See the PaymentIntents use case for connected accounts for details.
found it!
Yep exactly ๐