#yukirivero
1 messages · Page 1 of 1 (latest)
Hi 👋
The OS should't matter here. You are running the Stripe CLI?
yes
If you run stripe version what do you see?
1.13.12
and what is the command you are entering exactly?
I just tested this and got
stripe customers create
{
"id": "cus_NSYM5lDDql3X84",
"object": "customer",
"address": null,
"balance": 0,
...
}
stripe customers create --description Test --email test@test.com --payment-method pm_card_visa -d "invoice_settings[default_payment_method]"=pm_card_visa
When passing additional parameters our syntax is to use the = sign. https://stripe.com/docs/cli/resources#resources-parameters
Oh, for the -d parameter? Yeah
should be like this
stripe customers create --description Test --email test@test.com --payment-method pm_card_visa -d "invoice_settings[default_payment_method]=pm_card_visa"
yes, thank you so much
I saw the link you sent
and saw my mistake from there
Happy to help. Sometimes just writing out the problem helps clear things up too