Get all users of the owner
curl -L \
--request POST \
--url 'http://api.client.nbcgate.tech//api/user/list' \
--header 'Authorization: YOUR_API_KEY' \
--header 'Content-Type: application/json' \
--data '{
"filters": {
"amount": {
"coin_id": 1,
"currency_id": 1,
"exclude": true,
"max": 1,
"min": 1,
"token_id": 1
},
"date": {
"date_from": "text",
"date_to": "text",
"exclude": true
},
"m_pos": {
"exclude": true,
"id": [
1
]
},
"minute": {
"count": 1,
"exclude": true
},
"operation_type": {
"exclude": true,
"id": [
1
]
},
"owner_id": 1,
"pay_form": {
"exclude": true,
"id": [
1
]
},
"pay_link": {
"exclude": true,
"id": [
1
]
},
"product": {
"exclude": true,
"id": [
1
]
},
"types": {
"pay_link_type_id": 1
},
"user_id": 1
}
}'
{
"data": [
{
"avatar": "text",
"blockchain": true,
"code": 1,
"companyName": "text",
"country": "text",
"createdDate": "text",
"defender": true,
"email": "text",
"email_confirmed": true,
"finTFA": true,
"id": 1,
"inviteDate": "text",
"inviteStatus": 1,
"inviteTtl": 1,
"language": "text",
"login": "text",
"m_pos_available": [
1
],
"name": "text",
"phone": "text",
"primarily": true,
"proceeds": {
"ANY_ADDITIONAL_PROPERTY": 1
},
"role": [
{
"description": "text",
"id": 1,
"productID": 1
}
],
"surname": "text",
"tfa_enabled": true,
"tfa_type": 1,
"time_zone": "text",
"userStatusId": 1
}
]
}
OK