You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@leeuwd Thanks for the report! There's a PR opened to fix this here: #766
We can't merge it just yet as the types are automatically generated internally and we first need to fix our tooling to surface the right types but we're working on it
When specifying custom_fields in the creation of a customer, the
InvoiceSettings
(line 282 intypes/2019-12-03/Customers.d.ts
) typings are incorrect.When creating a customer adhering to these incorrect typings, the Stripe dashboard logs show:
The code used to POST (and adhering to current typings) was:
It seems
custom_fields
should beInvoiceSettings.CustomFields[] | null
, notInvoiceSettings.CustomFields | null
.Library version:
[email protected]
.The text was updated successfully, but these errors were encountered: