#.stevenp
1 messages · Page 1 of 1 (latest)
I think that field only reflect if you have set the exact field when you create the Invoice, ie. https://stripe.com/docs/api/invoices/create#create_invoice-statement_descriptor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
There is another field, on the Charge object which you might need to find, is called calculated_statement_descriptor https://stripe.com/docs/api/charges/object#charge_object-calculated_statement_descriptor
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
it will reflect the final value of a transaction
ok, so if I want to set the billing descriptor that appears on the end consumers statement, should I update the charge object or the invoice object? Isn't the charge object only created after the customer was actually billed?
No, I mean the Charge object is where you can confirm if the statement descriptor is reflected correctly
doesn't mean you can update it, sorry
In theory, it should takes your default billing descriptor as the Doc says
ah ok great understood. so as a default on the invoice.created webhook it will be null and the eventual charge that gets created will take the default value, but if you update the billing descriptor on the invoice.created it will reflect in the eventual charge object. is this an accurate understanding?