Skip to main content

Get Accounts

Get all the accounts and currencies details.

Definition

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

Example Request

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

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

Header Parameters

ParameterDescriptionTypeRequired
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",
"auto_bookfx_sequence": 5,
"active": true,
"default": true,
"label": "USD Currency"
}
]

Response Parameters

ParameterDescriptionType
account_numberReturns 12 digit account number generated by Instarem.Number
currencyReturns currency.String
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 for account.String