Get subaccount by ID

Request

GET https://api.46elks.com/a1/subaccounts/{id}

Response structure

Example JSON response

{
  "secret":"D81DEF1B65E19A83DBCEA0BE0D89D082",
  "created":"2014-12-08T13:18:07.625000",
  "usagelimit":910000,
  "id":"af3d05a159669e1951c5301bc6a61bac",
  "name":"This Co",
  "balanceused":12300
}
  
Parameter Type Description
id string ID of the subaccount, used as API username for requests by the subaccount.
secret string The secret of the account, used as API password for requests by the subaccount.
name string Name of the account.
created string Time and date when the account was created.
usagelimit integer The max amount of credits the subaccount may use.
balanceused integer The max amount of credits the subaccount has used.