Check OTC Eligibility
POST/private/CheckOtcClient
Retrieves the client permissions for the OTC Portal.
API Key Permissions Required: Funds permissions - Query
and Funds permissions - Deposit
Request
- application/json
Body
required
nonce int64required
Nonce used in construction of API-Sign
header
Responses
- 200
- 500
OTC client check result.
- application/json
- Schema
- Example (from schema)
Schema
result object
Contains the successful response data
permissions string[]required
OTC permissions assigned to the client.
error string[]required
{
"result": {
"permissions": [
"string"
]
},
"error": [
"EGeneral:Invalid arguments"
]
}
Internal Error
- application/json
- Schema
- Example (from schema)
- Example
Schema
error string[]
{
"error": [
"EGeneral:Invalid arguments"
]
}
{
"errors": [
{
"field": null,
"value": null,
"type": "Internal Error",
"msg": "Internal error",
"severity": "E",
"errorClass": "General"
}
]
}
Loading...