curl --request PATCH \
--url https://api.breezing.io/v1/wallets/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"folderId": 1,
"disablePullLatestTrx": true,
"glAccounts": [
{
"token": "<string>",
"code": "<string>"
}
],
"linkedContacts": [
"<string>"
]
}
'import requests
url = "https://api.breezing.io/v1/wallets/{id}"
payload = {
"name": "<string>",
"folderId": 1,
"disablePullLatestTrx": True,
"glAccounts": [
{
"token": "<string>",
"code": "<string>"
}
],
"linkedContacts": ["<string>"]
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
folderId: 1,
disablePullLatestTrx: true,
glAccounts: [{token: '<string>', code: '<string>'}],
linkedContacts: ['<string>']
})
};
fetch('https://api.breezing.io/v1/wallets/{id}', 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.breezing.io/v1/wallets/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'folderId' => 1,
'disablePullLatestTrx' => true,
'glAccounts' => [
[
'token' => '<string>',
'code' => '<string>'
]
],
'linkedContacts' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://api.breezing.io/v1/wallets/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"folderId\": 1,\n \"disablePullLatestTrx\": true,\n \"glAccounts\": [\n {\n \"token\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"linkedContacts\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
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.patch("https://api.breezing.io/v1/wallets/{id}")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"folderId\": 1,\n \"disablePullLatestTrx\": true,\n \"glAccounts\": [\n {\n \"token\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"linkedContacts\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.breezing.io/v1/wallets/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"folderId\": 1,\n \"disablePullLatestTrx\": true,\n \"glAccounts\": [\n {\n \"token\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"linkedContacts\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": 123,
"name": "<string>",
"orgId": 123,
"companyId": 123,
"address": "<string>",
"exchange": "<string>",
"bankAccount": "<string>",
"glAccounts": [
{
"token": "<string>",
"code": "<string>"
}
],
"linkedContacts": [
"<string>"
],
"type": "<string>",
"chain": "eth",
"status": "<string>",
"dataFrom": "<string>",
"dateFrom": "<string>",
"dateTo": "<string>",
"addedTransactions": 123,
"folderId": 123,
"disablePullLatestTrx": true,
"createdAt": 123,
"updatedAt": 123,
"updated": 1
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Update Wallet API
Update a Breezing wallet’s name, folder, Sync all exclusion, GL account mapping, or linked contacts without changing its address or chain.
curl --request PATCH \
--url https://api.breezing.io/v1/wallets/{id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"folderId": 1,
"disablePullLatestTrx": true,
"glAccounts": [
{
"token": "<string>",
"code": "<string>"
}
],
"linkedContacts": [
"<string>"
]
}
'import requests
url = "https://api.breezing.io/v1/wallets/{id}"
payload = {
"name": "<string>",
"folderId": 1,
"disablePullLatestTrx": True,
"glAccounts": [
{
"token": "<string>",
"code": "<string>"
}
],
"linkedContacts": ["<string>"]
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
folderId: 1,
disablePullLatestTrx: true,
glAccounts: [{token: '<string>', code: '<string>'}],
linkedContacts: ['<string>']
})
};
fetch('https://api.breezing.io/v1/wallets/{id}', 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.breezing.io/v1/wallets/{id}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'folderId' => 1,
'disablePullLatestTrx' => true,
'glAccounts' => [
[
'token' => '<string>',
'code' => '<string>'
]
],
'linkedContacts' => [
'<string>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$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://api.breezing.io/v1/wallets/{id}"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"folderId\": 1,\n \"disablePullLatestTrx\": true,\n \"glAccounts\": [\n {\n \"token\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"linkedContacts\": [\n \"<string>\"\n ]\n}")
req, _ := http.NewRequest("PATCH", url, payload)
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.patch("https://api.breezing.io/v1/wallets/{id}")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"folderId\": 1,\n \"disablePullLatestTrx\": true,\n \"glAccounts\": [\n {\n \"token\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"linkedContacts\": [\n \"<string>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.breezing.io/v1/wallets/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"folderId\": 1,\n \"disablePullLatestTrx\": true,\n \"glAccounts\": [\n {\n \"token\": \"<string>\",\n \"code\": \"<string>\"\n }\n ],\n \"linkedContacts\": [\n \"<string>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"id": 123,
"name": "<string>",
"orgId": 123,
"companyId": 123,
"address": "<string>",
"exchange": "<string>",
"bankAccount": "<string>",
"glAccounts": [
{
"token": "<string>",
"code": "<string>"
}
],
"linkedContacts": [
"<string>"
],
"type": "<string>",
"chain": "eth",
"status": "<string>",
"dataFrom": "<string>",
"dateFrom": "<string>",
"dateTo": "<string>",
"addedTransactions": 123,
"folderId": 123,
"disablePullLatestTrx": true,
"createdAt": 123,
"updatedAt": 123,
"updated": 1
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}{
"success": false,
"error": {
"code": "<string>",
"message": "<string>"
}
}Query Parameters
Body
Wallet GL Accounts: the FULL mapping to store (one entry per token; an empty array removes every mapping). Exchange and bank wallets only. Every code must exist in the chart of accounts. Rows imported later in a mapped token carry the code as their asset account; on a change, the wallet's existing unlocked rows in the changed tokens are re-stamped through background tasks (rows whose asset account was set by hand are left alone).
50Show child attributes
Show child attributes
Wallet Linked Contacts: the FULL list of contact addresses or labels this wallet is known by on other wallets (an empty array removes the list). Exchange and bank wallets only. Entries are trimmed and must be unique ignoring case. A changed list re-runs the internal matcher over the existing rows right away (a processInternalTrx task).
1001 - 256