#bjbjbjbj

1 messages · Page 1 of 1 (latest)

final glacierBOT
humble furnace
#

Hi there!

stuck meadow
humble furnace
#

There is not parameter, and in the response you will get all your balances (available, pending, connect_reserved, etc.)

stuck meadow
#

i try is still not the total amount,just get me the available, pending, connect_reserved(it is 0), where i can get the real total amount

#

@humble furnace

humble furnace
#

What do you mean by "real total amount"?

#

That's probably something that you will have to compute yourself, like by adding pending and available (depending on what you mean exactly)

stuck meadow
#

in my case such as available is 500,pending is 2000,reserve is 500, api return me 2000+500,but dashborad show is 3000 and reserve 500, i can not get 3000 with any api

#

@humble furnace

opal wraith
#

maybe you're looking at the wrong account?

stuck meadow
#

correct one, because available and pending is same as dashborad, just api not get me reserve

opal wraith
#

can you share some specific details like a screenshot of the page in the dashboard, your account ID acct_xxx, and the exact JSON response from calling the balance_retrieve endpoint?

stuck meadow
#

how can i get 17xxxx?

#

@opal wraith

opal wraith
#

can you post the account ID acct_xxx?

stuck meadow
#

account id is the same, because i just has the one and sk_live

opal wraith
#

not sure what you mean.

#

please go there, copy it, and paste it here

stuck meadow
#

acct_1Jme6zGYT6x1e5NZ

#

@opal wraith

opal wraith
#

17xxxx is not your reserves. It's your "estimated future payouts"

stuck meadow
#

how can i get this number

opal wraith
#

there's no one field in the API for that amount. As far as I know, to calculate that you need to list all your status:pending Payouts and sum up their amount, and I think add your pending balance to that

stuck meadow
#

i had try it, it return me last pending is 5308, same as this

#

@opal wraith

opal wraith
#

what did you try exactly? what is "last pending"?

#

deleting your screenshot because your livemode secret key was in it.

#

ok then, I guess I don't know the answer to your question of how to calculate that amount, sorry!

stuck meadow
#

i just want to get 17xxx in my case..

opal wraith
#

yes, I understand, I don't know how to get that though, sorry.

stuck meadow
#

thx, i try to ask other one