#Scott

1 messages · Page 1 of 1 (latest)

icy ridgeBOT
north horizon
#

Destination charges are not used in this particular problem

ashen fern
#

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?

north horizon
#

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

ashen fern
#

yes, taking a look here

north horizon
#

Thank you we are trying to locate where a card was used to which connect account for a payment

ashen fern
#

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.

north horizon
#

This has pointed me into the right direction, thank you 🙂