#Bogdan Onu

1 messages · Page 1 of 1 (latest)

karmic zenithBOT
lunar jolt
#

👋 happy to help

#

what is missing?

wintry mural
#

for example we get this response from the api:

{
  object: 'balance',
  available: [
    { amount: -6161, currency: 'eur', source_types: [Object] },
    { amount: 0, currency: 'chf', source_types: [Object] }
  ],
  livemode: false,
  pending: [
    { amount: 0, currency: 'eur', source_types: [Object] },
    { amount: 0, currency: 'chf', source_types: [Object] }
  ]
}
#

and the dashboard itself is displaying this data:

{
    "object": "list",
    "data": [
        {
            "available": -6161,
            "available_by_balance_type": {
                "nil": -6161
            },
            "available_by_source_type": {
                "card": -6161
            },
            "available_instant": null,
            "available_issuing": 0,
            "available_soon": 0,
            "connect_reserved": 0,
            "currency": "eur",
            "estimated_future_payouts": -6161,
            "in_transit": 0,
            "in_transit_negative": 0,
            "in_transit_positive": 0,
            ...
            "total": -6161,
            "total_min_balance": 0,
        },
        {
            "available": 0,
            "available_by_balance_type": {},
            "available_by_source_type": {
                "card": 0
            },
            "available_instant": null,
            "available_issuing": 0,
            "available_soon": 0,
            "connect_reserved": 0,
            "currency": "chf",
            "in_transit": 0,
            "in_transit_negative": 0,
            "in_transit_positive": 0,
            ...
            "total": 0,
            "total_min_balance": 0,
        },
        {
            "available": 0,
            "available_by_balance_type": {},
            "available_by_source_type": {
                "card": 0
            },
            "available_instant": null,
            "available_issuing": 0,
            "available_soon": 0,
            "connect_reserved": 0,
            "currency": "cad",
           ...
            "total": 0,
            "total_min_balance": 0,
        }
    ],
    "has_more": false,
    "url": "/ajax/balance/summary"
}
#

we are missing cad in this example

#

but the example can be expanded so that the connected account has 10 currencies activated but the api returns only 1 (the default currency)

lunar jolt
#

let me check

#

would you mind sharing your account ID?

wintry mural
#

req_zLzc3Ge5qXWXcA

#

connected id: acct_1MRCIYCOFODkBQim

lunar jolt
#

thanks will take a look shortly

lunar jolt
#

sorry still haven't figured out what's going wrong

#

please bear with me a while longer

wintry mural
#

sure

lunar jolt
#

I honestly haven't figured it out, and by now you're waiting for a while with no answer

#

someone will look up and see whether this is expected or an issue

wintry mural
#

ok I can try that, thanx

lunar jolt
#

sorry about that