#alecpope
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Hi, thank you for taking the time :)
based on this
https://stripe.com/docs/api/payment_intents/search?lang=go I would assume it's the second
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Okay, thanks. I guess the other one is not used then. So I can leave out the Page field inside SearchParams?
yes
But it is confusing that SearchParams has additionally a Limit-field, whereas PaymentIntentSearchParams doesn't :D
I'm not sure that PaymentIntentSearchParams takes SearchParams as a parameter
which version of the SDK are you using?
github.com/stripe/stripe-go/v73 v73.10.0
I'm not the most go expert on the team to be honest, so my only advise here is not to be shy about copy/pasting the examples in our API docs
Okay, thanks! I will just try both ways and check which works :D
sure thing ๐