Reserve account
Endpoint paths, field names and enum values appear exactly as the API uses them. Some carry legacy names, such as earn_clients. They are identifiers, not product descriptions.
POST/organization/reserve_account/allocate/
Allocate reserve funds
Header parameters
| Name | Type | Description |
|---|---|---|
| apikeystringrequired | string | API key issued to the integration partner. |
Request body
| Name | Type | Description |
|---|---|---|
| allocationsarray of Allocationrequired | array of Allocation | |
| allocations[].client_idstringrequired | string | |
| allocations[].allocation_typestringrequired | string | Allowed values: |
| allocations[].asset_idstringrequired | string | |
| allocations[].amountstringrequired | string |
{
"allocations": [
{
"client_id": "1",
"allocation_type": "EARN_ACCOUNT",
"asset_id": "USDT",
"amount": "100"
},
{
"client_id": "2",
"allocation_type": "EARN_ACCOUNT",
"asset_id": "USDC",
"amount": "100"
}
]
}Responses
200OK
| Name | Type | Description |
|---|---|---|
| errorobject (AllocationError) | object (AllocationError) | |
| error.codestring | string | Can be any of:
|
| error.detailstring | string | |
| error.dataobject | object | |
| statusstring | string | Allowed values: |
| remaining_reserve_balancesarray of ReserveAccountBalance | array of ReserveAccountBalance | |
| remaining_reserve_balances[].asset_idstring | string | |
| remaining_reserve_balances[].balancestring | string |
{
"error": {},
"status": "success",
"remaining_reserve_balances": [
{
"asset_id": "USDT",
"balance": "1450.92"
},
{
"asset_id": "BTC",
"balance": "2.02"
}
]
}{
"error": {
"code": "insufficient_funds",
"details": "Not enough funds for allocation. Need 1450 USDT, have 1300 USDT",
"data": {
"asset_id": "USDT",
"required_amount": "1450",
"available_amount": "1300"
}
},
"status": "error",
"remaining_reserve_balances": [
{
"asset_id": "USDT",
"balance": "1300"
},
{
"asset_id": "USDC",
"balance": "1200"
}
]
}GET/organization/reserve_account/balances/
Get organization reserve account balances
Header parameters
| Name | Type | Description |
|---|---|---|
| apikeystringrequired | string | API key issued to the integration partner. |
Responses
200OK
| Name | Type | Description |
|---|---|---|
| asset_idstring | string | |
| balancestring | string |
[
{
"asset_id": "USDT",
"balance": "1500"
},
{
"asset_id": "USDC",
"balance": "1000"
}
]400Bad Request
| Name | Type | Description |
|---|---|---|
| field_namestring | string | |
| error_detailsarray of ErrorDetailrequired | array of ErrorDetail | |
| error_details[].messagestring | string | |
| error_details[].codestring | string |
[
{
"field_name": "string",
"error_details": [
{
"message": "string",
"code": "string"
},
{
"message": "string",
"code": "string"
}
]
}
]401Unauthorized
GET/organization/reserve_account/wallets/deposit/
Get organization reserve account deposit addresses
Header parameters
| Name | Type | Description |
|---|---|---|
| apikeystringrequired | string | API key issued to the integration partner. |
Query parameters
| Name | Type | Description |
|---|---|---|
| asset_idstringrequired | string |
Responses
200OK
| Name | Type | Description |
|---|---|---|
| addressstring | string | |
| asset_idstring | string | |
| nicknamestring | string |
[
{
"asset_id": "USDT",
"address": "string",
"nickname": "string"
}
]400Bad Request
| Name | Type | Description |
|---|---|---|
| field_namestring | string | |
| error_detailsarray of ErrorDetailrequired | array of ErrorDetail | |
| error_details[].messagestring | string | |
| error_details[].codestring | string |
[
{
"field_name": "string",
"error_details": [
{
"message": "string",
"code": "string"
},
{
"message": "string",
"code": "string"
}
]
}
]401Unauthorized
Technical documentation is provided to institutional integration partners for integration work. It is not an offer or a solicitation. Availability of products, assets and endpoints varies by partner and jurisdiction.
