Get shared exchanges by user id
GET/v1/users/:target_user_id/shared-exchanges
Get shared exchanges by user id
This endpoint retrieves shared cryptocurrency exchanges between the authenticated user and a specified target user. It supports filtering by various parameters such as sorting, ordering, searching, and pagination. Additionally, it allows fetching associated cryptocurrencies for the shared exchanges if requested. Access is restricted based on common accounts or admin privileges.
Request
Path Parameters
target_user_id uuidrequired
User id
Query Parameters
sort_by string
Sort by
order_by string
Order by
search string
Search
coins boolean
Coins
page int32
Page
page_size int32
Page size
end_date date-time
End date
start_date date-time
Start date
Responses
- 200
- 403
- 404
- 500
User shared exchanges found
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
address stringrequired
approversQuantity int32nullable
chainPath stringrequired
createdAt date-timerequired
exchangeApiKey stringnullable
exchangeApiSecret stringnullable
id uuidrequired
isActive booleanrequired
name stringrequired
roleName stringnullable
transactionLimit stringrequired
type stringrequired
walletId uuidrequired
[
{
"address": "string",
"approversQuantity": 0,
"chainPath": "string",
"createdAt": "2024-09-25T19:42:12.590Z",
"exchangeApiKey": "string",
"exchangeApiSecret": "string",
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"isActive": true,
"name": "string",
"roleName": "string",
"transactionLimit": "string",
"type": "string",
"walletId": "3fa85f64-5717-4562-b3fc-2c963f66afa6"
}
]
Don't have access or invalid user
- text/plain
- Schema
Schema
string
User not found
- text/plain
- Schema
Schema
string
Internal server error
- text/plain
- Schema
Schema
string
Loading...