#romaten1
1 messages · Page 1 of 1 (latest)
👋 Thanks for reaching out
You can add custom fields to the invoice using the API yes!
https://stripe.com/docs/api/invoices/update#update_invoice-custom_fields
Thanks - but this is for single invoice. In stripe admin page i can set "Custom invoice fields" for subscription
I see request in logs and there is request to update subscription - not invoice
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
And when I make this request by API
I get error - Received unknown parameter: invoice_settings
Why is there a difference between api and admin requests?
That actually are retrieved from the Customer level, you can update the customer invoice_settings
https://stripe.com/docs/api/customers/update#update_customer-invoice_settings-custom_fields
In fact, there is API that are only available for Dashboard
You can use the approach for updating the customer invoice_settings if that could help