Overview
What Master Account mode is, how it differs from the standard corporate flow, and what the partner is responsible for.
Before You Start
Read the following guides before proceeding:
| Guide | Why |
|---|---|
| Getting Started | Platform overview and setup |
| Api Basics | Required headers and request configuration |
What Is Master Account Mode
Master Account mode is a corporate integration model where:
- You create corporations through the API, with
POST /api/v1/corporations - A corporation has no wallet of its own and is never registered on-chain
- One company Master Account pays every charge and receives every credit for all of your corporations
- Only the corporation owner logs in
- Employees are cardholder records only
- You approve card transactions through your own authorization API
KYB, bank accounts, recipients, activity and statements work as they do for any other corporation.
Comparison with the Standard Corporate Flow
| Aspect | Standard Flow | Master Account Mode |
|---|---|---|
| Corporation wallet | Account Abstraction wallet per corporation | None |
| On-chain registration | Required — createCorporationForCorporateWallet | None |
| How a corporation is created | POST /api/v1/corporations/register, after on-chain registration | POST /api/v1/corporations |
| Who logs in | The owner and every invited employee | The owner only |
| Employees and roles | Default and custom roles, each employee acting with their role's permissions | Cardholder records with the Viewer role. Role management is refused |
| Where balances live | The corporation wallet | The pooled Master Account. Per-corporation balances live in your ledger |
| Card authorization | Wirex | Your authorization API, after Wirex checks the Master Account |
| Settlement source | The corporation wallet | The Master Account |
| Bank, OCT and FX debits | The corporation wallet | The Master Account |
| Bulk transfers | Available | Not available |
| Supported bank corridors | Every corridor in Corridor Transfers | sepa, ach, faster-payments, fedwire and fednow |
Master Account
The Master Account is a smart wallet that Wirex issues for you. There is one per partner, and every
corporation you create draws on it.
Funding
Fund the Master Account by sending tokens to its address on your company's default chain. After the
owner of any of your corporations logs in, GET /api/v1/wallets returns the Master Account as the
corporation's Primary wallet, with its address and balances.
A direct on-chain top-up of the Master Account records no activity. Record each top-up in your own
ledger.
Threshold
Wirex keeps a minimum balance threshold on the Master Account. A card authorization is declined when the
Master Account balance is below the threshold plus the transaction amount. The threshold is set when
Master Account mode is enabled for your company.
- Authorization reserves no funds. Approved card transactions are not held on the Master Account, so
the threshold is the only buffer against concurrent spend. - Bank transfers, OCT and FX do not check the threshold. A large one can take the balance below it,
and from then on every card authorization declines. Keep a margin above the threshold.
Visibility
Every corporation sees the Master Account address and the full pooled balance in GET /api/v1/wallets.
That balance belongs to all of your corporations together, not to the corporation reading it. Show each
corporation its balance from your ledger instead.
Partner Responsibilities
| Responsibility | Why |
|---|---|
| Keep corporation session tokens on your backend only | Any holder of a corporation token can spend the whole Master Account through bank transfers, OCT and FX |
| Check your own ledger before every bank transfer, OCT transfer and FX execution | Wirex does not ask you to approve them, and nothing caps one corporation's spend except the Master Account balance |
Hold the private key behind the owner wallet you send in X-User-Wallet | PAN, CVV and PIN access needs a signature from it — see Cardholders and Cards |
| Deliver card data (PIN, CVV, 3DS) through your app | Cardholders have no session of their own |
| Answer card authorizations within the timeouts | A timeout declines a non-mandatory transaction — see Card Authorization API |
When to Use Master Account Mode
Use Master Account mode when:
- You onboard corporations on your own platform and keep their balances in your own ledger
- You need real-time control over card transaction authorization
- You want to avoid per-corporation wallet deployment and on-chain registration
- Cardholders do not need their own logins or permissions
Use the standard flow when:
- Each corporation should hold its own on-chain balance
- Employees should log in and act with role-based permissions
- You need bulk transfers, global wallets, or corridors other than
sepa,ach,faster-payments,
fedwireandfednow
Enabling Master Account Mode
- Contact your Wirex account manager to:
- Enable Master Account mode for your company
- Have the Master Account issued and its threshold set
- Configure your authorization API base URL and API version
- Set up webhook endpoints
- Fund the Master Account
- Implement the authorization API endpoints
Implementation Checklist
-
Master Account Setup
- Ask Wirex to enable Master Account mode, issue the Master Account and set the threshold
- Fund the Master Account on your company's default chain
- Record every direct top-up in your ledger
-
API Integration
- Create corporations with
POST /api/v1/corporations, one request per corporation at a time (see Creating Corporations) - Log owners in with
POST /api/v1/corporations/login - Invite cardholders with
phoneand keep eachemployee_id - Issue cards through the v2 or v3 routes
- Implement the
/authorizeendpoint (see Card Authorization API) - Implement the
/settleendpoint - Ensure response time < 300ms
- Echo
transaction_id - Handle mandatory transactions
- Create corporations with
-
Webhooks
- Configure webhook endpoints with Wirex
- Implement the activities webhook handler
- Book card operations per corporation in your ledger
-
Ledger Checks
- Keep corporation tokens on your backend
- Check the corporation's ledger balance before every bank transfer, OCT transfer and FX execution
- Keep a margin above the Master Account threshold
-
Testing
- Test approve and decline handling on your authorization endpoints
- Test timeout handling (>500ms = decline)
- Test a card authorization with the Master Account below the threshold
- Test a retried
POST /api/v1/corporationsafter a failure - Verify that the refused routes return
ErrorNotSupported(see Unsupported Features and Errors) - Verify balance reconciliation
Updated 8 days ago

