View Source Stripe.CountrySpec (stripity_stripe v3.2.0)
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.
Summary
Functions
Lists all Country Spec objects available in the API.
Returns a Country Spec for a given Country code.
Types
@type t() :: %Stripe.CountrySpec{ default_currency: binary(), id: binary(), object: binary(), supported_bank_account_currencies: term(), supported_payment_currencies: term(), supported_payment_methods: term(), supported_transfer_countries: term(), verification_fields: term() }
The country_spec type.
default_currencyThe default currency for this country. This applies to both payment methods and bank accounts.idUnique identifier for the object. Represented as the ISO country code for this country.objectString representing the object's type. Objects of the same type share the same value.supported_bank_account_currenciesCurrencies that can be accepted in the specific country (for transfers).supported_payment_currenciesCurrencies that can be accepted in the specified country (for payments).supported_payment_methodsPayment methods available in the specified country. You may need to enable some payment methods (e.g., ACH) on your account before they appear in this list. Thestripepayment method refers to charging through your platform.supported_transfer_countriesCountries that can accept transfers from the specified country.verification_fields
Functions
@spec list( params :: %{ optional(:ending_before) => binary(), optional(:expand) => [binary()], optional(:limit) => integer(), optional(:starting_after) => binary() }, opts :: Keyword.t() ) :: {:ok, Stripe.List.t(t())} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Lists all Country Spec objects available in the API.
Details
- Method: 
get - Path: 
/v1/country_specs 
@spec retrieve( country :: binary(), params :: %{optional(:expand) => [binary()]}, opts :: Keyword.t() ) :: {:ok, t()} | {:error, Stripe.ApiErrors.t()} | {:error, term()}
Returns a Country Spec for a given Country code.
Details
- Method: 
get - Path: 
/v1/country_specs/{country}