Stripe.CountrySpec (stripity_stripe v2.17.2) View Source
Work with the Stripe country specs API.
Stripe API reference: https://stripe.com/docs/api/country_specs
Link to this section Summary
Link to this section Types
Specs
t() :: %Stripe.CountrySpec{ default_currency: String.t(), id: Stripe.id(), object: String.t(), supported_bank_account_currencies: %{required(String.t()) => [String.t()]}, supported_payment_currencies: [String.t()], supported_payment_methods: [Stripe.Source.source_type() | String.t()], supported_transfer_countries: [String.t()], verification_fields: %{ individual: %{minimum: [String.t()], additional: [String.t()]}, company: %{minimum: [String.t()], additional: [String.t()]} } }
Link to this section Functions
Specs
list(params, Stripe.options()) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.Error.t()} when params: %{ optional(:ending_before) => t() | Stripe.id(), optional(:limit) => 1..100, optional(:starting_after) => t() | Stripe.id() } | %{}
List all country specs.
Specs
retrieve(Stripe.id() | t(), Stripe.options()) :: {:ok, t()} | {:error, Stripe.Error.t()}
Retrieve a country spec.