List wallets
curl --request GET \
--url https://secureapi.dyrectpay.com/api/v1/wallets \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <api-key>' \
--header 'x-timestamp: <api-key>'import requests
url = "https://secureapi.dyrectpay.com/api/v1/wallets"
headers = {
"x-api-key": "<api-key>",
"x-timestamp": "<api-key>",
"x-signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-api-key': '<api-key>',
'x-timestamp': '<api-key>',
'x-signature': '<api-key>'
}
};
fetch('https://secureapi.dyrectpay.com/api/v1/wallets', 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://secureapi.dyrectpay.com/api/v1/wallets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-signature: <api-key>",
"x-timestamp: <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"
"net/http"
"io"
)
func main() {
url := "https://secureapi.dyrectpay.com/api/v1/wallets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-timestamp", "<api-key>")
req.Header.Add("x-signature", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://secureapi.dyrectpay.com/api/v1/wallets")
.header("x-api-key", "<api-key>")
.header("x-timestamp", "<api-key>")
.header("x-signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://secureapi.dyrectpay.com/api/v1/wallets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
request["x-timestamp"] = '<api-key>'
request["x-signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Success",
"data": [
{
"_id": "wallet_id",
"address": "tb1qexampleaddress",
"chainType": "btc",
"status": "active",
"subscribedChains": [
"bitcoin"
],
"usage": "crypto_to_cash",
"provider": "tatum"
},
{
"_id": "wallet_id",
"address": "0xexampleaddress",
"chainType": "evm",
"status": "active",
"subscribedChains": [
"binance",
"ethereum",
"polygon"
],
"usage": "crypto_to_cash",
"provider": "tatum"
}
]
}{
"status": "error",
"message": "Invalid request",
"data": null
}{
"status": "error",
"message": "Invalid request",
"data": null
}Crypto Wallets
List wallets
List wallets for the business account context supplied by your API key.
GET
/
api
/
v1
/
wallets
List wallets
curl --request GET \
--url https://secureapi.dyrectpay.com/api/v1/wallets \
--header 'x-api-key: <api-key>' \
--header 'x-signature: <api-key>' \
--header 'x-timestamp: <api-key>'import requests
url = "https://secureapi.dyrectpay.com/api/v1/wallets"
headers = {
"x-api-key": "<api-key>",
"x-timestamp": "<api-key>",
"x-signature": "<api-key>"
}
response = requests.get(url, headers=headers)
print(response.text)const options = {
method: 'GET',
headers: {
'x-api-key': '<api-key>',
'x-timestamp': '<api-key>',
'x-signature': '<api-key>'
}
};
fetch('https://secureapi.dyrectpay.com/api/v1/wallets', 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://secureapi.dyrectpay.com/api/v1/wallets",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>",
"x-signature: <api-key>",
"x-timestamp: <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"
"net/http"
"io"
)
func main() {
url := "https://secureapi.dyrectpay.com/api/v1/wallets"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("x-timestamp", "<api-key>")
req.Header.Add("x-signature", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://secureapi.dyrectpay.com/api/v1/wallets")
.header("x-api-key", "<api-key>")
.header("x-timestamp", "<api-key>")
.header("x-signature", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://secureapi.dyrectpay.com/api/v1/wallets")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
request["x-timestamp"] = '<api-key>'
request["x-signature"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"status": "success",
"message": "Success",
"data": [
{
"_id": "wallet_id",
"address": "tb1qexampleaddress",
"chainType": "btc",
"status": "active",
"subscribedChains": [
"bitcoin"
],
"usage": "crypto_to_cash",
"provider": "tatum"
},
{
"_id": "wallet_id",
"address": "0xexampleaddress",
"chainType": "evm",
"status": "active",
"subscribedChains": [
"binance",
"ethereum",
"polygon"
],
"usage": "crypto_to_cash",
"provider": "tatum"
}
]
}{
"status": "error",
"message": "Invalid request",
"data": null
}{
"status": "error",
"message": "Invalid request",
"data": null
}Authorizations
API key issued to your integration.
Request timestamp used for signature verification.
Request signature generated by your backend.
⌘I
