pub struct CountrySpec {
pub default_currency: Currency,
pub id: CountrySpecId,
pub supported_bank_account_currencies: HashMap<String, Vec<String>>,
pub supported_payment_currencies: Vec<String>,
pub supported_payment_methods: Vec<String>,
pub supported_transfer_countries: Vec<String>,
pub verification_fields: CountrySpecVerificationFields,
}
Expand 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.
For more details see <https://stripe.com/docs/api/country_specs/object>.
Fields§
§default_currency: Currency
The default currency for this country. This applies to both payment methods and bank accounts.
id: CountrySpecId
Unique identifier for the object. Represented as the ISO country code for this country.
supported_bank_account_currencies: HashMap<String, Vec<String>>
Currencies that can be accepted in the specific country (for transfers).
supported_payment_currencies: Vec<String>
Currencies that can be accepted in the specified country (for payments).
supported_payment_methods: Vec<String>
Payment 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.
The stripe
payment method refers to charging through your platform.
supported_transfer_countries: Vec<String>
Countries that can accept transfers from the specified country.
verification_fields: CountrySpecVerificationFields
Trait Implementations§
Source§impl Clone for CountrySpec
impl Clone for CountrySpec
Source§fn clone(&self) -> CountrySpec
fn clone(&self) -> CountrySpec
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more