#Devonthedo88-connect-balances

1 messages · Page 1 of 1 (latest)

bright hornet
#

tl;dr you make an API request to /v1/balance on behalf of the connected account

sick isle
#

i see thanks

#

now the instant payouts dont get turned on till $5000 and 90 days?

#

@bright oar

bright oar
#

According to the docs the default limit is $5000 -- are you having trouble with this?

sick isle
#

no i need to test it on test mode

bright oar
#

ok, in test mode that should work if you have an available test balance then

sick isle
#

okay ill check that out and how do i make the login for express accounts

#

so users can login

bright oar
#

what do you mean?

#

like express dashboard login links?

sick isle
#

so the balence i get from API look differnt from dashbaord

#
{
  "driverpayBal": {
    "object": "balance",
    "available": [
      {
        "amount": 900,
        "currency": "usd",
        "source_types": {
          "card": 900
        }
      }
    ],
    "instant_available": [
      {
        "amount": 15773,
        "currency": "usd",
        "source_types": {
          "card": 15773
        }
      }
    ],
    "livemode": false,
    "pending": [
      {
        "amount": 14873,
        "currency": "usd",
        "source_types": {
          "card": 14873```
bright oar
#

What exactly isn't working like you expect? Are you making a request to create an instant payout and hitting an error? If so, can you share that request id? https://stripe.com/docs/api/request_ids
Going to tag in @idle cairn to take a look at that when you share the details of your issue

sick isle
#

no checking a connected accounts balance

#

its not showing the amount that is in the connected account

idle cairn
#

can you share the Connect account ID? that way I know what account to look for

sick isle
#

acct_1JSu3Q2XrkSfqCJb

#

i need to show user on app what are balance is

idle cairn
#

ok looking

sick isle
#

What there balance is dang spelling

idle cairn
#

@sick isle and just to double check, can you retrieve the Balance now and paste it again like you did above? just want to make sure what it is right now (might just be the same as above)

sick isle
#

One sec

#
test

Response
{
  "driverpayBal": {
    "object": "balance",
    "available": [
      {
        "amount": 900,
        "currency": "usd",
        "source_types": {
          "card": 900
        }
      }
    ],
    "instant_available": [
      {
        "amount": 15773,
        "currency": "usd",
        "source_types": {
          "card": 15773
        }
      }
    ],
    "livemode": false,
    "pending": [
      {
        "amount": 14873,
        "currency": "usd",
        "source_types": {
          "card": 14873
        }
      }
    ]
  }
}

Function Logs
START RequestId: b82a3340-7ad4-4082-af67-51bd50f655b0 Version: $LATEST
END RequestId: b82a3340-7ad4-4082-af67-51bd50f655b0
REPORT RequestId: b82a3340-7ad4-4082-af67-51bd50f655b0    Duration: 888.05 ms    Billed Duration: 889 ms    Memory Size: 128 MB    Max Memory Used: 76 MB    Init Duration: 217.50 ms

Request ID
b82a3340-7ad4-4082-af67-51bd50f655b0```
idle cairn
#

thanks, looking

sick isle
#

yea not sure where its getting this data from

idle cairn
#

so that does seem to add up to what you're seeing (though full warning, Balances are a complex topic and I'm not the most expert on it)

Your Dashboard shows "Total Balance - 157.73" and that is the same as your Instant Available Balance

Your available to pay out is $9.00, the same as your available balance in the API request

the pending is $148.73, the same as pending in the API request

sick isle
#

oh my DUH brain decemels lol

sick isle
#

what about this 2 day hold thing?

idle cairn
#

what about it?

sick isle
#

how does that work. does that affect connected accounts?