ACH Bank Details
Activate the USD account and receive ACH, Fedwire and FedNow transfers.
Before You Start
Read the following guides before proceeding:
| Guide | Why |
|---|---|
| Getting Started | Platform overview and setup |
| Api Basics | Required headers and request configuration |
| Authentication | How to obtain access tokens |
| Onboarding | User and wallet registration |
| KYC | KYC verification requirements |
| Hosted KYC | The verification token and link endpoints used to raise the user to XDDBridgeBase |
| Recipients | Recipient 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
| Step | Action | Produces | Consumed by |
|---|---|---|---|
| 1 | GET /api/v2/user | AchAccount status and the levels in verification_requirements | Steps 2 and 5 |
| 2 | POST /api/v1/user/verification-token or /verification-link with verification_level: XDDBridgeBase | SumSub token or URL | Step 3 |
| 3 | User completes the SumSub flow | XDDBridgeBase level approved | Step 4 |
| 4 | Poll GET /api/v2/user | AchAccount reaches ActivationNotStarted | Step 5 |
| 5 | POST /api/v1/bank/accounts with account_type: Ach | details_id | Get Bank Accounts |
Prerequisite: the user must hold
SDDbefore startingXDDBridgeBase. 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.
| Status | status_reason | Meaning | Next step |
|---|---|---|---|
NotAvailable | Country is not supported | ACH is not offered in the user's country of residence | None — see Bank Account Availability |
NotFulfilled | Verification requirements not fulfilled | A level in verification_requirements is missing | Step 2 |
ExternalProviderRegistrationPending | Registration with the external provider is still pending | The user is not yet registered and verified with Bridge | Step 4 |
ActivationNotStarted | — | Ready to activate | Step 5 |
InProgress | — | Activation requested, account being provisioned | Wait for the webhook |
Active | — | ACH account is provisioned and ready to use | Get 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
| Field | Type | Required | Description |
|---|---|---|---|
verification_level | string | Required for ACH | XDDBridgeBase. Omitted, the level defaults to SDD |
Trap: an omitted or unrecognised
verification_levelsilently falls back toSDD. A user who already
holdsSDDthen sees a completed flow and never reachesXDDBridgeBase, andAchAccountstays
NotFulfilled. Always send"verification_level": "XDDBridgeBase"for ACH.
SDK:
sdk.api.baas.user.getVerificationToken()andgetVerificationLink()in
@wirexapp/wpay-baas-sdksend an empty body and cannot passverification_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:
ExternalProviderRegistrationPendingis a waiting state, not a failure. Do not call
POST /api/v1/bank/accountswhile it holds — activation is accepted only inActivationNotStartedand is
otherwise rejected withErrorInvalidStatus(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
| Field | Type | Required | Description |
|---|---|---|---|
account_type | string | Yes | Must be Ach |
Achis the only US account type you activate.FedwireandFedNoware added to the same USD
account by theAchactivation. Sending"account_type": "Fedwire"or"FedNow"is refused with
400 ErrorInvalidFieldandInvalid 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
| Parameter | Type | Description |
|---|---|---|
page_number | integer | Page number, 0-indexed (default: 0) |
page_size | integer | Items 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
| Field | Description |
|---|---|
id | Composite 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. |
currency | Account currency (USD for ACH) |
status | Account status: Pending, Active, Blocked, Closed, Failed |
account_holder | Name on the account |
account_type | Ach, Fedwire or FedNow for the USD account — see Fedwire and FedNow Details |
created_at | When the account details were created |
details.account_number | Bank account number for receiving transfers |
details.routing_number | ABA 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
idbefore:is the same on all three, and so are
account_numberandrouting_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
Fedwireentry is whatfedwirepayouts debit against —account_idon thefedwirecorridor is
the part of itsidbefore:, the same value as forach. See
Corridor Transfers. FedNowdetails receive only. There is no FedNow payout corridor.- The
FedwireandFedNowentries cannot fund a v2 bank transfer.POST /api/v2/bank/transfer/estimate
with theiridis refused with400 ErrorNotSupportedInvalid account id. Send ACH payouts with the
Achentry, or use the v3fedwirecorridor.
Account Status
| Status | Description |
|---|---|
Pending | Account details being provisioned |
Active | Ready to receive transfers |
Blocked | Temporarily suspended |
Closed | Permanently closed |
Failed | Provisioning failed at the bank provider. The account cannot be used |
Receiving ACH Transfers
To receive an ACH transfer:
- Activate the ACH account if not already active — see Activation Flow
- Retrieve the user's ACH account details using the endpoint above
- Provide the account number and routing number to the sender
- 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":
| Field | Fedwire | FedNow |
|---|---|---|
type | Fedwire | FedNow |
direction | Inbound | Inbound |
source.type | FedwireBankAccount | FedNowBankAccount |
source.bank_account | The sender's account_number, routing_number, bank_name, owner_name, is_business | Same |
destination.type | Wallet | Wallet |
destination_amount | The WUSD amount credited | Same |
status / status_reason | Pending / credit_pending while the credit is made, then Completed / credit_done | Same |
activity_steps[] | Initiated, BankIn, Review, CryptoIn, Completed | Same |
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
WUSDbalance grows as soon as the credit
lands; the activity can stayPending/credit_pendingfor minutes after that. Do not hold the balance
back until the item readsCompleted.
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 Reason | Description |
|---|---|
ErrorNotFound | User not found or not verified |
ErrorInvalidStatus | AchAccount is not ActivationNotStarted — verification missing, Bridge registration pending, or the account is already activated. Check the capability status and follow Activation Flow |
ErrorInvalidField | Invalid 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"
}
]
}Updated 15 days ago

