stripe / openapi

An OpenAPI specification for the Stripe API.
MIT License
394 stars 123 forks source link

"invoicing" object property is missing from customer #74

Closed bigjonroberts closed 3 years ago

bigjonroberts commented 3 years ago

We're using the generated C# services/client and are working around this for now using ExtraParams and a type derived from BaseOptions.

But this seems like something that should be in the spec?

bigjonroberts commented 3 years ago

We discovered how to access this API by setting the billing email settings in the dashboard and looking at the logs.

{
  "invoicing": {
    "email_to": [
      "mainemailaddress@test.com"
    ],
    "email_cc": [
      "another@test.com",
      "yetanother@test.io"
    ]
  }
}
remi-stripe commented 3 years ago

@bigjonroberts The invoicing parameter is not in our public API and is something only available to the Dashboard today. Since it's not public, it's expected that it's not in our openapi spec or our client libraries. I strongly recommend not relying on this if you found a way to make it work since we could break it at any time as something that is Dashboard only.

I agree it's a useful feature but it won't be in the spec until we decide to ship public which I recommend flagging your interest for with our support team: https://support.stripe.com/contact/email

jonahgeorge commented 13 hours ago

Related: