#_Alexander_-DOTNET

1 messages · Page 1 of 1 (latest)

edgy grove
#

You can make the call to PaymentIntent List API, using account header

blazing venture
#

Thanks, but account header - did u mean connected account id?

edgy grove
#

yes!

blazing venture
#

I tried to apply the method described above, but it did not return the data [payments.Data.Count = 0], do I need to specify any other parameters in the options?

edgy grove
#

Can you give me the request id?

#

I can take a look

blazing venture
#

var id = "acct_1KLrWmDFbK8Hh58u";

loud roost
#

Hi! I'm taking over this thread.

#

This is a public channel, so I recommend editing your above message to remove your email address.

blazing venture
#

maybe full screen can help you

loud roost
blazing venture
#

can i look this id like this: payments.StripeResponse.RequestId?

#

last request was: req_XGINDjnsRQcQII

loud roost
#

So if I understand correctly, you have a platform account, and you are trying to retrieve the payment_intents of a connected account?
If so, you need to use the API keys of the paltform account and pass the Stripe-Account header of the connected account. Here it seems you used the API keys of the connected account instead.

dusk sonnet
#

List of these payments

loud roost
#

Yes! So like I said: use the API keys of the paltform account and pass the Stripe-Account header of the connected account.

#

In the request you shared, you used the wrong API keys.