List all wallets
1 min
GET
/client/v1/wallet
Header Parameters
- X-CLIENT-IDstringrequiredDescription
- X-SIGNATUREstringrequiredDescription
- X-TIMESTAMPstringrequiredDescription
- X-NONCEstringrequiredDescription
Responses
200
- clientApi.ListWalletRequestSuccessfulDescription
- dataclientApi.Wallet[]
- namestring
- currencystring
- balancenumber
- messagestringDefaultbalances retrieved
curl
curl --request GET \
--url /client/v1/wallet \
--header 'accept: application/json' \
--header 'x-client-id: string' \
--header 'x-signature: string' \
--header 'x-timestamp: string' \
--header 'x-nonce: string'javascript
var myHeaders = new Headers();
myHeaders.append("accept", "application/json");
myHeaders.append("content-type", "application/json");
myHeaders.append("x-client-id", "string");
myHeaders.append("x-signature", "string");
myHeaders.append("x-timestamp", "string");
myHeaders.append("x-nonce", "string");
var requestOptions = {
method: 'GET',
headers: myHeaders,
redirect: 'follow'
};
fetch("/client/v1/wallet", requestOptions)
.then(response => response.text())
.then(result => console.log(result))
.catch(error => console.log('error', error));ruby
require "uri"
require "json"
require "net/http"
url = URI("/client/v1/wallet")
http = Net::HTTP.new(url.host, url.port);
request = Net::HTTP::Get.new(url)
request["accept"] = "application/json"
request["content-type"] = "application/json"
request["x-client-id"] = "string"
request["x-signature"] = "string"
request["x-timestamp"] = "string"
request["x-nonce"] = "string"
response = http.request(request)
puts response.read_body
python
import requests
import json
url = "/client/v1/wallet"
payload = {}
headers = {
'accept': 'application/json',
'content-type': 'application/json',
'x-client-id': 'string',
'x-signature': 'string',
'x-timestamp': 'string',
'x-nonce': 'string'
}
response = requests.request("GET", url, headers=headers, data=payload)
print(response.text)
200
// balances retrieved
{
"data": [
{
"name": "",
"currency": "",
"balance": 0
}
],
"message": ""
}