beam-community / stripity-stripe

An Elixir Library for Stripe
Other
965 stars 346 forks source link

Replace `requested_capabilities` param with `capabilities` using proper types #775

Closed iuysal closed 1 year ago

iuysal commented 1 year ago

With the major version release for Stripe API version 2022-08-01, the requested_capabilities param, used for creating a connected account is deprecated. Instead, the capabilities param is recommended.

This PR applies redefines the capabilities type to match with what the Stripe API is expecting, and replaces the requested_capabilities param with capabilities for connected account creation and updating.

snewcomer commented 1 year ago

@iuysal Thanks! There is an ongoing effort to codegen this library with the Stripe OpenSDK. Tentatively by the end of the year, which would get us up to date and resolve this issue you pointed out!

iuysal commented 1 year ago

Thanks @snewcomer for the info! Looking forward to the new release!