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:

GuideWhy
Getting StartedPlatform overview and setup
Api BasicsRequired 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

AspectStandard FlowMaster Account Mode
Corporation walletAccount Abstraction wallet per corporationNone
On-chain registrationRequired — createCorporationForCorporateWalletNone
How a corporation is createdPOST /api/v1/corporations/register, after on-chain registrationPOST /api/v1/corporations
Who logs inThe owner and every invited employeeThe owner only
Employees and rolesDefault and custom roles, each employee acting with their role's permissionsCardholder records with the Viewer role. Role management is refused
Where balances liveThe corporation walletThe pooled Master Account. Per-corporation balances live in your ledger
Card authorizationWirexYour authorization API, after Wirex checks the Master Account
Settlement sourceThe corporation walletThe Master Account
Bank, OCT and FX debitsThe corporation walletThe Master Account
Bulk transfersAvailableNot available
Supported bank corridorsEvery corridor in Corridor Transferssepa, 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

ResponsibilityWhy
Keep corporation session tokens on your backend onlyAny 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 executionWirex 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-WalletPAN, CVV and PIN access needs a signature from it — see Cardholders and Cards
Deliver card data (PIN, CVV, 3DS) through your appCardholders have no session of their own
Answer card authorizations within the timeoutsA 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,
    fedwire and fednow

Enabling Master Account Mode

  1. 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
  2. Fund the Master Account
  3. Implement the authorization API endpoints

Implementation Checklist

  1. 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
  2. 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 phone and keep each employee_id
    • Issue cards through the v2 or v3 routes
    • Implement the /authorize endpoint (see Card Authorization API)
    • Implement the /settle endpoint
    • Ensure response time < 300ms
    • Echo transaction_id
    • Handle mandatory transactions
  3. Webhooks

    • Configure webhook endpoints with Wirex
    • Implement the activities webhook handler
    • Book card operations per corporation in your ledger
  4. 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
  5. 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/corporations after a failure
    • Verify that the refused routes return ErrorNotSupported (see Unsupported Features and Errors)
    • Verify balance reconciliation

Did this page help you?