#rajat_48873

1 messages · Page 1 of 1 (latest)

shadow oarBOT
willow ledge
#

Hi @pallid sapphire can you please help me in this

pallid sapphire
#

do you mean you want to retrieve a list of Stripe fees?

willow ledge
#

exactly for each payment

#

@pallid sapphire ??

pallid sapphire
#

if you want to know how much is the Stripe fee for each Charge, you can list all Charges and expand [0] the balance_transaction [1]. The corresponding Balance Transaction in the response will contain fee_details which shows the amount of the Stripe fee

[0] https://stripe.com/docs/api/expanding_objects
[1] https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-available_on
[2] https://stripe.com/docs/api/balance_transactions/object#balance_transaction_object-fee_details

shadow oarBOT
willow ledge
#

i gpt this object {
"balance_transaction": {
"id": "txn_3Np9BILmwaBhoNIv1rtKYyNv",
"object": "balance_transaction",
"amount": 1000,
"available_on": 1694563200,
"created": 1694435133,
"currency": "usd",
"description": null,
"exchange_rate": 0.0119286,
"fee": 59,
"fee_details": [
{
"amount": 59,
"application": null,
"currency": "usd",
"description": "Stripe processing fees",
"type": "stripe_fee"
}
],
"net": 941,
"reporting_category": "charge",
"source": "ch_3Np9BILmwaBhoNIv1IDG9ze1",
"status": "pending",
"type": "charge"
},

could you please explain the balance transaction object

#

@edgy bloom ?

edgy bloom
#

Hi there, which part of the balance transaction object that you need explanation?

willow ledge
#

i made a transaction of 83300 INR i want to know about exchange rate ,amout,and last fees

edgy bloom
#
        "fee": 59,
        "fee_details": [
          {
            "amount": 59,
            "application": null,
            "currency": "usd",
            "description": "Stripe processing fees",
            "type": "stripe_fee"
          }
        ],```
#

Does this part answer your question?

willow ledge
#

this fees is 59$ out of 83300 INR

edgy bloom
#

The amount I saw in the balance transaction is 1000

willow ledge
#

ok

#

thankyou

#

can i change its currency @edgy bloom like i want to get it in inr

#

beause i did the whole payment in inr but it is showing me in usd

edgy bloom
#

What's the PaymentIntent ID?

willow ledge
#

ch_3Np9AnLmwaBhoNIv0QldMPUi

edgy bloom
#

Your account is based in US and US account can only payout in USD

#

That's why you see the funds were convereted to USD in the balance transaction