Where to send a coin (issued on first request)
GET
/v1/accounts/{id}/crypto/deposit-address
curl "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/crypto/deposit-address?coin=BTC" \ -H "Authorization: Bearer $IDEALX_API_KEY"const res = await fetch("https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/crypto/deposit-address?coin=BTC", { headers: { Authorization: `Bearer ${process.env.IDEALX_API_KEY}` },});if (!res.ok) throw new Error((await res.json()).error.code);const data = await res.json();import osimport requests
res = requests.get( "https://api.staging.idealx.com/v1/accounts/acc_01937c4e8a2b7d1f9e0c3b5a6d7e8f90/crypto/deposit-address?coin=BTC", headers={"Authorization": f"Bearer {os.environ['IDEALX_API_KEY']}"}, timeout=30,)res.raise_for_status()data = res.json()Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
string
Query Parameters
Section titled “Query Parameters”coin
required
string
network
One of the coin’s networks (GET /v1/crypto/assets); its usual one if left out
string
One of the coin’s networks (GET /v1/crypto/assets); its usual one if left out
Responses
Section titled “Responses”OK
Media typeapplication/json
Send only this coin on this network. It always arrives in the Primary portfolio.
object
coin
required
string
network
required
string
networkName
required
string
address
required
string
confirmationsNeeded
required
number
Example
{ "network": "bitcoin"}Not available
Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
requestId
required
string
details
object
key
additional properties
Example
{ "error": { "code": "validation_failed" }}