#Kosta
1 messages · Page 1 of 1 (latest)
Hi there!
I'm not sure I understand your question. Can you clarify what you are trying to do and what part is not working exactly?
This query
$invoice = $stripe->invoices->update(
'in_1NGK87BDvR8dVyXsx7GF8qlk',
[ 'customer' => 'cus_O0VQz5q6NzL1Bc' ]
);
returns an error
"Received unknown parameter: customer. Did you mean custom_fields?"
You can see here all parameters to update an invoice: https://stripe.com/docs/api/invoices/update
And customer is not available.
Why? from the platform normally changes !!!!
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
What do you mean by "platform"? You mean from the Stripe dashboard?
yes
The Stripe dashboard and API work a little differently. It's looks like this is possible in the dashboard, but not in the API.
And we can hope in the future for the disappearance of these discrepancies. And where can I write "desires in the development of the API functionality"?
You can share feature request on https://support.stripe.com/contact