#monte.m

1 messages · Page 1 of 1 (latest)

clear sphinxBOT
trim citrus
#

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

high creek
#

I used a payment link

#

made it through the UI

trim citrus
#

Can you paste its id? cs_test_xxx

high creek
#

cs_test_a11d2oItRBOMr9oYLT2ZZ2KcFj4P5ZZHZ8XK4qggHR5X5obkhl3qt5RswE

trim citrus
#

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

high creek
#

to get the connect acct ID?

trim citrus
high creek
#

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

trim citrus
#

Look at the transfer_data.destination. It is the connected account id

#

(of the PaymentLink object)

high creek
#

So the payment link id will never change?

trim citrus
#

1 payment link will generate many Checkout Session

high creek
#

what do you mean by many? it won't change unless I make a new link, right?