#NewtReyes - Related Charges
1 messages ยท Page 1 of 1 (latest)
Hi, @tiny dragon
It isn't a parameter for the List API but maybe you could try using payment_method: 'pm_XXXXX' as a query in the Search API.
https://stripe.com/docs/api/payment_intents/search
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Does using the search API generate extra costs for platform accounts?
Unfortunately pricing discussions are out of my domain. https://support.stripe.com is a better resource for those discussions.
Ah, sorry I should have looked here: https://stripe.com/docs/search#query-fields-for-payment-intents
Not a field.
Yeah
So you'd need to use our auto-pagination to loop through all payment intents and check against the payment_method.
https://stripe.com/docs/api/pagination/auto