View Source ExOAPI.Stripe.Schemas.CountrySpec (exoapi_stripe v0.1.4)

description: Stripe needs to collect certain pieces of information about each account created. These requirements can differ depending on the account's country. The Country Specs API makes these rules available to your integration.

You can also view the information from this API call as an online guide.

:default_currency :: :string

The default currency for this country. This applies to both payment methods and bank accounts.

:id :: :string

Unique identifier for the object. Represented as the ISO country code for this country.

:object :: :string

String representing the object's type. Objects of the same type share the same value.

:supported_bank_account_currencies :: :map

Currencies that can be accepted in the specific country (for transfers).

::supported_payment_currencies :: :string

::supported_payment_methods :: :string

::supported_transfer_countries :: :string

:verification_fields :: ExOAPI.Stripe.Schemas.CountrySpecVerificationFields

Link to this section Summary

Link to this section Types

@type params() :: map()
@type t() :: %ExOAPI.Stripe.Schemas.CountrySpec{
  default_currency: String.t() | nil,
  id: String.t() | nil,
  object: :country_spec | nil,
  supported_bank_account_currencies: map() | nil,
  supported_payment_currencies: [String.t()] | nil,
  supported_payment_methods: [String.t()] | nil,
  supported_transfer_countries: [String.t()] | nil,
  verification_fields:
    ExOAPI.Stripe.Schemas.CountrySpecVerificationFields.t() | nil
}

Link to this section Functions

Link to this function

changeset(struct \\ %__MODULE__{}, params)

View Source
@spec changeset(t(), params()) :: Ecto.Changeset.t()