stripe / openapi

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

platform_earning, platform_fee, backwards_compatible_platform_earning #37

Closed jleclanche closed 3 years ago

jleclanche commented 6 years ago

I guess similar question as #32. The spec lists all three and it's unclear to me which is which. It's even unclear to me which of these represents the endpoint documented here.

brandur-stripe commented 6 years ago

Yeah, this is some internal implementation being revealed in that this is how related but separate concerns are modeled in our backend.

The good news is that we have a unification project that should be coming along pretty soon that'll create unified facades for this type of resource.

jleclanche commented 6 years ago

Yay, awesome.

Do you know which model I should use as reference for now?

jleclanche commented 6 years ago

According to the fee_refund object I'm looking for platform_fee.

jleclanche commented 6 years ago

Is there no livemode attribute on fee_refund?

richardm-stripe commented 3 years ago

Hello @jleclanche, sorry for the long period without a response

It looks like