#xxxdonjeexxx-error
1 messages · Page 1 of 1 (latest)
hi, im trying to update the invoice mak it uncollectible. it was okay on test mode but on live. im using stripeCLI to update it
mark*
but not on live
if it's live you wouldn't usually use stripe-cli, it's a developer tool
but you can try using the --live flag to attempt to make the request in live mode : https://stripe.com/docs/cli/post#post-live
okay i will try. thanks for your help appreciate it
do you have a syntax for this one?
is this correct? c:\stripe stripe invoices mark_incollectible in_565464654cc*** --live?
I don't think that works, you'd have to use stripe post /v1/invoices and then pass the parameters
I don't have an example on me right now I'm afraid. I think it's stripe post /v1/invoices/in_xxxx/mark_uncollectible --live but please test that on a test mode invoice(without using --live) first.
really you should not use stripe cli for this, just use the Stripe Dashboard if it's a one off, or write some code that actually calls the API in your integration if it needs to be operationalised.