#Scott
1 messages · Page 1 of 1 (latest)
Destination charges are not used in this particular problem
Hi, can you confirm that you're trying to retrieve the Payment Method used for a Connected Account? Is the Platform making the request? How was the payment created?
Trying to retrieve a payment method used on a connected account.
The platform did not make the request.
Payment created using checkout session and by setting the StripeAccount within the request Options.
I hope this helps
yes, taking a look here
Thank you we are trying to locate where a card was used to which connect account for a payment
With Checkout, the returned session object will include the associated payment_intent ID, which can be used with Retrieve a Payment Intent, https://stripe.com/docs/api/payment_intents/retrieve and you'd need to also pass the Stripe-account header: https://stripe.com/docs/connect/authentication for the Connected account. On this retrieve request, you'd want to 'expand' the payment_method field which will return the Payment Method used for the transaction, https://stripe.com/docs/api/payment_methods/object.
This has pointed me into the right direction, thank you 🙂