Get the history of account status changes for a specific account.
GET
/accounts/{account_id}/audit_trails/account_status_changes
Path parameters
-
account_id string Required
ID of the Account
GET /accounts/{account_id}/audit_trails/account_status_changes
curl \
-X GET https://<your_environment_name>-uat-api.canopyservicing.com/accounts/can_52322/audit_trails/account_status_changes \
-H "Authorization: Bearer $ACCESS_TOKEN"
Response example (200)
{
"results": [
{
"changed_at": "2018-06-20T09:12:30+00:00",
"account_overview": {
"account_status": "SUSPENDED",
"account_substatus": "BANKRUPTCY"
}
}
]
}