#Carlos-net
1 messages · Page 1 of 1 (latest)
Hello
On the platform I'm developing.
I need to show the net value that the professional (Connect Account) will earn with the project.
Another print showing more details
Apologies I dropped off this thread for a bit. So you just want to know how to retrieve or calculate that?
No worry
I just need to show this value to the user
But I didn't find any object in the documentation.
I don't know if there's anything related to it here -> py_1K5EPUDHrRW6RH3wq66l9LiD
Gotcha. It isn't stored itself as a field. You can calculate it as amount - fee_amount
It looks like even our dashboard calculates it
For me it's more complicated due to the exchange rate in Brazil
Then it would be nice if I could get the value already with the conversions
I don't know if it's possible
👋 I'm hopping in since @hexed current had to go! Give me a minute to catch up
You could also get the net amount by checking the balance transaction (https://stripe.com/docs/api/charges/object#charge_object-balance_transaction) to see what amount actually landed int he connect accounts balance
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.