#GomuGomu88-card-country
1 messages · Page 1 of 1 (latest)
Hi 👋 just to make sure I'm looking into the right question, are you asking if it's possible to check the card's country while it is being entered (before a payment is processed)?
while payment is being processed would be fine
Sincere apologies for the delay, I'm working on testing to confirm.
ok
I don't think it's possible to get that information prior to the payment processing, but once it does you can review the payment_method_details.card.country field on the related Charge object to find the country, if we know it.
https://stripe.com/docs/api/charges/object#charge_object-payment_method_details-card-country
You can find the related Charge for a Payment Intent by checking it's charges.data field:
https://stripe.com/docs/api/payment_intents/object?lang=python#payment_intent_object-charges