Retrieve a managed account
GET/managed_accounts/:id
Retrieves the details of a single managed account.
Request
Path Parameters
Managed Account User ID
Responses
200: Successful response with information about a single managed account.
- application/json
- Schema
- Example (from schema)
Schema
data
object
Possible values: [managed_account
]
Identifies the type of the resource.
Uniquely identifies the managed account.
The managed account's email.
The managed account's V2 API access key
The manager account's email, which serves as the V1 API user identifier
The managed account's V1 API token
The organization the managed account is associated with.
The ID of the manager account associated with the managed account.
balance
object
Possible values: [balance
]
Identifies the type of the resource.
The account's current balance.
The account's credit limit.
Available amount to spend (balance + credit limit)
The ISO 4217 currency identifier.
ISO 8601 formatted date indicating when the resource was created.
ISO 8601 formatted date indicating when the resource was updated.
Boolean value that indicates if the managed account is able to have custom pricing set for it or not. If false, uses the pricing of the manager account. Defaults to false. There may be time lag between when the value is changed and pricing changes take effect.
Boolean value that indicates if the billing information and charges to the managed account "roll up" to the manager account. If true, the managed account will not have its own balance and will use the shared balance with the manager account. This value cannot be changed after account creation without going through Telnyx support as changes require manual updates to the account ledger. Defaults to false.
{
"data": {
"record_type": "managed_account",
"id": "f65ceda4-6522-4ad6-aede-98de83385123",
"email": "[email protected]",
"api_key": "KEY01236170692E74656C6E79782E636F6D_YmlnIGlyb24gaXMgZGVhZA",
"api_user": "[email protected]",
"api_token": "x6oexQNHTs-fZ7-QsDMOeg",
"organization_name": "Example Company LLC",
"manager_account_id": "f65ceda4-6522-4ad6-aede-98de83385123",
"balance": {
"record_type": "balance",
"balance": "300.00",
"credit_limit": "100.00",
"available_credit": "400.00",
"currency": "USD"
},
"created_at": "2018-02-02T22:25:27.521Z",
"updated_at": "2018-02-02T22:25:27.521Z",
"managed_account_allow_custom_pricing": true,
"rollup_billing": false
}
}
401: Unauthenticated response. Happens when the current user cannot be authenticated.
404: Resource not found