From 8bf064c4ca79c8ef0282f022ba6b0f88605cd61b Mon Sep 17 00:00:00 2001 From: Sebastian Friedel Date: Wed, 7 Mar 2018 17:45:44 +0100 Subject: [PATCH] Fix mixed-up types in CountrySpec.SupportedBankAccountCurrencies --- countryspec.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/countryspec.go b/countryspec.go index d4f7e31cc2..e445193568 100644 --- a/countryspec.go +++ b/countryspec.go @@ -15,7 +15,7 @@ type VerificationFieldsList struct { type CountrySpec struct { DefaultCurrency Currency `json:"default_currency"` ID string `json:"id"` - SupportedBankAccountCurrencies map[Country][]Currency `json:"supported_bank_account_currencies"` + SupportedBankAccountCurrencies map[Currency][]Country `json:"supported_bank_account_currencies"` SupportedPaymentCurrencies []Currency `json:"supported_payment_currencies"` SupportedPaymentMethods []string `json:"supported_payment_methods"` VerificationFields map[LegalEntityType]VerificationFieldsList `json:"verification_fields"`