curl -X POST https://api.onconsul.com/v1/bank_accounts \
-H "Authorization: Basic base64($CONSUL_API_KEY)" \
-H "Content-Type: application/json" \
-d '{
"name": "Acme Corp Operating",
"currency": "USD",
"payment_rail": "usd_fedwire",
"usd_domestic_wire": {
"account_number": "123456789",
"routing_number": "021000021",
"bank_account_type": "checking",
"bank_account_holder_type": "business",
"owner_business_name": "Acme Corp",
"owner_address": {
"line1": "123 Main St",
"city": "New York",
"state": "NY",
"postal_code": "10001",
"country": "US"
}
}
}'