Gets customer details related to their account. For white label users only.
Authorization type: Account
curl "https://getchipbot.com/api/v3/connect/accounts/{accountId}/sub-accounts/{subAccountId}" \
-H 'Authorization: {token}'
{
"status": "OK",
"data": {
"billing": {
"trial": {
"startDate": "2023-09-25T23:56:26.612Z",
"endDate": "2023-10-02T23:56:26.612Z",
"statusApplied": true
},
"delinquency": {
"message": "Example Delinquency Message"
}
},
"accountId": "act_xxxx",
"email": "testtrial@localhost.com",
"users": [
{
"id": "usr_xxxx",
"role": "owner",
"domains": []
}
],
"status": "delinquent",
"domains": [
"dom_xxx"
],
"id": "subact_xxxx",
"createdAt": "2023-09-25T23:56:26.614Z",
"updatedAt": "2024-06-07T20:48:15.553Z"
},
"timestamp": "2024-06-10T16:24:40Z"
}