#Code-Mario
1 messages ยท Page 1 of 1 (latest)
Hello ๐
I don't think we have an API endpoint for that as such. We do have a country spec API that can give you supported currencies for a country
https://stripe.com/docs/api/country_specs
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
How about retrieving the bank accounts and getting their currency?
Or is it possible that a settlement currency might not be linked to a bank account?
Some countries do support linking multiple bank accounts like CA
You can test by listing all external bank accounts belonging to a connected acc
https://stripe.com/docs/api/external_account_bank_accounts/list
that could be a good workaround
Last question, is it possible to get the default currency for a stripe account?
Is there an API that holds that info?
You should be able to see default_currency when you retrieve the account using the API
https://stripe.com/docs/api/accounts/object#account_object-default_currency
https://stripe.com/docs/api/accounts/retrieve
Alright.
Thank you