Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.onconsul.com/llms.txt

Use this file to discover all available pages before exploring further.

Bank accounts are used to deposit fiat into your Consul balance and to receive withdrawals. Each bank account is tied to a specific currency and payment rail. Use the Create a Bank Account endpoint to link one. The required fields depend on the currency and rail. Select your currency below for the full schema and a working example.
Payment rail: usd_fedwire
FieldRequiredDescription
account_numberYesBank account number
routing_numberYesABA routing number
bank_account_typeYeschecking or savings
bank_account_holder_typeYesbusiness or individual
owner_addressYesAccount holder’s address
owner_first_nameIf individualAccount holder’s first name
owner_last_nameIf individualAccount holder’s last name
owner_business_nameIf businessBusiness name on the account
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"
      }
    }
  }'