DOCUMENTS

Get Sub Account By ID

Retrieve the details of a document sub-account.

Class: documents

Method: get-sub-account-by-id

POST/documents/get-sub-account-by-id

Parameters

  • client_id*
  • akey*
  • sub_account_id* - sub account ID

JSON response

JSONResponse example
{
  "sub_account": {
    "id": "1",
    "account_alias": "Operating Account",
    "confirmed": true,
    "active": true
  }
}

XML response

XMLResponse example
<?xml version="1.0" encoding="UTF-8"?>
<wmc-response status="1">
	<sub_account id='1'>
		<sub_account_id>1</sub_account_id>
		<account_alias>Operating Account</account_alias>
		<active>1</active>
		<confirmed>1</confirmed>
	</sub_account>
</wmc-response>

Search documentation