curl --request PATCH \
--url https://business.madhousewallet.com/api/payouts/recipients/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountHolderName": "Jane Smith",
"details": {
"legalType": "PRIVATE",
"iban": "DE89370400440532013000"
},
"wallet": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"
}
'import requests
url = "https://business.madhousewallet.com/api/payouts/recipients/{id}"
payload = {
"accountHolderName": "Jane Smith",
"details": {
"legalType": "PRIVATE",
"iban": "DE89370400440532013000"
},
"wallet": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountHolderName: 'Jane Smith',
details: {legalType: 'PRIVATE', iban: 'DE89370400440532013000'},
wallet: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B'
})
};
fetch('https://business.madhousewallet.com/api/payouts/recipients/{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://business.madhousewallet.com/api/payouts/recipients/{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([
'accountHolderName' => 'Jane Smith',
'details' => [
'legalType' => 'PRIVATE',
'iban' => 'DE89370400440532013000'
],
'wallet' => '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://business.madhousewallet.com/api/payouts/recipients/{id}"
payload := strings.NewReader("{\n \"accountHolderName\": \"Jane Smith\",\n \"details\": {\n \"legalType\": \"PRIVATE\",\n \"iban\": \"DE89370400440532013000\"\n },\n \"wallet\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://business.madhousewallet.com/api/payouts/recipients/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"accountHolderName\": \"Jane Smith\",\n \"details\": {\n \"legalType\": \"PRIVATE\",\n \"iban\": \"DE89370400440532013000\"\n },\n \"wallet\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://business.madhousewallet.com/api/payouts/recipients/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountHolderName\": \"Jane Smith\",\n \"details\": {\n \"legalType\": \"PRIVATE\",\n \"iban\": \"DE89370400440532013000\"\n },\n \"wallet\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\"\n}"
response = http.request(request)
puts response.read_body{
"id": 12345678,
"accountHolderName": "Jane Doe",
"currency": "EUR",
"type": "iban",
"active": true,
"details": {},
"country": "DE"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Update a recipient
Updates the accountHolderName and/or details of an existing recipient. The recipient must belong to your account. Provide at least one field to update.
Wallet verification: wallet is required and must be a KYC-verified wallet (EVM or SVM). Unverified wallets are rejected with 403 — verify your wallet at kyc.madhousewallet.com.
Note: MW may issue a new recipient id after an update — always use the id from the response for subsequent calls.
Country format: If details.address is included in the update, details.address.country must be a valid ISO 3166-1 alpha-2 code (e.g. US, GB, DE). Updates that don’t touch the address leave the existing stored country untouched.
Compliance screening: If accountHolderName is included in the request, the new value is screened against the sanctions database. The screen uses the same name + country + address algorithm as POST /api/payouts/recipients. Country and address come from the new details.address when provided, otherwise from the existing recipient. Matches are rejected with 403 and the recipient is left unchanged.
Rate limit: 30 requests/minute.
curl --request PATCH \
--url https://business.madhousewallet.com/api/payouts/recipients/{id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"accountHolderName": "Jane Smith",
"details": {
"legalType": "PRIVATE",
"iban": "DE89370400440532013000"
},
"wallet": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"
}
'import requests
url = "https://business.madhousewallet.com/api/payouts/recipients/{id}"
payload = {
"accountHolderName": "Jane Smith",
"details": {
"legalType": "PRIVATE",
"iban": "DE89370400440532013000"
},
"wallet": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
accountHolderName: 'Jane Smith',
details: {legalType: 'PRIVATE', iban: 'DE89370400440532013000'},
wallet: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B'
})
};
fetch('https://business.madhousewallet.com/api/payouts/recipients/{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://business.madhousewallet.com/api/payouts/recipients/{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([
'accountHolderName' => 'Jane Smith',
'details' => [
'legalType' => 'PRIVATE',
'iban' => 'DE89370400440532013000'
],
'wallet' => '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"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://business.madhousewallet.com/api/payouts/recipients/{id}"
payload := strings.NewReader("{\n \"accountHolderName\": \"Jane Smith\",\n \"details\": {\n \"legalType\": \"PRIVATE\",\n \"iban\": \"DE89370400440532013000\"\n },\n \"wallet\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
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://business.madhousewallet.com/api/payouts/recipients/{id}")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"accountHolderName\": \"Jane Smith\",\n \"details\": {\n \"legalType\": \"PRIVATE\",\n \"iban\": \"DE89370400440532013000\"\n },\n \"wallet\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://business.madhousewallet.com/api/payouts/recipients/{id}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"accountHolderName\": \"Jane Smith\",\n \"details\": {\n \"legalType\": \"PRIVATE\",\n \"iban\": \"DE89370400440532013000\"\n },\n \"wallet\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\"\n}"
response = http.request(request)
puts response.read_body{
"id": 12345678,
"accountHolderName": "Jane Doe",
"currency": "EUR",
"type": "iban",
"active": true,
"details": {},
"country": "DE"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Body
At least one of accountHolderName / details must be provided. wallet is conditionally required — only needed if your account requires KYC verification.
Your wallet address (EVM 0x + 40 hex, or Solana base58 32–44 chars). Conditionally required: only needed if your account requires KYC verification. When required, it must be a KYC-verified wallet — unverified wallets are rejected with 403 (verify at kyc.madhousewallet.com). If KYC is not enabled for your account, this field may be omitted.
"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"
Response
Recipient updated
A payout recipient account
