#monte.m
1 messages · Page 1 of 1 (latest)
When you create the Checkout Session, did you create it with Stripe Account header?
Faster you can give me the request id req_xxx when you created it
Can you paste its id? cs_test_xxx
cs_test_a11d2oItRBOMr9oYLT2ZZ2KcFj4P5ZZHZ8XK4qggHR5X5obkhl3qt5RswE
Okie. It's a a Checkout Session on your own account, so it's correct to use the "Account" type of webhook to listen and catch it
When you have the Checkout Session Id (the cs_xxx above), you can call Retrieve Session API and expand payment_link
to get the connect acct ID?
The result will be a Checkout Session with the PaymentLink object inside it. The PaymentLink object has the transfer_data.destination https://stripe.com/docs/api/payment_links/payment_links/object#payment_link_object-transfer_data-destination
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Yeah I did that. But now I need to get the acct ID for the connected account that I am taking the application fee from
Look at the transfer_data.destination. It is the connected account id
(of the PaymentLink object)
So the payment link id will never change?
1 payment link will generate many Checkout Session
what do you mean by many? it won't change unless I make a new link, right?