Environments

API base URLs, supported chains, and the runtime configuration endpoint for the Corporate API.

Before You Start

Read the following guides before proceeding:

GuideWhy
Getting StartedIntegration overview and prerequisites

API Endpoints

EnvironmentBase URLPurpose
Sandboxhttps://api-business.wirexapp.techTesting and integration
Productionhttps://api-business.wirexapp.comLive environment

The Corporate API is served under /api/v1/, /api/v2/ and /api/v3/ on these hosts. Credentials are
environment-specific and are not interchangeable.

The Corporate API has its own hosts. api-baas.wirexapp.tech and api-baas.wirexapp.com serve
the retail API, documented under For Retail Developers; corporate endpoints are not
routed there.


PCI Secure Environment

Tokenizing a destination card for Card Transfer requires a call to
Wirex's PCI-compliant environment. It is a separate host with separate credentials — the corporation
token is not accepted there.

EnvironmentBase URLPurpose
Sandboxhttps://wx-acquiring-card-manager-uat.wirexapp.comCard tokenization testing
Productionhttps://wx-acquiring-card-manager.wirexapp.comLive card tokenization

Note: These endpoints handle card numbers and are subject to additional security requirements.
Request access from Wirex separately from your API credentials.


Supported Chains

Production

ChainChain ID
Base8453
Stellar9223372036854775806

Sandbox

ChainChain ID
Base Sepolia84532
Stellar Testnet9223372036854775806

The chain is fixed into the corporation token at login, from the X-Chain-Id header sent on
POST /api/v1/corporations/login. Requests made with that token are evaluated against the chain recorded
in its chain_id claim; sending a different X-Chain-Id on a later request does not change it. To switch
chains, log in again with the chain you want.

If X-Chain-Id is omitted at login, the environment's default chain is used.


Runtime Configuration

GET /api/v1/config

Returns the live chain and client configuration for the environment. This endpoint is anonymous — no
Authorization header is required — and is the authoritative source for RPC, bundler, paymaster and
ContractRegistry addresses in each environment.

Response

{
  "auth": { },
  "api": {
    "apiUrl": "https://api-business.wirexapp.com",
    "socketIo": "https://socket.wirexpaychain.com"
  },
  "support": { },
  "analytics": { },
  "defaultCompanyId": "550e8400-e29b-41d4-a716-446655440000",
  "defaultChain": {
    "id": 8453,
    "name": "Base",
    "contractRegistry": "0xAFa697ebC7919998AF5CdE325Fbe990dC926aae4",
    "blockExplorerUrl": "https://basescan.org",
    "bridgeUrl": "https://bridge.base.org",
    "rpcUrl": "https://mainnet.base.org",
    "rpcWsUrl": "wss://mainnet.base.org",
    "bundlerUrl": "https://rpc.zerodev.app/api/v2/bundler/...",
    "paymasterUrl": "https://rpc.zerodev.app/api/v2/paymaster/..."
  },
  "chains": {
    "8453": {
      "id": 8453,
      "name": "Base",
      "contractRegistry": "0xAFa697ebC7919998AF5CdE325Fbe990dC926aae4",
      "blockExplorerUrl": "https://basescan.org",
      "bridgeUrl": "https://bridge.base.org",
      "rpcUrl": "https://mainnet.base.org",
      "rpcWsUrl": "wss://mainnet.base.org",
      "bundlerUrl": "https://rpc.zerodev.app/api/v2/bundler/...",
      "paymasterUrl": "https://rpc.zerodev.app/api/v2/paymaster/..."
    }
  }
}
FieldDescription
api.apiUrlBase URL of the API for this environment
api.socketIoSocket.IO endpoint for the environment
defaultCompanyIdDefault corporate company id for this deployment
defaultChainThe chain used when a request carries no X-Chain-Id. Omitted when no configured chain matches the deployment's default chain id
chainsMap of supported chains, keyed by EIP-155 chain id
chains.<id>.contractRegistryContractRegistry address — resolve every other contract address from it
chains.<id>.bundlerUrlBundler endpoint for UserOperation submission
chains.<id>.paymasterUrlPaymaster endpoint for gas sponsorship

Token Catalogue

GET /api/v1/config/tokens

Returns the tokens available to your company. Requires a partner token or a corporation token. Use it to
resolve the token_address values accepted by the fee, transfer and card endpoints.

Response

{
  "data": [
    {
      "address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976",
      "base_token_address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "symbol": "WUSD",
      "default_symbol": "WUSD",
      "equivalent_symbols": ["USDC", "USDT"],
      "decimals": 18,
      "is_active": true,
      "supported_chain_ids": [8453],
      "token_type": "Synthetic"
    }
  ]
}
FieldDescription
addressToken contract address — the value to pass as token_address
base_token_addressUnderlying ERC-20 a unified token is backed by. Absent on regular tokens
symbolToken symbol
default_symbolSymbol used to group equivalent tokens
equivalent_symbolsSymbols this token can settle against
decimalsToken decimals — the exponent behind every precise_amount
is_activefalse means the token is not currently usable
supported_chain_idsChains on which the token exists
token_typeToken classification — see Token Types below

Token Types

token_type tells you which of the two token families an entry belongs to.

token_typeWhat it isExamples
SyntheticA unified token — the platform's own balance-bearing asset, minted when a supported stablecoin is deposited and burned when value leavesWUSD, WEUR
RegularA plain ERC-20 stablecoin, held directly at its own contractUSDC, USDT, EURC

A unified token always carries base_token_address, pointing at the ERC-20 it is backed by; a
regular token does not. Balances are held in unified tokens, while on-chain movements in and out of
the platform happen in regular tokens.

Other token_type values exist for products that are not part of this integration surface. Treat any
value outside the two above as one you do not handle.

Both unified and regular tokens can be linked to a card at issuance.


Sandbox Credentials

Corporate sandbox credentials are issued per partner. There are no shared corporate test credentials —
the retail sandbox credentials published under For Retail Developers are registered
as a retail company and are rejected by the Corporate API. Request corporate sandbox credentials from your
Wirex account manager.


Did this page help you?