Skip to main content
PATCH
/
api
/
payouts
/
recipients
/
{id}
Update a recipient
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"
}
'
{
  "id": 12345678,
  "accountHolderName": "Jane Doe",
  "currency": "EUR",
  "type": "iban",
  "active": true,
  "details": {},
  "country": "DE"
}

Authorizations

Authorization
string
header
required

Pass your API key as a Bearer token: Authorization: Bearer mw_live_<keyId>_<secret>

Path Parameters

id
integer
required

Recipient account ID

Example:

12345678

Body

application/json

At least one of accountHolderName / details must be provided. wallet is conditionally required — only needed if your account requires KYC verification.

accountHolderName
string

Updated full legal name of the account holder

Example:

"Jane Smith"

details
object

Updated account details. Must include all required fields for the recipient's account type, not just the changed ones.

Example:
{
"legalType": "PRIVATE",
"iban": "DE89370400440532013000"
}
wallet
string

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.

Example:

"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"

Response

Recipient updated

A payout recipient account

id
integer
required

Recipient account ID

Example:

12345678

accountHolderName
string
required

Name on the account

Example:

"Jane Doe"

currency
string
required

ISO 4217 currency code

Example:

"EUR"

type
string
required

Account type (e.g. iban, sort_code, aba)

Example:

"iban"

active
boolean
required

Whether the recipient is active

Example:

true

details
object
required

Account-type-specific details (routing/account numbers, IBAN, etc.)

country
string | null

ISO 3166-1 alpha-2 country code

Example:

"DE"