The accountListing API call will list all the accounts you have with SquidVault.
{
"action":"accountListing"
}
{
"data":"-- Base64 encoded AES-256-CBC encrypted JSON --",
"error":"",
"status":"success",
"action":"accountListing",
"version":"1.07",
"proc_time":1651249002,
"proc_id":26
}
"data" (decrypted)
{
"found": 1,
"customers": [
{
"uid": 1001,
"email": "test.person@gmail.com",
"added": 1663230641,
"approved": 1663230641,
"primary": "true"
}
]
}
found: The total number of accounts that you have access to.
customers: An array of summary account details.
uid: Your own unique ID for this customer.
email: The customers email.
added: Unix timestamp for when the customer was added.
approved: Unix timestamp for when the customer approved your access. This will be zero if the customer has not yet approved you.
primary: True, if the customer was directly created by you and not pre-existing.
<?php
print_r(
request(
['action'=>'accountListing']
)
);
/*############### OUTPUT ##################
Array(
[data] => {"found":1,"customers":[{"uid":1001,"email":"test.person@gmail.com","added":1663230641,"approved":1663230641,"primary":"true"}]}
[error] =>
[status] => success
[action] => accountListing
[version] => 1.07
[proc_time] => 1663231939
[proc_id] => 6
)
#########################################*/
?>
Copy Code