# Requires: npm i -g @infinite_dev/cli && export INFINITE_API_KEY=sk_sandbox_...
# Escape hatch for any endpoint: infinite api <METHOD> <path>
infinite api POST /v1/fixed-routes/virtual-bank-accounts \
--body '<request-json>'Create a virtual bank account fixed route.
# Infinite MCP is read-only for this endpoint — use a dedicated MCP tool when one exists, otherwise run the CLI tab.import requests
url = "https://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts"
payload = {
"customerId": "cus_abc123",
"sweepTargetAccountId": "ewa_abc123",
"correspondentBankName": "Bank of America",
"correspondentBankSwiftCode": "IRVTUS3NXXX",
"correspondentAccountNumber": "9876543210",
"braleAutomationId": "<string>",
"onrampSettlementInwAccountId": "<string>",
"onrampPayoutTreasuryInwAccountId": "inw_tron_tx",
"sourceRail": "ACH",
"sourceRails": ["ACH", "WIRE"],
"sourceCurrency": "USD",
"destinationRail": "BASE",
"destinationCurrency": "USDC",
"developerFeeFixed": "100000",
"developerFeePercent": 0.01,
"externalReference": "550e8400-e29b-41d4-a716-446655440000",
"metadata": { "nickname": "USD to Base deposits" },
"allowedSenderBanks": [
{
"bankName": "JPMorgan Chase",
"routingNumber": "021000021",
"swiftBic": "CHASUS33"
}
]
}
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({
customerId: 'cus_abc123',
sweepTargetAccountId: 'ewa_abc123',
correspondentBankName: 'Bank of America',
correspondentBankSwiftCode: 'IRVTUS3NXXX',
correspondentAccountNumber: '9876543210',
braleAutomationId: '<string>',
onrampSettlementInwAccountId: '<string>',
onrampPayoutTreasuryInwAccountId: 'inw_tron_tx',
sourceRail: 'ACH',
sourceRails: ['ACH', 'WIRE'],
sourceCurrency: 'USD',
destinationRail: 'BASE',
destinationCurrency: 'USDC',
developerFeeFixed: '100000',
developerFeePercent: 0.01,
externalReference: '550e8400-e29b-41d4-a716-446655440000',
metadata: {nickname: 'USD to Base deposits'},
allowedSenderBanks: [{bankName: 'JPMorgan Chase', routingNumber: '021000021', swiftBic: 'CHASUS33'}]
})
};
fetch('https://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts', 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://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts",
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([
'customerId' => 'cus_abc123',
'sweepTargetAccountId' => 'ewa_abc123',
'correspondentBankName' => 'Bank of America',
'correspondentBankSwiftCode' => 'IRVTUS3NXXX',
'correspondentAccountNumber' => '9876543210',
'braleAutomationId' => '<string>',
'onrampSettlementInwAccountId' => '<string>',
'onrampPayoutTreasuryInwAccountId' => 'inw_tron_tx',
'sourceRail' => 'ACH',
'sourceRails' => [
'ACH',
'WIRE'
],
'sourceCurrency' => 'USD',
'destinationRail' => 'BASE',
'destinationCurrency' => 'USDC',
'developerFeeFixed' => '100000',
'developerFeePercent' => 0.01,
'externalReference' => '550e8400-e29b-41d4-a716-446655440000',
'metadata' => [
'nickname' => 'USD to Base deposits'
],
'allowedSenderBanks' => [
[
'bankName' => 'JPMorgan Chase',
'routingNumber' => '021000021',
'swiftBic' => 'CHASUS33'
]
]
]),
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://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts"
payload := strings.NewReader("{\n \"customerId\": \"cus_abc123\",\n \"sweepTargetAccountId\": \"ewa_abc123\",\n \"correspondentBankName\": \"Bank of America\",\n \"correspondentBankSwiftCode\": \"IRVTUS3NXXX\",\n \"correspondentAccountNumber\": \"9876543210\",\n \"braleAutomationId\": \"<string>\",\n \"onrampSettlementInwAccountId\": \"<string>\",\n \"onrampPayoutTreasuryInwAccountId\": \"inw_tron_tx\",\n \"sourceRail\": \"ACH\",\n \"sourceRails\": [\n \"ACH\",\n \"WIRE\"\n ],\n \"sourceCurrency\": \"USD\",\n \"destinationRail\": \"BASE\",\n \"destinationCurrency\": \"USDC\",\n \"developerFeeFixed\": \"100000\",\n \"developerFeePercent\": 0.01,\n \"externalReference\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"metadata\": {\n \"nickname\": \"USD to Base deposits\"\n },\n \"allowedSenderBanks\": [\n {\n \"bankName\": \"JPMorgan Chase\",\n \"routingNumber\": \"021000021\",\n \"swiftBic\": \"CHASUS33\"\n }\n ]\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://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"customerId\": \"cus_abc123\",\n \"sweepTargetAccountId\": \"ewa_abc123\",\n \"correspondentBankName\": \"Bank of America\",\n \"correspondentBankSwiftCode\": \"IRVTUS3NXXX\",\n \"correspondentAccountNumber\": \"9876543210\",\n \"braleAutomationId\": \"<string>\",\n \"onrampSettlementInwAccountId\": \"<string>\",\n \"onrampPayoutTreasuryInwAccountId\": \"inw_tron_tx\",\n \"sourceRail\": \"ACH\",\n \"sourceRails\": [\n \"ACH\",\n \"WIRE\"\n ],\n \"sourceCurrency\": \"USD\",\n \"destinationRail\": \"BASE\",\n \"destinationCurrency\": \"USDC\",\n \"developerFeeFixed\": \"100000\",\n \"developerFeePercent\": 0.01,\n \"externalReference\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"metadata\": {\n \"nickname\": \"USD to Base deposits\"\n },\n \"allowedSenderBanks\": [\n {\n \"bankName\": \"JPMorgan Chase\",\n \"routingNumber\": \"021000021\",\n \"swiftBic\": \"CHASUS33\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts")
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 \"customerId\": \"cus_abc123\",\n \"sweepTargetAccountId\": \"ewa_abc123\",\n \"correspondentBankName\": \"Bank of America\",\n \"correspondentBankSwiftCode\": \"IRVTUS3NXXX\",\n \"correspondentAccountNumber\": \"9876543210\",\n \"braleAutomationId\": \"<string>\",\n \"onrampSettlementInwAccountId\": \"<string>\",\n \"onrampPayoutTreasuryInwAccountId\": \"inw_tron_tx\",\n \"sourceRail\": \"ACH\",\n \"sourceRails\": [\n \"ACH\",\n \"WIRE\"\n ],\n \"sourceCurrency\": \"USD\",\n \"destinationRail\": \"BASE\",\n \"destinationCurrency\": \"USDC\",\n \"developerFeeFixed\": \"100000\",\n \"developerFeePercent\": 0.01,\n \"externalReference\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"metadata\": {\n \"nickname\": \"USD to Base deposits\"\n },\n \"allowedSenderBanks\": [\n {\n \"bankName\": \"JPMorgan Chase\",\n \"routingNumber\": \"021000021\",\n \"swiftBic\": \"CHASUS33\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "vba_abc123",
"customerId": "cus_abc123",
"type": "FIAT_TO_CRYPTO",
"status": "ACTIVE",
"enabled": true,
"sourceAccount": {
"id": "vba_abc123",
"type": "VIRTUAL_BANK",
"metadata": {
"nickname": "Main Checking Account",
"purpose": "Business operations",
"tags": [
"primary",
"operations"
]
},
"depositInstructions": {
"accountNumber": "1234567890",
"bankName": "JPMorgan Chase Bank",
"bankAddress": {
"addressLine1": "123 Main Street",
"addressLine2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postalCode": "94102",
"country": "US"
},
"routingNumber": "021000021",
"iban": "GB82WEST12345698765432",
"swiftBic": "CHASUS33",
"bankCountryCode": "US",
"reference": "REF-123456",
"depositMessage": "INV-2026-0001",
"beneficiaryName": "John Doe",
"beneficiaryAddress": {
"addressLine1": "123 Main Street",
"addressLine2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postalCode": "94102",
"country": "US"
}
},
"sourceCurrency": "USD",
"sourceRail": "ACH",
"sourceRails": [
"ACH",
"WIRE"
],
"walletAddress": "0x742d35Cc6529Cf6c6D06E4C8a4c07583F5C6C2d8",
"addressType": "EVM",
"chains": [
"ETHEREUM",
"BASE"
],
"walletType": "TREASURY"
},
"sweepTargetAccountId": "ewa_abc123",
"sharesBalanceAccountCoordinates": false,
"payinCloseable": false,
"payinClosed": false,
"sourceClosed": false,
"canReenable": true,
"depositsForwardWhileDisabled": false,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"depositMatching": "DEDICATED",
"metadata": {
"nickname": "Main Checking Account",
"purpose": "Business operations",
"tags": [
"primary",
"operations"
]
},
"destinationCurrency": "USDC",
"destinationRail": "BASE",
"previousSweepTargetAccountId": "ewa_previous",
"previousDestinationRail": "ETHEREUM",
"previousDestinationCurrency": "USDT",
"sweepTargetAccount": {
"id": "ewa_abc123",
"type": "EXTERNAL_WALLET",
"isThirdParty": false,
"metadata": {
"nickname": "Main Checking Account",
"purpose": "Business operations",
"tags": [
"primary",
"operations"
]
},
"walletAddress": "0x742d35Cc6529Cf6c6D06E4C8a4c07583F5C6C2d8",
"addressType": "EVM",
"chains": [
"ETHEREUM",
"BASE"
],
"accountNumber": "****7890",
"routingNumber": "021000021",
"bankName": "Bank of America"
},
"developerFeeFixed": "100000",
"developerFeePercent": 0.01,
"refundAccountId": "inw_abc123",
"correspondentBank": {
"name": "<string>",
"swiftCode": "IRVTUS3NXXX",
"accountNumber": "9876543210"
},
"allowedSenderBanks": [
{
"bankName": "JPMorgan Chase",
"routingNumber": "021000021",
"swiftBic": "CHASUS33"
}
],
"documentIds": [
"<string>"
],
"minimumAmount": {
"currency": "USD",
"exponent": 2,
"value": "12345",
"displayValue": "123.45"
}
}Create a virtual bank account fixed route
Creates a virtual bank account that automatically sweeps fiat deposits. Route type (FIAT_TO_CRYPTO, FIAT_TO_FIAT, or FIAT_TO_CRYPTO_TO_FIAT) is inferred from the sweep target account type. Set depositMatching to DEDICATED for a unique account number, or REFERENCE for a shared account number plus a payment reference. Use the Idempotency-Key header to safely retry on network failure.
# Requires: npm i -g @infinite_dev/cli && export INFINITE_API_KEY=sk_sandbox_...
# Escape hatch for any endpoint: infinite api <METHOD> <path>
infinite api POST /v1/fixed-routes/virtual-bank-accounts \
--body '<request-json>'Create a virtual bank account fixed route.
# Infinite MCP is read-only for this endpoint — use a dedicated MCP tool when one exists, otherwise run the CLI tab.import requests
url = "https://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts"
payload = {
"customerId": "cus_abc123",
"sweepTargetAccountId": "ewa_abc123",
"correspondentBankName": "Bank of America",
"correspondentBankSwiftCode": "IRVTUS3NXXX",
"correspondentAccountNumber": "9876543210",
"braleAutomationId": "<string>",
"onrampSettlementInwAccountId": "<string>",
"onrampPayoutTreasuryInwAccountId": "inw_tron_tx",
"sourceRail": "ACH",
"sourceRails": ["ACH", "WIRE"],
"sourceCurrency": "USD",
"destinationRail": "BASE",
"destinationCurrency": "USDC",
"developerFeeFixed": "100000",
"developerFeePercent": 0.01,
"externalReference": "550e8400-e29b-41d4-a716-446655440000",
"metadata": { "nickname": "USD to Base deposits" },
"allowedSenderBanks": [
{
"bankName": "JPMorgan Chase",
"routingNumber": "021000021",
"swiftBic": "CHASUS33"
}
]
}
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({
customerId: 'cus_abc123',
sweepTargetAccountId: 'ewa_abc123',
correspondentBankName: 'Bank of America',
correspondentBankSwiftCode: 'IRVTUS3NXXX',
correspondentAccountNumber: '9876543210',
braleAutomationId: '<string>',
onrampSettlementInwAccountId: '<string>',
onrampPayoutTreasuryInwAccountId: 'inw_tron_tx',
sourceRail: 'ACH',
sourceRails: ['ACH', 'WIRE'],
sourceCurrency: 'USD',
destinationRail: 'BASE',
destinationCurrency: 'USDC',
developerFeeFixed: '100000',
developerFeePercent: 0.01,
externalReference: '550e8400-e29b-41d4-a716-446655440000',
metadata: {nickname: 'USD to Base deposits'},
allowedSenderBanks: [{bankName: 'JPMorgan Chase', routingNumber: '021000021', swiftBic: 'CHASUS33'}]
})
};
fetch('https://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts', 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://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts",
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([
'customerId' => 'cus_abc123',
'sweepTargetAccountId' => 'ewa_abc123',
'correspondentBankName' => 'Bank of America',
'correspondentBankSwiftCode' => 'IRVTUS3NXXX',
'correspondentAccountNumber' => '9876543210',
'braleAutomationId' => '<string>',
'onrampSettlementInwAccountId' => '<string>',
'onrampPayoutTreasuryInwAccountId' => 'inw_tron_tx',
'sourceRail' => 'ACH',
'sourceRails' => [
'ACH',
'WIRE'
],
'sourceCurrency' => 'USD',
'destinationRail' => 'BASE',
'destinationCurrency' => 'USDC',
'developerFeeFixed' => '100000',
'developerFeePercent' => 0.01,
'externalReference' => '550e8400-e29b-41d4-a716-446655440000',
'metadata' => [
'nickname' => 'USD to Base deposits'
],
'allowedSenderBanks' => [
[
'bankName' => 'JPMorgan Chase',
'routingNumber' => '021000021',
'swiftBic' => 'CHASUS33'
]
]
]),
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://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts"
payload := strings.NewReader("{\n \"customerId\": \"cus_abc123\",\n \"sweepTargetAccountId\": \"ewa_abc123\",\n \"correspondentBankName\": \"Bank of America\",\n \"correspondentBankSwiftCode\": \"IRVTUS3NXXX\",\n \"correspondentAccountNumber\": \"9876543210\",\n \"braleAutomationId\": \"<string>\",\n \"onrampSettlementInwAccountId\": \"<string>\",\n \"onrampPayoutTreasuryInwAccountId\": \"inw_tron_tx\",\n \"sourceRail\": \"ACH\",\n \"sourceRails\": [\n \"ACH\",\n \"WIRE\"\n ],\n \"sourceCurrency\": \"USD\",\n \"destinationRail\": \"BASE\",\n \"destinationCurrency\": \"USDC\",\n \"developerFeeFixed\": \"100000\",\n \"developerFeePercent\": 0.01,\n \"externalReference\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"metadata\": {\n \"nickname\": \"USD to Base deposits\"\n },\n \"allowedSenderBanks\": [\n {\n \"bankName\": \"JPMorgan Chase\",\n \"routingNumber\": \"021000021\",\n \"swiftBic\": \"CHASUS33\"\n }\n ]\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://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"customerId\": \"cus_abc123\",\n \"sweepTargetAccountId\": \"ewa_abc123\",\n \"correspondentBankName\": \"Bank of America\",\n \"correspondentBankSwiftCode\": \"IRVTUS3NXXX\",\n \"correspondentAccountNumber\": \"9876543210\",\n \"braleAutomationId\": \"<string>\",\n \"onrampSettlementInwAccountId\": \"<string>\",\n \"onrampPayoutTreasuryInwAccountId\": \"inw_tron_tx\",\n \"sourceRail\": \"ACH\",\n \"sourceRails\": [\n \"ACH\",\n \"WIRE\"\n ],\n \"sourceCurrency\": \"USD\",\n \"destinationRail\": \"BASE\",\n \"destinationCurrency\": \"USDC\",\n \"developerFeeFixed\": \"100000\",\n \"developerFeePercent\": 0.01,\n \"externalReference\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"metadata\": {\n \"nickname\": \"USD to Base deposits\"\n },\n \"allowedSenderBanks\": [\n {\n \"bankName\": \"JPMorgan Chase\",\n \"routingNumber\": \"021000021\",\n \"swiftBic\": \"CHASUS33\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://sandbox.api.infinite.dev/v1/fixed-routes/virtual-bank-accounts")
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 \"customerId\": \"cus_abc123\",\n \"sweepTargetAccountId\": \"ewa_abc123\",\n \"correspondentBankName\": \"Bank of America\",\n \"correspondentBankSwiftCode\": \"IRVTUS3NXXX\",\n \"correspondentAccountNumber\": \"9876543210\",\n \"braleAutomationId\": \"<string>\",\n \"onrampSettlementInwAccountId\": \"<string>\",\n \"onrampPayoutTreasuryInwAccountId\": \"inw_tron_tx\",\n \"sourceRail\": \"ACH\",\n \"sourceRails\": [\n \"ACH\",\n \"WIRE\"\n ],\n \"sourceCurrency\": \"USD\",\n \"destinationRail\": \"BASE\",\n \"destinationCurrency\": \"USDC\",\n \"developerFeeFixed\": \"100000\",\n \"developerFeePercent\": 0.01,\n \"externalReference\": \"550e8400-e29b-41d4-a716-446655440000\",\n \"metadata\": {\n \"nickname\": \"USD to Base deposits\"\n },\n \"allowedSenderBanks\": [\n {\n \"bankName\": \"JPMorgan Chase\",\n \"routingNumber\": \"021000021\",\n \"swiftBic\": \"CHASUS33\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"id": "vba_abc123",
"customerId": "cus_abc123",
"type": "FIAT_TO_CRYPTO",
"status": "ACTIVE",
"enabled": true,
"sourceAccount": {
"id": "vba_abc123",
"type": "VIRTUAL_BANK",
"metadata": {
"nickname": "Main Checking Account",
"purpose": "Business operations",
"tags": [
"primary",
"operations"
]
},
"depositInstructions": {
"accountNumber": "1234567890",
"bankName": "JPMorgan Chase Bank",
"bankAddress": {
"addressLine1": "123 Main Street",
"addressLine2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postalCode": "94102",
"country": "US"
},
"routingNumber": "021000021",
"iban": "GB82WEST12345698765432",
"swiftBic": "CHASUS33",
"bankCountryCode": "US",
"reference": "REF-123456",
"depositMessage": "INV-2026-0001",
"beneficiaryName": "John Doe",
"beneficiaryAddress": {
"addressLine1": "123 Main Street",
"addressLine2": "Apt 4B",
"city": "San Francisco",
"state": "CA",
"postalCode": "94102",
"country": "US"
}
},
"sourceCurrency": "USD",
"sourceRail": "ACH",
"sourceRails": [
"ACH",
"WIRE"
],
"walletAddress": "0x742d35Cc6529Cf6c6D06E4C8a4c07583F5C6C2d8",
"addressType": "EVM",
"chains": [
"ETHEREUM",
"BASE"
],
"walletType": "TREASURY"
},
"sweepTargetAccountId": "ewa_abc123",
"sharesBalanceAccountCoordinates": false,
"payinCloseable": false,
"payinClosed": false,
"sourceClosed": false,
"canReenable": true,
"depositsForwardWhileDisabled": false,
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"depositMatching": "DEDICATED",
"metadata": {
"nickname": "Main Checking Account",
"purpose": "Business operations",
"tags": [
"primary",
"operations"
]
},
"destinationCurrency": "USDC",
"destinationRail": "BASE",
"previousSweepTargetAccountId": "ewa_previous",
"previousDestinationRail": "ETHEREUM",
"previousDestinationCurrency": "USDT",
"sweepTargetAccount": {
"id": "ewa_abc123",
"type": "EXTERNAL_WALLET",
"isThirdParty": false,
"metadata": {
"nickname": "Main Checking Account",
"purpose": "Business operations",
"tags": [
"primary",
"operations"
]
},
"walletAddress": "0x742d35Cc6529Cf6c6D06E4C8a4c07583F5C6C2d8",
"addressType": "EVM",
"chains": [
"ETHEREUM",
"BASE"
],
"accountNumber": "****7890",
"routingNumber": "021000021",
"bankName": "Bank of America"
},
"developerFeeFixed": "100000",
"developerFeePercent": 0.01,
"refundAccountId": "inw_abc123",
"correspondentBank": {
"name": "<string>",
"swiftCode": "IRVTUS3NXXX",
"accountNumber": "9876543210"
},
"allowedSenderBanks": [
{
"bankName": "JPMorgan Chase",
"routingNumber": "021000021",
"swiftBic": "CHASUS33"
}
],
"documentIds": [
"<string>"
],
"minimumAmount": {
"currency": "USD",
"exponent": 2,
"value": "12345",
"displayValue": "123.45"
}
}Headers
Body
Sweep / destination account id; the route type is inferred from it. A crypto wallet, or an ACTIVE provider-balance account (USDT on Ethereum) when the organization is enabled for provider-balance onramps, gives FIAT_TO_CRYPTO (developer fees are not supported on a provider-balance target). The customer's own fiat balance account gives FIAT_TO_FIAT: the deposit settles into that balance in the same currency with no crypto leg, and destinationRail becomes BALANCE. That requires the pay-in and the balance to be on the same provider holding the fiat on dedicated coordinates, and rejects developer fees. An external bank account gives the FIAT_TO_CRYPTO_TO_FIAT sandwich.
"ewa_abc123"
Source rail - payment rail for incoming deposits
ACH, ACH_SAME_DAY, WIRE, FED_NOW, RTP, EREBOR, EREBOR_RAIL, BALANCE, SWIFT, SEPA, SEPA_INSTANT, TIPS, FASTER_PAYMENTS, BACS, CHAPS, ELIXIR, NICS, EFT, INTERAC, NPP, BECS, UPI, IMPS, IMPS_WITH_FIRC, NEFT, RTGS, BI_FAST, ARTAJASA, PIX, TED, TEF, SPEI, COELSA, SINPE, CNAPS, CIPS, CFXPS, CHATS, ZENGIN, KFTC, FAST_SG, MEPS, DUITNOW, PROMPTPAY, INSTAPAY, PESONET, NAPAS, BEFTN, SLIPS, ZAHAV, GHIPSS, NIBSS, PESALINK, RTC_ZA, TZS_RTGS, EGP_ACH, JOD_ACH, NPSS, MADA, QPS, DOP_ACH, GTQ_ACH, HNL_ACH, PEN_ACH, JMD_ACH, USD_ACH_SV, USD_ACH_EC, CLP_TEF, PSE, COP_ACH, BOB_RTGS, PYG_ACH, CERTIS, DKK_TIPS, SENT, NKS, BANKGIROT, HKD_FPS, IBFT, TRY_FAST, ETHEREUM, BASE, POLYGON, SOLANA, TRON, BITCOIN, ARBITRUM "ACH"
Optional list of inbound rails for a USD bank pay-in deposit account. Omit to accept ACH and wire. SWIFT is included only when listed. When sourceRail is sent instead, it is treated as a one-element list. Crypto deposit routes still use a single sourceRail.
ACH, ACH_SAME_DAY, WIRE, FED_NOW, RTP, EREBOR, EREBOR_RAIL, BALANCE, SWIFT, SEPA, SEPA_INSTANT, TIPS, FASTER_PAYMENTS, BACS, CHAPS, ELIXIR, NICS, EFT, INTERAC, NPP, BECS, UPI, IMPS, IMPS_WITH_FIRC, NEFT, RTGS, BI_FAST, ARTAJASA, PIX, TED, TEF, SPEI, COELSA, SINPE, CNAPS, CIPS, CFXPS, CHATS, ZENGIN, KFTC, FAST_SG, MEPS, DUITNOW, PROMPTPAY, INSTAPAY, PESONET, NAPAS, BEFTN, SLIPS, ZAHAV, GHIPSS, NIBSS, PESALINK, RTC_ZA, TZS_RTGS, EGP_ACH, JOD_ACH, NPSS, MADA, QPS, DOP_ACH, GTQ_ACH, HNL_ACH, PEN_ACH, JMD_ACH, USD_ACH_SV, USD_ACH_EC, CLP_TEF, PSE, COP_ACH, BOB_RTGS, PYG_ACH, CERTIS, DKK_TIPS, SENT, NKS, BANKGIROT, HKD_FPS, IBFT, TRY_FAST, ETHEREUM, BASE, POLYGON, SOLANA, TRON, BITCOIN, ARBITRUM ["ACH", "WIRE"]
How incoming payments are matched to this deposit account. DEDICATED issues a unique account number and the sender does not include a payment reference. REFERENCE uses a shared account number and the sender must include sourceAccount.depositInstructions.reference on the payment (wire memo or ACH addenda). Omit to keep the default for the requested rails. USD ACH, wire, and SWIFT bank pay-ins only.
DEDICATED, REFERENCE Destination rail - chain/network for crypto sweep
ACH, ACH_SAME_DAY, WIRE, FED_NOW, RTP, EREBOR, EREBOR_RAIL, BALANCE, SWIFT, SEPA, SEPA_INSTANT, TIPS, FASTER_PAYMENTS, BACS, CHAPS, ELIXIR, NICS, EFT, INTERAC, NPP, BECS, UPI, IMPS, IMPS_WITH_FIRC, NEFT, RTGS, BI_FAST, ARTAJASA, PIX, TED, TEF, SPEI, COELSA, SINPE, CNAPS, CIPS, CFXPS, CHATS, ZENGIN, KFTC, FAST_SG, MEPS, DUITNOW, PROMPTPAY, INSTAPAY, PESONET, NAPAS, BEFTN, SLIPS, ZAHAV, GHIPSS, NIBSS, PESALINK, RTC_ZA, TZS_RTGS, EGP_ACH, JOD_ACH, NPSS, MADA, QPS, DOP_ACH, GTQ_ACH, HNL_ACH, PEN_ACH, JMD_ACH, USD_ACH_SV, USD_ACH_EC, CLP_TEF, PSE, COP_ACH, BOB_RTGS, PYG_ACH, CERTIS, DKK_TIPS, SENT, NKS, BANKGIROT, HKD_FPS, IBFT, TRY_FAST, ETHEREUM, BASE, POLYGON, SOLANA, TRON, BITCOIN, ARBITRUM "BASE"
Response
Fixed route created successfully
Whether this route's deposit coordinates are shared with a USD balance account. When true, the route and a balance account are mutually exclusive for the customer — one must be closed/disabled before the other can be created or re-enabled. Only bank pay-in routes on the balance-account provider qualify (ACH, WIRE, or SWIFT); crypto routes and payout routes are always false.
false
How incoming payments are matched to this deposit account. DEDICATED issues a unique account number and the sender does not include a payment reference. REFERENCE uses a shared account number and the sender must include sourceAccount.depositInstructions.reference on the payment (wire memo or ACH addenda). Omit to keep the default for the requested rails. USD ACH, wire, and SWIFT bank pay-ins only.
DEDICATED, REFERENCE Was this page helpful?