stripe / openapi

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

Undocumented file upload purposes #58

Closed jleclanche closed 4 years ago

jleclanche commented 4 years ago

https://stripe.com/docs/api/files/object#file_object-purpose

I found that at least the two following possible values are not mentioned:

I don't know if there are other missing ones.

remi-stripe commented 4 years ago

@jleclanche Thanks for reaching out! Those enums are "secret" in the sense that they are not in our public API and you usually need a custom feature enabled to see them. They should not be in the API reference and we'll work on a fix internally!

remi-stripe commented 4 years ago

Ah my bad, I misunderstood your ask. So yeah it's expected, it's just that some values can exist on some specific accounts with a feature enabled!

jleclanche commented 4 years ago

Are you sure? I encountered them in live data.