#Rhakka
1 messages ยท Page 1 of 1 (latest)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
If you look at the right hand side it's an example of expand, using CLI
Hmm, I'm using --expand=latest_invoice.payment_intent and the result is
"error": {
"message": "Invalid array",
"param": "items",
"request_log_url": "https://dashboard.stripe.com/test/logs/req_3TbRdZ1dS29Y1f?t=1675914759",
"type": "invalid_request_error"
}
}```
ah, it may be one of the other items now that I try again without the expand.
I'm trying to create a subscription, which is seeming like not a great use of the shell with so many params.
Thanks for the doc reference!
You can try Stripe CLI on your own PC too ๐
Yeah, I just started using the shell on the site in the past few days while prototyping some changes to our payment flow and I keep thinking "nah, I'm not gonna need to set up the CLI...." but ... you know how these things go. In hindsight, I should have just done that right off. ๐
Pro-tip. Read the error message more carefully. It literally says "param": "items" in it, not "param": "expand".
Alright, thanks, sorry for wasting your time, but still thanks for the doc ref on the expand!