#Durrell - Hi

1 messages ยท Page 1 of 1 (latest)

crisp bobcat
#

Hi ๐Ÿ‘‹

quaint furnace
#

Hello! Stepping in for Snufkin as they needed to step away

#

In production the expected_availability_date will not be immediate.

#

This is indeed a test-mode only thing since there is no actual time for the funds to be in flight

#

You should see the funds in your balance as pending immediately.

#

Then they will move to available once the funds actually land

loud garden
#

ok, I'm looking at the Balance object. It has an "issuing" key like this:

  "issuing": {
    "available": [
      {
        "amount": 0,
        "currency": "usd"
      }
    ]
  },

and a pending key like this:

"pending": [
    {
      "amount": 0,
      "currency": "usd",
      "source_types": {
        "card": 0
      }
    }
  ]

will that pending key be where I look for the pending amount for the "issuing" balance or will the object that "issuing" key points to have it's own "pending" key just like it has it's own "available" key?

quaint furnace
#

It will be under the issuing hash

#

So you will have both available and pending within the issuing hash

#

If you test out an issuing topup and look at your balance.available event in your Dashboard (or retrieve your balance) then you should see this

loud garden
#

ok, then what is the "pending" key above? Is it just the total pending amount which would include the issuing balance and anything else?

quaint furnace
#

No that pending will be your normal account balance

#

Not related to issuing

loud garden
#

ok. thank you

#

so if I listen for the balance.available webhook event, then in live mode I'll get a webhook whenever the issuing available amount increases or decreases?

quaint furnace
#

That will fire daily when your available balance updates, yes.

loud garden
#

ok, I was just making sure that wasn't only a webhook for the normal account balance only.

quaint furnace
#

It should contain all of your balance details since it will relay the balance object