#๐ Aristochat
1 messages ยท Page 1 of 1 (latest)
Hi
You can find here all the API documentations:
https://stripe.com/docs/api
Now back to your question you can search for PaymentIntent by their status using the Search API:
https://stripe.com/docs/api/payment_intents/search
You can search by status:
https://stripe.com/docs/search#query-fields-for-payment-intents
awesome, thanks
Welcome!
Is the search query language abstracted in your node library or do you also need to pass a string like the raw API call
You need to pass a string, like the example shows in the documentation:
https://stripe.com/docs/api/payment_intents/search?lang=node
Do you have any plan on making it more abstracted by any chance ? So it's easier to type and not make mistakes
As far as I know, nope.
Welcome!
last question : I see that the query parameter is mandatory, but if I don't want to filter anything and just get all payment intent objects, should I just use something like created > 0 ?
Use this API call instead:
https://stripe.com/docs/api/payment_intents/list?lang=node
Np!