#coinbeastcrypto

1 messages · Page 1 of 1 (latest)

worthy tinselBOT
copper furnace
#

Hi there,
1/ I don't quite understand it, payments and payment links are two different things, can you elaborate?

cedar trench
#

Thanks Jack, what I'm referring to is when transactions occur into a user's payment link, gathering that list of trasnactions into the connect accounts' given payment link

copper furnace
#

OK, you need to list to checkout.session.completed event in your connect webhook endpoint, and you can get it's PaymentIntent object (https://stripe.com/docs/api/checkout/sessions/object#checkout_session_object-payment_intent), and then its latest_charge object (https://stripe.com/docs/api/payment_intents/object#payment_intent_object-latest_charge).

cedar trench
#

ok great

#

and is there a good way to filter these by only one desired connect express account at a time?

copper furnace
#

By specifying a stripe_account, you are telling Stripe that you want to make an API call on behalf of a connected account. You can refer to this doc to learn more about making API request for connected account (https://stripe.com/docs/connect/authentication)