Returns the users that have orders with a certain status in a project
Returns the users that have orders with a certain status in a project
Path parameters
-
Project id
-
Order status attribute
GET /users/projects/{project_id}/by_order_status/{status}
curl \
-X GET https://client-subdomain.bitbond.net/api/v1/users/projects/{project_id}/by_order_status/{status}
Response examples (200)
[
{
"id": "string",
"user_code": "string",
"email": "string",
"locale": "string",
"terms_acceptance": true,
"email_confirmed": true,
"approved_at": "string",
"rejected_at": "string",
"created_at": "string",
"business_investor": true,
"kyc_status": "string",
"approved": true,
"rejected": true,
"invested": true,
"identities": {
"id": "string",
"user_id": "string",
"company_role": "string",
"tax_id_number": "string",
"first_name": "string",
"last_name": "string",
"phone_number": "string",
"citizenship": "string",
"country_of_birth": "string",
"date_of_birth": "string",
"video_identification_completed_at": "string",
"place_of_birth": "string",
"family_status": "string",
"gender": "string",
"not_us_income_tax": true,
"trading_on_behalf_of_self": true,
"title": "string",
"name_affix": "string",
"mifid_status": "skipped",
"name_at_birth": "string",
"second_citizenship": "string",
"country_of_taxation": "string",
"second_country_of_taxation": "string",
"second_tax_id_number": "string",
"share": 42.0,
"sole_right_of_representation": true,
"exclusively_taxable_in_country_of_taxation": true,
"type": "string",
"video_identification_completed": true,
"address": {
"id": "string",
"street_additional": "string",
"city": "string",
"country": "string",
"state": "string",
"street": "string",
"number": "string",
"zipcode": "string"
},
"video_identifications": [
{
"id": "string",
"identity_id": "string",
"idnow_id": "string",
"redirect_url": "string",
"statuses": [
"string"
],
"data": {},
"url": "string",
"has_files": true,
"completed": true,
"success": true,
"rejected": true,
"pending": true,
"reason": "string",
"identificationtime": "string",
"status": "string"
}
],
"attachments": [
{
"id": "string",
"file": {},
"filename": "string",
"document_type": "string",
"document_id_number": "string",
"issued_at": "string",
"expires_at": "string",
"issuing_authority": "string",
"issuing_country": "string",
"content_type": "string"
}
],
"term": {
"custody_wallet_terms_acceptance": true,
"custody_wallet_privacy_acceptance": true
}
}
}
]
Response examples (200)
[
{
"id": "string",
"user_code": "string",
"email": "string",
"locale": "string",
"terms_acceptance": true,
"email_confirmed": true,
"approved_at": "string",
"rejected_at": "string",
"created_at": "string",
"business_investor": true,
"kyc_status": "string",
"approved": true,
"rejected": true,
"invested": true,
"identities": {
"id": "string",
"user_id": "string",
"company_role": "string",
"tax_id_number": "string",
"first_name": "string",
"last_name": "string",
"phone_number": "string",
"citizenship": "string",
"country_of_birth": "string",
"date_of_birth": "string",
"video_identification_completed_at": "string",
"place_of_birth": "string",
"family_status": "string",
"gender": "string",
"not_us_income_tax": true,
"trading_on_behalf_of_self": true,
"title": "string",
"name_affix": "string",
"mifid_status": "skipped",
"name_at_birth": "string",
"second_citizenship": "string",
"country_of_taxation": "string",
"second_country_of_taxation": "string",
"second_tax_id_number": "string",
"share": 42.0,
"sole_right_of_representation": true,
"exclusively_taxable_in_country_of_taxation": true,
"type": "string",
"video_identification_completed": true,
"address": {
"id": "string",
"street_additional": "string",
"city": "string",
"country": "string",
"state": "string",
"street": "string",
"number": "string",
"zipcode": "string"
},
"video_identifications": [
{
"id": "string",
"identity_id": "string",
"idnow_id": "string",
"redirect_url": "string",
"statuses": [
"string"
],
"data": {},
"url": "string",
"has_files": true,
"completed": true,
"success": true,
"rejected": true,
"pending": true,
"reason": "string",
"identificationtime": "string",
"status": "string"
}
],
"attachments": [
{
"id": "string",
"file": {},
"filename": "string",
"document_type": "string",
"document_id_number": "string",
"issued_at": "string",
"expires_at": "string",
"issuing_authority": "string",
"issuing_country": "string",
"content_type": "string"
}
],
"term": {
"custody_wallet_terms_acceptance": true,
"custody_wallet_privacy_acceptance": true
}
}
}
]