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. Only present on active subaccounts
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.
deactivated string Time and date when the subaccount was deactivated. Only present on deactivated subaccounts.
active string Set to "no" on deactivated subaccounts. Only present on deactivated subaccounts.
balanceused integer The amount of credits the subaccount has used. Only present if credits has been used.