WITHDRAWALS Endpoints
The currency of funds to be withdrawn
The withdrawal destination address
bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc
The amount of funds to be withdrawn
Allows to specify if amount value represents actual 'gross' amount (before service fee deductions) or 'net' amount (after service fee deductions and what actually recipient will recieve)
gross
Possible values: The external identifier of the withdrawal
Success
Unauthorized
Internal server error
Gateway timeout
POST /withdrawals HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 126
"currency='BTC'&address='bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc'&amount=1&amountType='gross'&referenceId='text'"
{
"transactionId": "3de41215-a8c6-41bf-aac3-90f825a3f666"
}
The currency of funds to be withdrawn
The FIAT/stablecoin currency name to exchange crypto from
The withdrawal destination address
bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc
The amount of funds to be withdrawn
Allows to specify if amount value represents actual 'gross' amount (a FIAT/stablecoin amount before service fee deductions), 'net' amount (a crypto amount after service fee deductions and what actually recipient will recieve) or 'purchase' amount (a crypto amount to be purchased)
gross
Possible values: The external identifier of the withdrawal
Success
Unauthorized
Internal server error
Gateway timeout
POST /outgoings HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 147
"currency='BTC'&exchangeFrom='EUR'&address='bc1q42lja79elem0anu8q8s3h2n687re9jax556pcc'&amount=1&amountType='gross'&referenceId='text'"
{
"transactionId": "9107587a-8b87-4fc9-8a49-37cc868ce94a"
}
The currency of funds to be withdrawn
The withdrawal destination address
LT663080020000000366
The amount of funds to be withdrawn
Success
Unauthorized
Internal server error
Gateway timeout
POST /withdrawals/fiat HTTP/1.1
Host: tunell-gateway.ecng.digital
X-API-KEY: YOUR_API_KEY
Content-Type: application/x-www-form-urlencoded
Accept: */*
Content-Length: 61
"currency='EUR'&ibanTo='LT663080020000000366'&amount=1"
{
"id": "d45d287f-d5be-469e-bdba-27e9db0e008a",
"status": "new"
}
Last updated