#schavan
1 messages · Page 1 of 1 (latest)
If you're referring to customer_details[address][country] (https://stripe.com/docs/api/tax/calculations/create#calculate_tax-customer_details-address-country), it only accepts two-letter country code in ISO_3166-1_alpha-2
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
yes right I am referring to customer_details[address] .
Can you help here, does stripe help us to fetch Country ISO 2 letter code. If I pass Country name?
Means is there any stripe API available which do this.
There is no Stripe API to retrieve two-letter country code from a given country name. You'd need to map yourself