DEPOSITS Endpoints
Authorizations
Path parameters
referenceIdstringRequired
Responses
200
Success
application/json
401
Unauthorized
application/json
404
Not found
application/json
500
Internal server error
application/json
504
Gateway timeout
application/json
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": "bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc"
}
]
}
Authorizations
Body
currencystring · enumRequiredPossible values:
The name of currency to be deposited
referenceIdstringOptional
The external identifier of the transaction
Responses
200
Success
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
504
Gateway timeout
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": "bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc"
}
Authorizations
Body
currencystring · enumRequiredPossible values:
The name of currency to be deposited
exchangeTostring · enumRequiredPossible values:
The exchange currency name
referenceIdstringOptional
The external identifier of the transaction
Responses
200
Success
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
504
Gateway timeout
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": "bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc"
}
Authorizations
Body
currencystring · enumRequiredPossible values:
The name of currency to be deposited
amountnumberRequired
The amount of funds to be deposited
bankIdintegerRequired
The identifier of the bank
ibanstringRequiredExample:
The destination IBAN (International Bank Account Number)
LT601010012345678901
Responses
200
Success
application/json
401
Unauthorized
application/json
500
Internal server error
application/json
504
Gateway timeout
application/json
post
POST /deposits/fiat/dra HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 70
"currency='EUR'&amount=1&bankId=1&iban='LT601010012345678901'"
{
"id": 1,
"status": "new"
}
Authorizations
Path parameters
draIdintegerRequired
Responses
200
Success
application/json
401
Unauthorized
application/json
404
Not found
application/json
500
Internal server error
application/json
504
Gateway timeout
application/json
get
GET /deposits/fiat/dra/{draId} HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"id": 1,
"status": "new"
}
Authorizations
Query parameters
currencystring · enumRequiredPossible values:
Responses
200
Success
application/json
401
Unauthorized
application/json
404
Not found
application/json
500
Internal server error
application/json
504
Gateway timeout
application/json
get
GET /deposits/fiat/accounts HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"fiatDepositSupportedBanks": [
{
"bankId": 123,
"bank": "Bank Name",
"account": []
}
]
}
Last updated