嗨,我很难从json中获取可用金额
我尝试过:
console.log(balance.available.amount);
但是它不起作用。
{
"object": "balance",
"available": [
{
"amount": 5003300,
"currency": "usd",
"source_types": {
"bank_account": 4800,
"card": 4998500
}
}
]