#sofian-country
1 messages · Page 1 of 1 (latest)
I am pretty sure it is the key payment_method_details.country but i would really need confirmation on that
definitely you can, you can check the credit card your customer used by creating a payment_method, the payment_method will contain the country information here https://stripe.com/docs/api/payment_methods/object?lang=python#payment_method_object-card-country
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Then you would know if user is paying with a french issued card or a foreign card
is it the country of the card brand or of the customer bank ? How will that work with AMEX ?
so a french credit card issued via AMEX would show as "FR" here right ?
We need to distinguish both scheme and country to be sure of the fee to apply
right
thx for confirmation
Last question on that matter : stripe says exchange fees may apply if the currency conversion must apply.
Can we know that in the charge object or do we need a static map of country / currency ? (not a bug deal but i prefer to put trust in stripe than on our own-maintained dict of euro/dollar/other-mulicountry-currencies countries)
The currency exchange only happens when you charge a currency that you cannot cash out.
e.g. you charge your customer in USD but your account only have a EUR bank account to cash out
then there will be a currency conversion and there will be fees
but if you charge your customer Eur only
there will be no currency conversion even if your customer is based in USA paying with US issued card
however, your customer will bear the currency conversion fees that charged by the customer's bank
just imagine you travel and use your credit card in the foreign country
you mgiht be charged with foreign usage fees
not the merchant
I hope that makes sense
yes it makes sense, basically i understand that if the paymentintent is in our main currency, we dont care about the conversion fee right ?