Skip to main content

Get balance for all the accounts

Get available balance for all the accounts.

Definition

URL
GET https://api-test.instarem/com:4803/api/v1/balance/all

Example Request

curl --request get \\
--url "https://api-test.instarem.com:4803/api/v1/balance/all" \\

--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE0OTgxMzQ4OTQsImRhdGEiOnsic3ViIjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWE1IiwiY2xpZW50IjoiNTk0MjNmMzZjZWEyMTQ2OTI2ODczOWExIn0sImlhdCI6MTQ5ODA0ODQ5NH0.pevwSDpk-JDNtVIpqFu_m0Xu1UnDVumrAYStcrxf8sM' \\
--header 'content-type: application/json' \\

Header Parameters

parametersDescriptionTypeRequired
authorizationauth tokenStringYes
content-typeThe Content-Type entity header is used to indicate the media type of the resource. Expected value is application/json.StringYes
X-CLIENT-IDUnique id for client generated by Nium, Required only in case of partner based model (E.g. 593feb7c7c52bb2357b2df6c).StringNo

Example Response

[
{
"account_number": 101950173983,
"currency": "USD",
"balance": 50000,
"auto_bookfx_sequence": 5,
"active": true,
"default": true,
"label": "USD Currency"
}
]

Response Parameters

ParameterDescriptionType
account_numberReturns 12 digit account number generated by InstaremNumber
currencyReturns currency (3-letter ISO-4217 code).String
balanceReturns avilable balance of the accountNumber
auto_bookfx_sequenceIf returns <> 0, this account is used for Auto Book FX and its priority is set accordingly.Number
activeReturns true if account is active otherwise false.Boolean
defaultReturns true if account is default, otherwise false.Boolean
labelReturns label name as defined for account.String