#rajat_48873
1 messages · Page 1 of 1 (latest)
Hi @pallid sapphire can you please help me in this
do you mean you want to retrieve a list of Stripe fees?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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 ?
Hi there, which part of the balance transaction object that you need explanation?
i made a transaction of 83300 INR i want to know about exchange rate ,amout,and last fees
"fee": 59,
"fee_details": [
{
"amount": 59,
"application": null,
"currency": "usd",
"description": "Stripe processing fees",
"type": "stripe_fee"
}
],```
Does this part answer your question?
this fees is 59$ out of 83300 INR
The amount I saw in the balance transaction is 1000
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
What's the PaymentIntent ID?
ch_3Np9AnLmwaBhoNIv0QldMPUi