Environments

API endpoints, supported chains, and sandbox credentials for testing.

Before You Start

Read the following guides before proceeding:

GuideWhy
Platform OverviewOverview of Wirex BaaS

API Endpoints

BaaS API

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

Use Sandbox for development and testing. Credentials are environment-specific.

PCI Secure Environment

Card data for top-up and push-to-card is submitted to Wirex's PCI-compliant secure environment, never to the
BaaS API. The recommended way to reach it is the PCI Compliant SDK, which selects the
environment by name. The base URLs below are for calling the card-manager API directly.

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

Note: PCI environment endpoints handle sensitive card data and are subject to additional security requirements.

Sandbox Helper API

The Sandbox Helper API provides methods for simulating external events that cannot be triggered through the standard API (bank deposits, transfer completions, card transactions).

EnvironmentBase URLPurpose
Sandboxhttps://ramc.wirexapp.techTest event simulation

Important: This API is available in Sandbox only. It does not exist in Production. See Sandbox Testing for usage.


Supported Chains

Each chain has its own ContractRegistry. Every other contract address on that chain is resolved from it
with contractByName(name) — see Credentials for the contract
names. This section is the only list of chain IDs and registry addresses.

Production

ChainChain IDContractRegistry Address
Base84530xAFa697ebC7919998AF5CdE325Fbe990dC926aae4
Stellar9223372036854775806CCRZBVBWNMDYOOQNJKB6TGMTSE5HE57RWQUGTN3AWBHMDHO45UCABJRE
Tempo42170x17d78eFFa90B3679b3A0224B21f8be82493A3B2C
Arc50420xC067b4cd7d902f0AD64731a7Fa7821C42efBF0A6

Sandbox

ChainChain IDContractRegistry Address
Base Sepolia845320xC801a0f38E20500B5840c4927553b3409890bc3c
Stellar Testnet9223372036854775806CB2F7E7QVPUHUCMKIWNBTEPLL2S3GYDGQJQECIRKQ2PRKL2U3XNXOSNO
Tempo Moderato424310x0cb61796A379070f1281b6517C318440dd8F8833
Arc Testnet50420020xa2681adbe3Fb9B05Cb1837c59F96E2952B6299ff
XRPL Testnet9223372036854775805rUhFwNoxRhraQKQjAmRf6Y2WNFXvTS1Qy8

XRPL has no smart contracts: the value in the ContractRegistry
column is the Wirex processor account, which is also the card settlement pool.
See Ripple (XRPL) Integration Addendum.

Stellar and Stellar Testnet share chain ID 9223372036854775806. The environment's base URL, not the
chain ID, decides which network a request reaches.


Token Catalogue

GET /api/v1/config/tokens

Returns the tokens available to your company. Use it to resolve the token_address values the fee,
transfer, card and withdrawal endpoints accept, and to read each token's decimals — the exponent
behind every precise_amount. See Amounts.

Response:

{
  "data": [
    {
      "address": "0x0774164DC20524Bb239b39D1DC42573C3E4C6976",
      "symbol": "WUSD",
      "default_symbol": "WUSD",
      "base_token_address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "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
symbolToken symbol
default_symbolSymbol used to group equivalent tokens
base_token_addressUnderlying ERC-20 a unified token is backed by. Absent on regular 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

Read token addresses from this endpoint rather than hardcoding them. The tables in
Credentials are a convenience for reading the docs, not a contract — the
catalogue is per company and per chain.


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.


Client Application Configuration

GET /api/v1/config

Returns the client-side bootstrap configuration for a company — auth provider settings, chain list,
support integration, and the Apple Pay / Google Pay parameters for rendering a device payment sheet
(see Card Top-Up). No token is required.

HeaderRequiredDescription
X-Company-IdNoYour company id as a UUID, e.g. 00000000-0000-0000-0000-000000000044. Recommended
X-Company-NameNoYour company's name. Used only when X-Company-Id is not sent

When the request carries a Wirex token, the token's company is answered and the headers are ignored. With
neither a token nor a header, the platform default company is answered. An unknown id or name returns 400.

Fields of note in the response:

FieldDescription
transactionAuthorizationModeExternal or Signature — whether payouts need a wallet signature. See Transaction Authorization
sdkAllowedDomainsDomains your integration may run the SDK on. Returned only when the company is resolved by a token or by X-Company-Id
topupApple Pay / Google Pay parameters per provider (default_provider, providers.<provider>.apple_pay / google_pay), read by the PCI Compliant SDK
p2c_currenciesCurrencies supported by Push to Card

This endpoint exists for front-end initialisation. A server-side integration takes its chain and
contract configuration from Credentials instead.


Sandbox Test Credentials

The following shared credentials are available for quick testing:

CredentialValue
client_id3fCeoWq6FOtKJBZiyorXnxE41Dqp2zKB
client_secret6FIY2GEQvdlgUEFHw4Dbii22_wCAqZ37lWV3TEMfTlkxrn8F5IbdgX9TiAvQUEsC
partner_id0x00000000000000000000000000000044

These are shared credentials for initial integration testing. Contact Wirex to obtain dedicated credentials for your company.


Did this page help you?