Get customer statuses
POST/stats/app/customer-statuses
Get customer statuses.
Request
- application/json
Body
required
timeframe stringrequired
Possible values: [day
, week
, month
, year
, allTime
]
cmsProjectId stringrequired
customerType stringrequired
Possible values: [Individual
, Company
]
Responses
- 200
- default
Successful response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- MOD1
- MOD2
- MOD3
- MOD4
- ]
- Array [
- MOD1
- MOD2
- MOD3
- MOD4
- ]
current object[]required
state object required
anyOf
string
Possible values: [Active
, Rejected
, Dormant
, To be reviewed
, Failed
, Escalated
, Terminated
, No status
]
string
Possible values: [Total
]
string
Possible values: [Sign-up
, AML screening
, KYC
, Questionaire
, Onboarded
]
string
Possible values: [Onboarding
, KYB
, Onboarded
]
count numberrequired
previous object[]required
state object required
anyOf
string
Possible values: [Active
, Rejected
, Dormant
, To be reviewed
, Failed
, Escalated
, Terminated
, No status
]
string
Possible values: [Total
]
string
Possible values: [Sign-up
, AML screening
, KYC
, Questionaire
, Onboarded
]
string
Possible values: [Onboarding
, KYB
, Onboarded
]
count numberrequired
{
"current": [
{
"state": "Active",
"count": 0
}
],
"previous": [
{
"state": "Active",
"count": 0
}
]
}
Error response
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
message stringrequired
code stringrequired
issues object[]
message stringrequired
{
"message": "string",
"code": "string",
"issues": [
{
"message": "string"
}
]
}
Loading...