#kratos6753-PM
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
are you sure you want to use the Stripe CLI? or do you mean the Stripe API?
I mean stripe cli itself. Later you may let me know with stripe API
there isn't a direct way
you'd have to write a stripe post https://stripe.com/docs/cli/post
yourself
using the API
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
you could select cURL as the language and copy the /v1/.... path and the -d .... params
and customize the values
I got it. Thanks.
stripe payment_methods create --type=card -d "card[token]"=<tok_***> ---> this worked for me
yeah my bad, I missed that, I rarely use Stripe CLI for this
https://stripe.com/docs/cli/resources this is actually what I should have sent you though
again my bad