#ll0071
1 messages · Page 1 of 1 (latest)
Hi. What exactly is the issue you are seeing?
So I call the service with those lines from your api doc : var service = new BalanceTransactionService();
service.Get("txn_idf...");
but when I use mine, I cant use the BalanceTransactionService.get method
Any Idea of what may be happening ?
ok, its from this link : https://stripe.com/docs/api/balance_transactions/retrieve?lang=dotnet
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 recommend you roll the key: https://stripe.com/docs/keys
Yeah that's your key
We display your test key in the docs
If you're logged in
Not sure by what you mean by "when I use mine". Your test key should be the same
Unless you have 2 accounts and you're getting them mixed up
hmmm where can I see that key in my account
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
I think I figured out my problem. Thank you guys!
I got another question
When getting the Fee from Stripe, it get return as a number with no point,comma. Is there a way to easily convert that do the actual fee in dollar
If you are working in USD, we will always send you prices like that. We won't change that so you can just divide by 100 https://stripe.com/docs/currencies#presentment-currencies
I use your JS Confirm a PaymentIntent method to confirm a pi, however I dont get back the balance_transaction object from it. Is it possible to get it when using that method ?
Are you using clientside Stripe.js or our node.js library?
stripe.js
Unfortunately it is not possible to get that back with the Stripe.js confirm call. You will need to make a server-side call to retrieve it and send the relevant data from the server to the client
do you have docs on that server-side call if I got the PI stored and just wanna get the balance_transaction object.
In that case you can just retrieve the payment intent and expand charges.data.balance_transaction , that will list all charges related to the payment and have all the info on their balance transactions. https://stripe.com/docs/api/payment_intents/retrieve https://stripe.com/docs/api/expanding_objects
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.