Retrieve settlement wallet for Venue
curl --request POST \
--url https://api.custody.api-zodia.io/v3/api/interchange/settlement/walletimport requests
url = "https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet', 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://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"id": "ZTEST-ISW-TBHJYXEFN4",
"venueId": "<string>",
"name": "Demo settlement wallet",
"companyId": "ZTEST",
"balances": [
{
"currency": "BTC",
"availableBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"ledgerBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"pendingOutBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"pendingInBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"feeBufferBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"subClientBalances": {}
}
],
"createdAt": "2021-05-11 04:43:43.056",
"customProperties": {
"clientReference": "ZodiaTest",
"walletReference": 1223456
},
"createdBy": "SYS_SettlementFundManager",
"updatedAt": "2021-05-11 04:43:43.056"
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}Interchange-V3
Retrieve settlement wallet for Venue
POST
/
v3
/
api
/
interchange
/
settlement
/
wallet
Retrieve settlement wallet for Venue
curl --request POST \
--url https://api.custody.api-zodia.io/v3/api/interchange/settlement/walletimport requests
url = "https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet"
response = requests.post(url)
print(response.text)const options = {method: 'POST'};
fetch('https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet', 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://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
]);
$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://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet"
req, _ := http.NewRequest("POST", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.custody.api-zodia.io/v3/api/interchange/settlement/wallet")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
response = http.request(request)
puts response.read_body{
"id": "ZTEST-ISW-TBHJYXEFN4",
"venueId": "<string>",
"name": "Demo settlement wallet",
"companyId": "ZTEST",
"balances": [
{
"currency": "BTC",
"availableBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"ledgerBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"pendingOutBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"pendingInBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"feeBufferBalance": {
"amount": "<string>",
"amountUnit": "0.006414",
"fiatValue": "0.006414",
"fiatCurrency": "USD",
"usdValue": "0.006414"
},
"subClientBalances": {}
}
],
"createdAt": "2021-05-11 04:43:43.056",
"customProperties": {
"clientReference": "ZodiaTest",
"walletReference": 1223456
},
"createdBy": "SYS_SettlementFundManager",
"updatedAt": "2021-05-11 04:43:43.056"
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}{
"timestamp": "2021-10-27T14:30:13.912Z",
"title": "Method Not Allowed",
"status": 415,
"details": [
{
"message": "Available methods : GET,POST",
"code": "ER-204"
}
]
}Response
OK
ID of the settlement wallet
Required string length:
1 - 40Pattern:
<companyId>-ISW-*Example:
"ZTEST-ISW-TBHJYXEFN4"
ID of the venue to which the settlement wallet is linked
Display name of the settlement wallet
Required string length:
1 - 128Example:
"Demo settlement wallet"
Current status of the settlement wallet
Available options:
ACTIVE, DEACTIVATED ID of the company
Required string length:
1 - 12Example:
"ZTEST"
Show child attributes
Show child attributes
Date/time (in UTC) of creation of the settlement wallet
Example:
"2021-05-11 04:43:43.056"
Show child attributes
Show child attributes
ID of the user who created the settlement wallet
Example:
"SYS_SettlementFundManager"
Date/time (in UTC) of the settlement wallet's last update
Example:
"2021-05-11 04:43:43.056"
⌘I