Add customer's crypto address
curl --request POST \
--url https://partner-dev.coinut.net/crypto-address/add \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'X-API-Secret: <api-key>' \
--data '
{
"customerId": "6ac34182-aa2e-4290-ab1b-302a09f451d1",
"currency": "USDT",
"address": "0x1234567890123456789012345678901234567890",
"label": "My Wallet",
"network": "ETH"
}
'import requests
url = "https://partner-dev.coinut.net/crypto-address/add"
payload = {
"customerId": "6ac34182-aa2e-4290-ab1b-302a09f451d1",
"currency": "USDT",
"address": "0x1234567890123456789012345678901234567890",
"label": "My Wallet",
"network": "ETH"
}
headers = {
"X-API-Key": "<api-key>",
"X-API-Secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-API-Key': '<api-key>',
'X-API-Secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
customerId: '6ac34182-aa2e-4290-ab1b-302a09f451d1',
currency: 'USDT',
address: '0x1234567890123456789012345678901234567890',
label: 'My Wallet',
network: 'ETH'
})
};
fetch('https://partner-dev.coinut.net/crypto-address/add', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://partner-dev.coinut.net/crypto-address/add",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'customerId' => '6ac34182-aa2e-4290-ab1b-302a09f451d1',
'currency' => 'USDT',
'address' => '0x1234567890123456789012345678901234567890',
'label' => 'My Wallet',
'network' => 'ETH'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>",
"X-API-Secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://partner-dev.coinut.net/crypto-address/add"
payload := strings.NewReader("{\n \"customerId\": \"6ac34182-aa2e-4290-ab1b-302a09f451d1\",\n \"currency\": \"USDT\",\n \"address\": \"0x1234567890123456789012345678901234567890\",\n \"label\": \"My Wallet\",\n \"network\": \"ETH\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("X-API-Secret", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://partner-dev.coinut.net/crypto-address/add")
.header("X-API-Key", "<api-key>")
.header("X-API-Secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"customerId\": \"6ac34182-aa2e-4290-ab1b-302a09f451d1\",\n \"currency\": \"USDT\",\n \"address\": \"0x1234567890123456789012345678901234567890\",\n \"label\": \"My Wallet\",\n \"network\": \"ETH\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-dev.coinut.net/crypto-address/add")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["X-API-Secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"customerId\": \"6ac34182-aa2e-4290-ab1b-302a09f451d1\",\n \"currency\": \"USDT\",\n \"address\": \"0x1234567890123456789012345678901234567890\",\n \"label\": \"My Wallet\",\n \"network\": \"ETH\"\n}"
response = http.request(request)
puts response.read_body{
"status": "SUCCESS",
"data": {
"id": "67890"
}
}{
"status": "INVALID_PARAMETERS",
"message": "invalid parameters"
}Crypto Addresses
Add Crypto Address
Add customer’s crypto address
POST
/
crypto-address
/
add
Add customer's crypto address
curl --request POST \
--url https://partner-dev.coinut.net/crypto-address/add \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--header 'X-API-Secret: <api-key>' \
--data '
{
"customerId": "6ac34182-aa2e-4290-ab1b-302a09f451d1",
"currency": "USDT",
"address": "0x1234567890123456789012345678901234567890",
"label": "My Wallet",
"network": "ETH"
}
'import requests
url = "https://partner-dev.coinut.net/crypto-address/add"
payload = {
"customerId": "6ac34182-aa2e-4290-ab1b-302a09f451d1",
"currency": "USDT",
"address": "0x1234567890123456789012345678901234567890",
"label": "My Wallet",
"network": "ETH"
}
headers = {
"X-API-Key": "<api-key>",
"X-API-Secret": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
'X-API-Key': '<api-key>',
'X-API-Secret': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({
customerId: '6ac34182-aa2e-4290-ab1b-302a09f451d1',
currency: 'USDT',
address: '0x1234567890123456789012345678901234567890',
label: 'My Wallet',
network: 'ETH'
})
};
fetch('https://partner-dev.coinut.net/crypto-address/add', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://partner-dev.coinut.net/crypto-address/add",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'customerId' => '6ac34182-aa2e-4290-ab1b-302a09f451d1',
'currency' => 'USDT',
'address' => '0x1234567890123456789012345678901234567890',
'label' => 'My Wallet',
'network' => 'ETH'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-API-Key: <api-key>",
"X-API-Secret: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://partner-dev.coinut.net/crypto-address/add"
payload := strings.NewReader("{\n \"customerId\": \"6ac34182-aa2e-4290-ab1b-302a09f451d1\",\n \"currency\": \"USDT\",\n \"address\": \"0x1234567890123456789012345678901234567890\",\n \"label\": \"My Wallet\",\n \"network\": \"ETH\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("X-API-Key", "<api-key>")
req.Header.Add("X-API-Secret", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://partner-dev.coinut.net/crypto-address/add")
.header("X-API-Key", "<api-key>")
.header("X-API-Secret", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"customerId\": \"6ac34182-aa2e-4290-ab1b-302a09f451d1\",\n \"currency\": \"USDT\",\n \"address\": \"0x1234567890123456789012345678901234567890\",\n \"label\": \"My Wallet\",\n \"network\": \"ETH\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://partner-dev.coinut.net/crypto-address/add")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["X-API-Key"] = '<api-key>'
request["X-API-Secret"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"customerId\": \"6ac34182-aa2e-4290-ab1b-302a09f451d1\",\n \"currency\": \"USDT\",\n \"address\": \"0x1234567890123456789012345678901234567890\",\n \"label\": \"My Wallet\",\n \"network\": \"ETH\"\n}"
response = http.request(request)
puts response.read_body{
"status": "SUCCESS",
"data": {
"id": "67890"
}
}{
"status": "INVALID_PARAMETERS",
"message": "invalid parameters"
}Body
application/json
Customer ID
Example:
"6ac34182-aa2e-4290-ab1b-302a09f451d1"
Currency
Available options:
USDT, USDC Example:
"USDT"
Crypto address
Example:
"0x1234567890123456789012345678901234567890"
Label
Example:
"My Wallet"
Network
Available options:
ETH, TRX, MATIC Example:
"ETH"
⌘I

