v1
latestOpenAPI 3.0.02026-07-242035712.0 MBAccount
Get Account List
<ul> <li class="docBullet">Allows for retrieval of a list of all child accounts of an account or list all account of provided customer id.</li> <li class="docBullet">A simple list of all child account id’s and their names, descriptions and billing currencies are returned.</li> <li class="docBullet">"ac_id" or "cu_id" any one of the parameter needs to be provided. If both fields are provided than "ac_id" will have precedence and response will return the details of account mentioned in "ac_id" and all accounts where "ac_id" is a parent account</li> </ul>post/pws/pws_account_list/
Request body
Example request
{
"api_call_unique_identifier": "438574845790657485",
"client_id": 760131,
"cu_id": 5838689,
"ac_id": 542283189,
"ac_ext_ref": "O"
}Response
Successful Response
Example response
{
"header": {
"error_desc": "success"
},
"body": [
{
"ac_id": 732021388,
"ac_name": "Akhsay Patel",
"ac_parent": 122222,
"client_id": 123456,
"bill_ccy": "826",
"bal_blk_amt": 100,
"crd_prdct_id": 2,
"bal_act_amt": 10000,
"cre_dt": "2019-12-03T08:03:12Z"
}
]
}