#darkon7446
1 messages ยท Page 1 of 1 (latest)
Hi there!
You can retrieve all PaymentIntent with https://stripe.com/docs/api/payment_intents/retrieve
And make sure to add the Stripe-Account header: https://stripe.com/docs/connect/authentication
but i need all payments not a specific one
Then use this: https://stripe.com/docs/api/payment_intents/list
But again make sure to use the Stripe-Account header
this one need a customer ๐
Only return PaymentIntents for the customer specified by this customer ID.
ah no sorry it's optional
let me try ๐
Yes it's optional.
$stripe->paymentIntents->all(['limit' => 3000],['stripe_account' => $acctid);
$stripe->paymentIntents->all(['limit' => 3000],['stripe_account' => $acctid]);
i have an empty array :/
Are you sure the connected account has PaymentIntents?
Can you share the request ID (req_xxx)?
yes i can see from dashboard
ok wwait
really strange, i can't find api on logs
if i give you the acct_id is ok?
Yes please share the connected account id
acct_1M7dWPQcbYySXHB8
just to be clear i want see this records
of a connected account of course
Foudn the request on the connected account itself: https://dashboard.stripe.com/logs/req_ueK5smpR4p8LnI
That account doesn't have any PaymentIntent, which is expected since that's an Express account. The PaymentIntent are actually on the paltform account.
Are you using Destination Charges? https://stripe.com/docs/connect/destination-charges
'transfer_data' => [
'destination' => $acctid
]
yes
the screenshot i put there are 226 payments of that specific connected account. Can i see that?
Then you'll need to list PaymentIntent on your own platform account, and manually check the transfer_data parameter.
Or you could list all transfers to a specific account with https://stripe.com/docs/api/transfers/list