Environments
API endpoints, supported chains, and sandbox credentials for testing.
Before You Start
Read the following guides before proceeding:
| Guide | Why |
|---|---|
| Platform Overview | Overview of Wirex BaaS |
API Endpoints
BaaS API
| Environment | Base URL | Purpose |
|---|---|---|
| Sandbox | https://api-baas.wirexapp.tech | Testing and integration |
| Production | https://api-baas.wirexapp.com | Live 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.
| Environment | Base URL | Purpose |
|---|---|---|
| Sandbox | https://wx-acquiring-card-manager-uat.wirexapp.com | Card tokenization testing |
| Production | https://wx-acquiring-card-manager.wirexapp.com | Live 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).
| Environment | Base URL | Purpose |
|---|---|---|
| Sandbox | https://ramc.wirexapp.tech | Test 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
| Chain | Chain ID | ContractRegistry Address |
|---|---|---|
| Base | 8453 | 0xAFa697ebC7919998AF5CdE325Fbe990dC926aae4 |
| Stellar | 9223372036854775806 | CCRZBVBWNMDYOOQNJKB6TGMTSE5HE57RWQUGTN3AWBHMDHO45UCABJRE |
| Tempo | 4217 | 0x17d78eFFa90B3679b3A0224B21f8be82493A3B2C |
| Arc | 5042 | 0xC067b4cd7d902f0AD64731a7Fa7821C42efBF0A6 |
Sandbox
| Chain | Chain ID | ContractRegistry Address |
|---|---|---|
| Base Sepolia | 84532 | 0xC801a0f38E20500B5840c4927553b3409890bc3c |
| Stellar Testnet | 9223372036854775806 | CB2F7E7QVPUHUCMKIWNBTEPLL2S3GYDGQJQECIRKQ2PRKL2U3XNXOSNO |
| Tempo Moderato | 42431 | 0x0cb61796A379070f1281b6517C318440dd8F8833 |
| Arc Testnet | 5042002 | 0xa2681adbe3Fb9B05Cb1837c59F96E2952B6299ff |
| XRPL Testnet | 9223372036854775805 | rUhFwNoxRhraQKQjAmRf6Y2WNFXvTS1Qy8 |
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"
}
]
}| Field | Description |
|---|---|
address | Token contract address — the value to pass as token_address |
symbol | Token symbol |
default_symbol | Symbol used to group equivalent tokens |
base_token_address | Underlying ERC-20 a unified token is backed by. Absent on regular tokens |
equivalent_symbols | Symbols this token can settle against |
decimals | Token decimals — the exponent behind every precise_amount |
is_active | false means the token is not currently usable |
supported_chain_ids | Chains on which the token exists |
token_type | Token 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_type | What it is | Examples |
|---|---|---|
Synthetic | A unified token — the platform's own balance-bearing asset, minted when a supported stablecoin is deposited and burned when value leaves | WUSD, WEUR |
Regular | A plain ERC-20 stablecoin, held directly at its own contract | USDC, 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.
| Header | Required | Description |
|---|---|---|
X-Company-Id | No | Your company id as a UUID, e.g. 00000000-0000-0000-0000-000000000044. Recommended |
X-Company-Name | No | Your 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:
| Field | Description |
|---|---|
transactionAuthorizationMode | External or Signature — whether payouts need a wallet signature. See Transaction Authorization |
sdkAllowedDomains | Domains your integration may run the SDK on. Returned only when the company is resolved by a token or by X-Company-Id |
topup | Apple Pay / Google Pay parameters per provider (default_provider, providers.<provider>.apple_pay / google_pay), read by the PCI Compliant SDK |
p2c_currencies | Currencies 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:
| Credential | Value |
|---|---|
client_id | 3fCeoWq6FOtKJBZiyorXnxE41Dqp2zKB |
client_secret | 6FIY2GEQvdlgUEFHw4Dbii22_wCAqZ37lWV3TEMfTlkxrn8F5IbdgX9TiAvQUEsC |
partner_id | 0x00000000000000000000000000000044 |
These are shared credentials for initial integration testing. Contact Wirex to obtain dedicated credentials for your company.
Updated 24 days ago

