#jatinpatel0708
1 messages · Page 1 of 1 (latest)
Sorry, I don't quite get what your question is. Are you checking why the amount is converted to USD or how the FX rate is calculated?
okay let me explain
how can we get 0.017817USD we need this amount
You can expand the balance transaction of the payment intent and get the exchange rate in the balance transaction. For example:
curl https://api.stripe.com/v1/payment_intents/pi_xxxx \
-u sk_test_xxx: \
-d "expand[]"="latest_charge.balance_transaction" \
-G
- Exchange rate in balance transaction: https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-exchange_rate
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.