Bulk Balance

Post https://app.moneygraph.ai/api/v1/ledger/fetch_balances

Headers

Authorization* string

Pass your {api_key} as a bearer token in the request header to authorize this call

Body parameters

data* array

Array of entity_id, & currency.

Request


{
    "data": [
        {
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "currency": "USD",
        },
        {
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "currency": "USD",
        },
        {
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "currency": "USD",
        }
    ]
}

Response


{
    "message": "Account Balance Details",
    "status": "success",
    "data":  {
        {
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "currency": "USD",
            "amount": 2300
        },
        {
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "currency": "USD",
            "amount": 1000
        },
        {
            "entity_id": "c0bf59cd-d6e3-4b64-b87c-f19f300fe6ba",
            "currency": "USD",
            "amount": 500
        }
    }
}