ACH Bank Details

Activate the USD account and receive ACH, Fedwire and FedNow transfers.

Before You Start

Read the following guides before proceeding:

GuideWhy
Getting StartedPlatform overview and setup
Api BasicsRequired headers and request configuration
AuthenticationHow to obtain access tokens
OnboardingUser and wallet registration
KYCKYC verification requirements
Hosted KYCThe verification token and link endpoints used to raise the user to XDDBridgeBase
RecipientsRecipient management

Overview

Users residing in supported countries can receive USD transfers via ACH. Incoming ACH transfers are automatically converted to the user's unified balance (WUSD).

The same USD account also carries Fedwire and FedNow details, so the user receives domestic wires and
instant payments with the same account and routing numbers — see
Fedwire and FedNow Details.

ACH accounts are issued through an external provider, Bridge, and need more than SEPA:
the user completes an additional verification level, XDDBridgeBase, on top of SDD, and Wirex registers
the user with Bridge before the account can be activated.


Activation Flow

sequenceDiagram
    participant User as User
    participant App as Your App
    participant BaaS as Wirex BaaS
    participant KYC as SumSub

    App->>BaaS: 1. GET /api/v2/user
    BaaS-->>App: AchAccount NotFulfilled, verification_requirements
    App->>BaaS: 2. POST /api/v1/user/verification-token (verification_level XDDBridgeBase)
    BaaS-->>App: token
    App->>KYC: 3. open SumSub with the token
    User->>KYC: complete XDDBridgeBase verification
    loop 4. until AchAccount leaves ExternalProviderRegistrationPending
        App->>BaaS: GET /api/v2/user
    end
    App->>BaaS: 5. POST /api/v1/bank/accounts (account_type Ach)
    BaaS-->>App: details_id
StepActionProducesConsumed by
1GET /api/v2/userAchAccount status and the levels in verification_requirementsSteps 2 and 5
2POST /api/v1/user/verification-token or /verification-link with verification_level: XDDBridgeBaseSumSub token or URLStep 3
3User completes the SumSub flowXDDBridgeBase level approvedStep 4
4Poll GET /api/v2/userAchAccount reaches ActivationNotStartedStep 5
5POST /api/v1/bank/accounts with account_type: Achdetails_idGet Bank Accounts

Prerequisite: the user must hold SDD before starting XDDBridgeBase. Complete standard KYC first —
see KYC.


Step 1: Check the AchAccount Capability

GET /api/v2/user

The response includes the AchAccount capability with the verification levels it requires, in order:

{
  "capabilities": [
    {
      "type": "AchAccount",
      "provider": "Wirex",
      "verification_requirements": [
        { "type": "SDD", "order": 1 },
        { "type": "XDDBridgeBase", "order": 2 }
      ],
      "status": "NotFulfilled",
      "status_reason": "Verification requirements not fulfilled"
    }
  ]
}

Take the level to request from verification_requirements — the first entry, by order, the user does not
hold yet. Once SDD is in place, that is XDDBridgeBase.

Capability Status

The statuses below are evaluated in this order; the first that applies is returned.

Statusstatus_reasonMeaningNext step
NotAvailableCountry is not supportedACH is not offered in the user's country of residenceNone — see Bank Account Availability
NotFulfilledVerification requirements not fulfilledA level in verification_requirements is missingStep 2
ExternalProviderRegistrationPendingRegistration with the external provider is still pendingThe user is not yet registered and verified with BridgeStep 4
ActivationNotStarted—Ready to activateStep 5
InProgress—Activation requested, account being provisionedWait for the webhook
Active—ACH account is provisioned and ready to useGet Bank Accounts

Step 2: Request XDDBridgeBase Verification

Request a SumSub token (embedded SDK) or a hosted verification link for the XDDBridgeBase level. Both
endpoints take the same body:

POST /api/v1/user/verification-token
POST /api/v1/user/verification-link
FieldTypeRequiredDescription
verification_levelstringRequired for ACHXDDBridgeBase. Omitted, the level defaults to SDD

Trap: an omitted or unrecognised verification_level silently falls back to SDD. A user who already
holds SDD then sees a completed flow and never reaches XDDBridgeBase, and AchAccount stays
NotFulfilled. Always send "verification_level": "XDDBridgeBase" for ACH.

SDK: sdk.api.baas.user.getVerificationToken() and getVerificationLink() in
@wirexapp/wpay-baas-sdk send an empty body and cannot pass verification_level. Call the
REST endpoint directly for this step.

const response = await fetch(`${baseUrl}/api/v1/user/verification-token`, {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${accessToken}`,
    'X-User-Wallet': userEoaAddress,
    'X-Chain-Id': chainId,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({ verification_level: 'XDDBridgeBase' })
});
const { token } = await response.json();
response = requests.post(
    f"{base_url}/api/v1/user/verification-token",
    headers={
        "Authorization": f"Bearer {access_token}",
        "X-User-Wallet": user_eoa_address,
        "X-Chain-Id": chain_id,
        "Content-Type": "application/json"
    },
    json={"verification_level": "XDDBridgeBase"}
)
token = response.json()["token"]
body, _ := json.Marshal(map[string]string{"verification_level": "XDDBridgeBase"})
req, _ := http.NewRequest("POST", baseURL+"/api/v1/user/verification-token", bytes.NewBuffer(body))
req.Header.Set("Authorization", "Bearer "+accessToken)
req.Header.Set("X-User-Wallet", userEoaAddress)
req.Header.Set("X-Chain-Id", chainId)
req.Header.Set("Content-Type", "application/json")

resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()

var result struct {
    Token string `json:"token"`
}
json.NewDecoder(resp.Body).Decode(&result)

The responses are the same as for standard KYC — { "token": "..." } and { "redirect_uri": "..." }. See
Hosted KYC.


Step 3: User Completes Verification

Open SumSub with the token, or send the user to the link. The user completes the XDDBridgeBase flow, which
adds tax identification to the SDD data.


Step 4: Wait for Bridge Registration

After XDDBridgeBase is approved, Wirex registers the user with Bridge. Until that registration is verified,
AchAccount reports ExternalProviderRegistrationPending. Poll GET /api/v2/user until the status changes
to ActivationNotStarted.

Note: ExternalProviderRegistrationPending is a waiting state, not a failure. Do not call
POST /api/v1/bank/accounts while it holds — activation is accepted only in ActivationNotStarted and is
otherwise rejected with ErrorInvalidStatus (see Error Handling).


Step 5: Activate the ACH Account

When capability status is ActivationNotStarted, call this endpoint to provision the account. This call can
go through the SDK: sdk.api.baas.bank.activateAccount({ account_type: 'Ach' }).

POST /api/v1/bank/accounts

Request Body

FieldTypeRequiredDescription
account_typestringYesMust be Ach

Ach is the only US account type you activate. Fedwire and FedNow are added to the same USD
account by the Ach activation. Sending "account_type": "Fedwire" or "FedNow" is refused with
400 ErrorInvalidField and Invalid value for account type.

Code Examples

const response = await fetch(`${baseUrl}/api/v1/bank/accounts`, {
  method: 'POST',
  headers: {
    'Authorization': `Bearer ${accessToken}`,
    'X-User-Wallet': userEoaAddress,
    'X-Chain-Id': chainId,
    'Content-Type': 'application/json'
  },
  body: JSON.stringify({
    account_type: 'Ach'
  })
});

const result = await response.json();
console.log('Details ID:', result.details_id);
response = requests.post(
    f"{base_url}/api/v1/bank/accounts",
    headers={
        "Authorization": f"Bearer {access_token}",
        "X-User-Wallet": user_eoa_address,
        "X-Chain-Id": chain_id,
        "Content-Type": "application/json"
    },
    json={
        "account_type": "Ach"
    }
)

result = response.json()
print("Details ID:", result["details_id"])
body := map[string]string{
    "account_type": "Ach",
}

jsonBody, _ := json.Marshal(body)
req, _ := http.NewRequest("POST", baseURL+"/api/v1/bank/accounts", bytes.NewBuffer(jsonBody))
req.Header.Set("Authorization", "Bearer "+accessToken)
req.Header.Set("X-User-Wallet", userEoaAddress)
req.Header.Set("X-Chain-Id", chainId)
req.Header.Set("Content-Type", "application/json")

resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()

var result BankAccountActivateResponse
json.NewDecoder(resp.Body).Decode(&result)

Response

{
  "details_id": "8d5a65eb59d94afea64374d45591fe9f"
}

After activation, the capability status changes to InProgress. You will receive a webhook when the account is ready.


Get Bank Accounts

Retrieve the user's bank account details including ACH information.

GET /api/v1/bank/accounts

Query Parameters

ParameterTypeDescription
page_numberintegerPage number, 0-indexed (default: 0)
page_sizeintegerItems per page (default: 25)

Code Examples

const response = await fetch(`${baseUrl}/api/v1/bank/accounts`, {
  headers: {
    'Authorization': `Bearer ${accessToken}`,
    'X-User-Wallet': userEoaAddress,
    'X-Chain-Id': chainId
  }
});
const { data: accounts } = await response.json();

const achAccount = accounts.find(a => a.account_type === 'Ach');
if (achAccount) {
  console.log('Account Number:', achAccount.details.account_number);
  console.log('Routing Number:', achAccount.details.routing_number);
}
response = requests.get(
    f"{base_url}/api/v1/bank/accounts",
    headers={
        "Authorization": f"Bearer {access_token}",
        "X-User-Wallet": user_eoa_address,
        "X-Chain-Id": chain_id
    }
)
accounts = response.json()["data"]

ach_account = next((a for a in accounts if a["account_type"] == "Ach"), None)
if ach_account:
    print("Account Number:", ach_account["details"]["account_number"])
    print("Routing Number:", ach_account["details"]["routing_number"])
req, _ := http.NewRequest("GET", baseURL+"/api/v1/bank/accounts", nil)
req.Header.Set("Authorization", "Bearer "+accessToken)
req.Header.Set("X-User-Wallet", userEoaAddress)
req.Header.Set("X-Chain-Id", chainId)

resp, _ := http.DefaultClient.Do(req)
defer resp.Body.Close()

var result struct {
    Accounts []BankAccountResponse `json:"data"`
}
json.NewDecoder(resp.Body).Decode(&result)

for _, account := range result.Accounts {
    if account.AccountType == "Ach" {
        fmt.Println("Account Number:", account.Details.AccountNumber)
        fmt.Println("Routing Number:", account.Details.RoutingNumber)
    }
}

Response

{
  "data": [
    {
      "id": "1334726cbd7641c09b4124e3e52f53fe:8d5a65eb59d94afea64374d45591fe9f",
      "currency": "USD",
      "status": "Active",
      "account_holder": "Alex Grey",
      "account_type": "Ach",
      "details": {
        "account_number": "8310931284",
        "routing_number": "026073150"
      }
    }
  ]
}

Response Fields

FieldDescription
idComposite identifier in format {account_id}:{details_id}. The account_id corresponds to the account id from webhooks, and details_id corresponds to the details id from webhooks.
currencyAccount currency (USD for ACH)
statusAccount status: Pending, Active, Blocked, Closed, Failed
account_holderName on the account
account_typeAch, Fedwire or FedNow for the USD account — see Fedwire and FedNow Details
created_atWhen the account details were created
details.account_numberBank account number for receiving transfers
details.routing_numberABA routing number

Fedwire and FedNow Details

Once the ACH account is Active, GET /api/v1/bank/accounts returns three USD entries — Ach, Fedwire
and FedNow — on one account:

{
  "data": [
    {
      "id": "1334726c-bd76-41c0-9b41-24e3e52f53fe:8d5a65eb-59d9-4afe-a643-74d45591fe9f",
      "currency": "USD",
      "status": "Active",
      "account_holder": "Alex Grey",
      "account_type": "Ach",
      "details": { "account_number": "8310931284", "routing_number": "101019644" }
    },
    {
      "id": "1334726c-bd76-41c0-9b41-24e3e52f53fe:2b0c8f5e-7d61-4c1a-9e3f-5a7b8c9d0e1f",
      "currency": "USD",
      "status": "Active",
      "account_holder": "Alex Grey",
      "account_type": "Fedwire",
      "details": { "account_number": "8310931284", "routing_number": "101019644" }
    },
    {
      "id": "1334726c-bd76-41c0-9b41-24e3e52f53fe:6e4d2a1b-3c5f-4e7a-8b9c-0d1e2f3a4b5c",
      "currency": "USD",
      "status": "Active",
      "account_holder": "Alex Grey",
      "account_type": "FedNow",
      "details": { "account_number": "8310931284", "routing_number": "101019644" }
    }
  ]
}
  • One account, three entries. The part of id before : is the same on all three, and so are
    account_number and routing_number. Give the sender the same numbers whichever rail they use.
  • Pick the entry by account_type, not by position. Code that takes the first USD entry gets any of
    the three.
  • The Fedwire entry is what fedwire payouts debit against — account_id on the fedwire corridor is
    the part of its id before :, the same value as for ach. See
    Corridor Transfers.
  • FedNow details receive only. There is no FedNow payout corridor.
  • The Fedwire and FedNow entries cannot fund a v2 bank transfer. POST /api/v2/bank/transfer/estimate
    with their id is refused with 400 ErrorNotSupported Invalid account id. Send ACH payouts with the
    Ach entry, or use the v3 fedwire corridor.

Account Status

StatusDescription
PendingAccount details being provisioned
ActiveReady to receive transfers
BlockedTemporarily suspended
ClosedPermanently closed
FailedProvisioning failed at the bank provider. The account cannot be used

Receiving ACH Transfers

To receive an ACH transfer:

  1. Activate the ACH account if not already active — see Activation Flow
  2. Retrieve the user's ACH account details using the endpoint above
  3. Provide the account number and routing number to the sender
  4. Monitor incoming transfers via the Activities webhook

Important Notes

  • Incoming USD is automatically converted to WUSD in the user's unified balance
  • ACH transfers typically settle within 1-3 business days

Fedwire and FedNow Deposits

The account receives domestic wires on its Fedwire details and instant payments on its FedNow details.
Both carry the same account_number and routing_number as the Ach entry. A received credit is added to
the user's wallet one for one in WUSD and appears in GET /api/v2/activity/feed with
"direction": "Inbound":

FieldFedwireFedNow
typeFedwireFedNow
directionInboundInbound
source.typeFedwireBankAccountFedNowBankAccount
source.bank_accountThe sender's account_number, routing_number, bank_name, owner_name, is_businessSame
destination.typeWalletWallet
destination_amountThe WUSD amount creditedSame
status / status_reasonPending / credit_pending while the credit is made, then Completed / credit_doneSame
activity_steps[]Initiated, BankIn, Review, CryptoIn, CompletedSame

Filter the feed by rail with GET /api/v2/activity/feed?types=Fedwire or ?types=FedNow. Each status change
is also sent to the activity webhook.

The wallet is credited before the activity completes. The WUSD balance grows as soon as the credit
lands; the activity can stay Pending / credit_pending for minutes after that. Do not hold the balance
back until the item reads Completed.


Webhooks

Bank Account Updates

Wirex sends webhook notifications when bank account details are created or updated.

Endpoint: POST {your_webhook_base_url}/webhook/accounts/fiat

Account Created

{
  "change_type": "Created",
  "id": "1334726cbd7641c09b4124e3e52f53fe",
  "account_type": "Fiat",
  "currency": "USD",
  "status": "Active",
  "balance": {
    "amount": 0,
    "available_amount": 0
  },
  "details": [],
  "owner_type": "Personal",
  "created_at": "2024-01-15T10:00:00Z"
}

Details Changed (ACH Details Added)

{
  "change_type": "DetailsChanged",
  "id": "1334726cbd7641c09b4124e3e52f53fe",
  "account_type": "Fiat",
  "currency": "USD",
  "status": "Active",
  "balance": {
    "amount": 0,
    "available_amount": 0
  },
  "details": [
    {
      "id": "8d5a65eb59d94afea64374d45591fe9f",
      "type": "Ach",
      "status": "Pending",
      "transport_currency": "USD"
    }
  ],
  "owner_type": "Personal"
}

Incoming ACH Transfer

When an ACH transfer is received, you receive an activity webhook.

Endpoint: POST {your_webhook_base_url}/v2/webhooks/activities

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "user_address": "0x7e1Cc1685D68D486b22D3880030C24434E3b90a9",
  "type": "AchPush",
  "status": "Completed",
  "direction": "Inbound",
  "source": {
    "type": "AchBankAccount",
    "bank_account": {
      "account_number": "",
      "routing_number": "026073150",
      "owner_name": "Alex Grey",
      "is_business": false
    }
  },
  "destination": {
    "type": "Wallet",
    "wallet": {
      "address": "0xAAFF0821A09A1Aac28B72dD3Ff410A7ea5FEb874"
    }
  },
  "source_amount": {
    "amount": 500.00,
    "currency": "USD"
  },
  "destination_amount": {
    "amount": 500.00,
    "token_symbol": "WUSD",
    "token_address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976"
  },
  "operations": [
    {
      "hash": "0x123456789abcdef123456789abcdef123456789abcdef123456789abcdef1234",
      "operation_amount": {
        "amount": 500.00,
        "token_symbol": "WUSD",
        "token_address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976"
      },
      "transaction_amount": {
        "amount": 500.00,
        "currency": "USD"
      },
      "rate": {
        "ticker": "USD/WUSD",
        "rate": 1
      }
    }
  ],
  "created_at": "2024-01-01T08:00:00.000Z",
  "activity_steps": [
    {
      "type": "Initiated",
      "status": "Completed",
      "created_at": "2024-01-01T08:00:00.000Z",
      "completed_at": "2024-01-01T08:00:00.000Z"
    },
    {
      "type": "BankIn",
      "status": "Completed",
      "created_at": "2024-01-01T08:00:00.000Z",
      "completed_at": "2024-01-01T08:05:00.000Z"
    },
    {
      "type": "CryptoIn",
      "status": "Completed",
      "created_at": "2024-01-01T08:05:00.000Z",
      "completed_at": "2024-01-01T08:05:15.000Z"
    }
  ]
}

Error Handling

Validation Errors

Error ReasonDescription
ErrorNotFoundUser not found or not verified
ErrorInvalidStatusAchAccount is not ActivationNotStarted — verification missing, Bridge registration pending, or the account is already activated. Check the capability status and follow Activation Flow
ErrorInvalidFieldInvalid account type

Error Response Format

{
  "error_reason": "ErrorInvalidStatus",
  "error_description": "ACH account capability does not need activation or is not available",
  "error_category": {
    "category": "CategoryValidationFailure",
    "http_status_code": 400
  },
  "error_details": [
    {
      "key": "capability",
      "details": "AchAccount"
    }
  ]
}

Did this page help you?