Account Balances

REST Sandbox URL: https://sandbox.4levers.com/NewReportsApi/api/Reports/account-balances

REST Production URL: https://reports-api.4levers.com/api/Reports/account-balances

Account Balance is a fundamental high-level report. Account Balance report displays the current state of your Sub-Account balance, a complete high-level overview of all the Sub-Account incoming settlements, outgoing payouts, reserve balance and other fees for a selected time range.

This report allows to control your Sub-Account completed and pending payouts and get the current and pending Sub-Account balances.

Request Example (REST Production URL)

GET: https://reports-api.4levers.com/api/Reports/account-balances?DateFrom=2020-12-10&DateTo=2020-12-22&Accounts={accountId}&SubAccounts={subAccountId}&Take=5

Request Parameters
NameTypeRequiredDescription
1dateFromdatetimedetermines the selection starting/ending time range
2dateTodatetime
3serviceProvidersinteger/arrayoptionalenter your service provider id(s)
4operatorsinteger/arrayoptionalenter your operator id(s)
5accountsinteger/arrayoptionalenter your platform account id(s)
6subAccountsstring/arrayoptionalenter your sub-account id(s)
7skipinteger/arrayoptional

these parameters determine which records will be displayed in the report based on specified index number.

to get from fifth to twentieth record specify skip = 4 and take = 16
8takeinteger/arrayoptional
Response Parameters
NameDescription
1datesystem date and time
2Descriptionbalance record description
3referencebalance record reference number
4amountbalance record amount
5balancetotal balance on a specific date
6currencycode of the transaction currency
7subAccountsub-account identifier
8platformAccountplatform account name
				
					[
    {
        "date": "2020-05-17T00:00:00",
        "description": "Current Account Balance",
        "reference": "20200517",
        "amount": "1.000000",
        "balance": "859.570000",
        "currency": "USD",
        "subAccount": "Sub-Account Id - Sub-Account Name",
        "platformAccount": "Reserve Release Never"
    },
    {
        "date": "2020-05-17T00:00:00",
        "description": "Current Reserve Balance",
        "reference": "20200517",
        "amount": "2.000000",
        "balance": "500.200000",
        "currency": "USD",
        "subAccount": "Sub-Account Id - Sub-Account Name",
        "platformAccount": "Reserve Release Never"
    },
    {
        "date": "2019-10-10T01:59:58",
        "description": "Daily Settlement Amount",
        "reference": "20191010",
        "amount": "20.000000",
        "balance": "810.000000",
        "currency": "USD",
        "subAccount": "Sub-Account Id - Sub-Account Name",
        "platformAccount": "Reserve Release Never"
    }
]