curl --request POST \
--url https://business.madhousewallet.com/api/payouts/transfer/v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"quote_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"wallet_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"amount": 500,
"recipientId": 12345678,
"source_token": "usdc",
"source_network": "base",
"customer_uuid": "550e8400-e29b-41d4-a716-446655440000",
"customer_email": "customer@example.com"
}
'import requests
url = "https://business.madhousewallet.com/api/payouts/transfer/v2"
payload = {
"quote_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"wallet_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"amount": 500,
"recipientId": 12345678,
"source_token": "usdc",
"source_network": "base",
"customer_uuid": "550e8400-e29b-41d4-a716-446655440000",
"customer_email": "customer@example.com"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
quote_id: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
wallet_address: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B',
amount: 500,
recipientId: 12345678,
source_token: 'usdc',
source_network: 'base',
customer_uuid: '550e8400-e29b-41d4-a716-446655440000',
customer_email: 'customer@example.com'
})
};
fetch('https://business.madhousewallet.com/api/payouts/transfer/v2', 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/transfer/v2",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'quote_id' => 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
'wallet_address' => '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B',
'amount' => 500,
'recipientId' => 12345678,
'source_token' => 'usdc',
'source_network' => 'base',
'customer_uuid' => '550e8400-e29b-41d4-a716-446655440000',
'customer_email' => 'customer@example.com'
]),
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/transfer/v2"
payload := strings.NewReader("{\n \"quote_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"wallet_address\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"amount\": 500,\n \"recipientId\": 12345678,\n \"source_token\": \"usdc\",\n \"source_network\": \"base\",\n \"customer_uuid\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"customer_email\": \"customer@example.com\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://business.madhousewallet.com/api/payouts/transfer/v2")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"quote_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"wallet_address\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"amount\": 500,\n \"recipientId\": 12345678,\n \"source_token\": \"usdc\",\n \"source_network\": \"base\",\n \"customer_uuid\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"customer_email\": \"customer@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://business.madhousewallet.com/api/payouts/transfer/v2")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"quote_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"wallet_address\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"amount\": 500,\n \"recipientId\": 12345678,\n \"source_token\": \"usdc\",\n \"source_network\": \"base\",\n \"customer_uuid\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"customer_email\": \"customer@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"transfer_id": "507f1f77bcf86cd799439011",
"deposit_address": "0xBC91bCF38e3c0DE1E3fD0cF50Be7c0e52D55D00e",
"source_token": "usdc",
"source_network": "base",
"amount": 500,
"currency": "EUR",
"wallet_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"instructions": {
"send_amount": 500,
"send_token": "USDC",
"send_network": "base",
"deposit_address": "0xBC91bCF38e3c0DE1E3fD0cF50Be7c0e52D55D00e",
"note": "Send exactly 500 USDC on base to deposit_address, then call POST /api/payouts/transfer/v2/confirm-transfer with transfer_id and tx_hash to trigger the payout pipeline."
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Create a v2 transfer
Creates a v2 payout transfer and returns a hardcoded deposit address for the requested source_token/source_network combination. Unlike v1, the deposit address is fixed — no provider API call is made at initiation time.
v2 differences from v1:
- USDC only — USDT transfers must use
POST /api/payouts/transfer. - No expiry — there is no time window to send funds. The transfer remains open until you send USDC and call
POST /api/payouts/transfer/v2/confirm-transfer. - Two-phase confirmation — after sending USDC on-chain, you must call
POST /api/payouts/transfer/v2/confirm-transferwith thetransfer_idandtx_hashto trigger the payout pipeline. The platform matches the deposit to your transfer using the provided transaction hash.
Wallet compliance screening (conditional, per-account): when compliance screening is enabled for your account (the default), wallet_address is required, must be an EVM address (0x + 40 hex chars), and is screened before any other processing. A wallet that fails screening is rejected with 403. When screening is disabled for your account, wallet_address stays KYC-conditional (see below) and Solana addresses are accepted.
KYC wallet verification (conditional, per-account): if your account requires KYC verification, wallet_address is required and must be a KYC-verified wallet or the request is rejected with 403 (verify at kyc.madhousewallet.com); if KYC is not enabled for your account, wallet_address may be omitted (unless compliance screening requires it).
Workflow:
GET /api/payouts/quote→ savequoteId.POST /api/payouts/transfer/v2withquote_id,amount,recipientId,source_network(andwallet_address— required if compliance screening or KYC is enabled for your account) → receivedeposit_addressandtransfer_id.- Send exactly
amountUSDC todeposit_addressonsource_network. - Call
POST /api/payouts/transfer/v2/confirm-transferwithtransfer_idand the on-chaintx_hash. - The platform detects the deposit and automatically initiates the fiat payout — email confirmation sent.
Supported networks for v2 (USDC only): base, solana, polygon, arbitrum, avalanche, ethereum.
Rate limit: 20 requests/minute.
curl --request POST \
--url https://business.madhousewallet.com/api/payouts/transfer/v2 \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"quote_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"wallet_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"amount": 500,
"recipientId": 12345678,
"source_token": "usdc",
"source_network": "base",
"customer_uuid": "550e8400-e29b-41d4-a716-446655440000",
"customer_email": "customer@example.com"
}
'import requests
url = "https://business.madhousewallet.com/api/payouts/transfer/v2"
payload = {
"quote_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"wallet_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"amount": 500,
"recipientId": 12345678,
"source_token": "usdc",
"source_network": "base",
"customer_uuid": "550e8400-e29b-41d4-a716-446655440000",
"customer_email": "customer@example.com"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
quote_id: 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
wallet_address: '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B',
amount: 500,
recipientId: 12345678,
source_token: 'usdc',
source_network: 'base',
customer_uuid: '550e8400-e29b-41d4-a716-446655440000',
customer_email: 'customer@example.com'
})
};
fetch('https://business.madhousewallet.com/api/payouts/transfer/v2', 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/transfer/v2",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'quote_id' => 'a1b2c3d4-e5f6-7890-abcd-ef1234567890',
'wallet_address' => '0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B',
'amount' => 500,
'recipientId' => 12345678,
'source_token' => 'usdc',
'source_network' => 'base',
'customer_uuid' => '550e8400-e29b-41d4-a716-446655440000',
'customer_email' => 'customer@example.com'
]),
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/transfer/v2"
payload := strings.NewReader("{\n \"quote_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"wallet_address\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"amount\": 500,\n \"recipientId\": 12345678,\n \"source_token\": \"usdc\",\n \"source_network\": \"base\",\n \"customer_uuid\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"customer_email\": \"customer@example.com\"\n}")
req, _ := http.NewRequest("POST", 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.post("https://business.madhousewallet.com/api/payouts/transfer/v2")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"quote_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"wallet_address\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"amount\": 500,\n \"recipientId\": 12345678,\n \"source_token\": \"usdc\",\n \"source_network\": \"base\",\n \"customer_uuid\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"customer_email\": \"customer@example.com\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://business.madhousewallet.com/api/payouts/transfer/v2")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"quote_id\": \"a1b2c3d4-e5f6-7890-abcd-ef1234567890\",\n \"wallet_address\": \"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B\",\n \"amount\": 500,\n \"recipientId\": 12345678,\n \"source_token\": \"usdc\",\n \"source_network\": \"base\",\n \"customer_uuid\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"customer_email\": \"customer@example.com\"\n}"
response = http.request(request)
puts response.read_body{
"transfer_id": "507f1f77bcf86cd799439011",
"deposit_address": "0xBC91bCF38e3c0DE1E3fD0cF50Be7c0e52D55D00e",
"source_token": "usdc",
"source_network": "base",
"amount": 500,
"currency": "EUR",
"wallet_address": "0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B",
"instructions": {
"send_amount": 500,
"send_token": "USDC",
"send_network": "base",
"deposit_address": "0xBC91bCF38e3c0DE1E3fD0cF50Be7c0e52D55D00e",
"note": "Send exactly 500 USDC on base to deposit_address, then call POST /api/payouts/transfer/v2/confirm-transfer with transfer_id and tx_hash to trigger the payout pipeline."
}
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
Body
The address on source_network that will send USDC to the deposit address. Conditionally required: required if compliance screening or KYC verification is enabled for your account; may be omitted otherwise (stored and returned as an empty string). When compliance screening is enabled (the default), it must be an EVM address (0x + 40 hex chars) and is screened before processing — Solana addresses are rejected. When screening is disabled, both EVM (0x + 40 hex chars) and Solana (base58, 32–44 chars) addresses are accepted; if KYC is enabled it must be a KYC-verified wallet.
"0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B"
Response
Transfer created — deposit address returned
