DEPOSITS Endpoints

Get a previously generated address for a reference id

get
Authorizations
Path parameters
referenceIdstringRequired
Responses
200Success
application/json
Responseone of
or
get
GET /referenceId/{referenceId} HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
{
  "list": [
    {
      "currency": "BTC",
      "address": "bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc",
      "legacyAddress": "15e15hWo6CShMgbAfo8c2Ykj4C6BLq6Not"
    }
  ]
}

Create a new address to receive crypto funds

post
Authorizations
Body
currencystring · enumRequired

The name of currency to be deposited

Possible values:
referenceIdstringOptional

The external identifier of the transaction

Responses
200Success
application/json
post
POST /addresses HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 39

"currency='BTC'&referenceId='text'"
{
  "currency": "BTC",
  "address": "bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc",
  "legacyAddress": "15e15hWo6CShMgbAfo8c2Ykj4C6BLq6Not"
}

Create a new address to receive crypto funds and auto-exchange to fiat

post
Authorizations
Body
currencystring · enumRequired

The name of currency to be deposited

Possible values:
exchangeTostring · enumRequired

The exchange currency name

Possible values:
referenceIdstringOptional

The external identifier of the transaction

Responses
200Success
application/json
post
POST /incomings HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 58

"currency='BTC'&exchangeTo='EUR'&referenceId='text'"
{
  "pair": "BTC:EUR",
  "address": "bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc",
  "legacyAddress": "15e15hWo6CShMgbAfo8c2Ykj4C6BLq6Not"
}

Last updated