Unsupported Features and Errors

The routes and corridors refused in Master Account mode, what to use instead, and the errors a Master Account integration handles.

Before You Start

Read the following guides before proceeding:

GuideWhy
OverviewUnderstand Master Account mode
Error ReferenceThe error envelope and the full set of error_reason values

Refused Routes

In Master Account mode these eleven routes are refused with 400 ErrorNotSupported and the description
Not supported for master account companies. The refusal is answered before the request body is read.

RouteWhy it is refusedUse instead
POST /api/v1/corporations/registerCorporations are created through the API, not registered after an on-chain stepPOST /api/v1/corporations — see Creating Corporations
PUT /api/v1/employees/{employeeId}/roleEmployees are cardholder records with the Viewer role. There is no permission modelNot available
POST /api/v1/rolesAs aboveNot available
PUT /api/v1/roles/{roleId}As aboveNot available
DELETE /api/v1/roles/{roleId}As aboveNot available
POST /api/v1/wallets/globalA corporation's only wallet is the Master AccountNot available
POST /api/v1/cards/virtualThe v1 fee flow needs an on-chain fee payment from the payerPOST /api/v2/cards/virtual or POST /api/v3/cards/virtual
POST /api/v1/cards/plasticAs abovePOST /api/v2/cards/plastic or POST /api/v3/cards/plastic
POST /api/v1/cards/{type}/fees/{country}/paymentAs abovePOST /api/v2/cards/{type}/fees/{country}/payment
POST /api/v1/bulk/transferBulk transfers are not offered in this modeNot available
POST /api/v3/bank/confirm/{corridor}The confirm step serves CPN corridors only, and they are refused in this modeNot available

Do not offer these features to Master Account corporations in your app.


Corridors Refused

POST /api/v3/bank/estimate/{corridor} and POST /api/v3/bank/initiate/{corridor} refuse these
corridors with 400 ErrorNotSupported, error_details corridor:

GroupCorridors
CPNpix, spei, swift, cips, chats, fps_hk
Offrampimps, instapay, bi-fast, nip, ipp, pse

Offer only sepa, ach, faster-payments, fedwire and fednow. See
Transfers, Deposits and FX.


Errors

error_reason is serialised as a plain string. A 400 here is a validation failure, so match on
error_reason and the description or error_details, not only on the status. The envelope is described
in Error Reference.

Reason (error_reason)HTTP statusWhenWhat to do
ErrorNotSupported400One of the refused routes is called. Description: Not supported for master account companiesRemove the feature from your Master Account integration. Use the route in the "Use instead" column
ErrorNotSupported400POST /api/v3/bank/estimate/{corridor} or POST /api/v3/bank/initiate/{corridor} with a CPN or offramp corridor. error_details: corridorOffer only sepa, ach, faster-payments, fedwire and fednow
ErrorNotSupported400POST /api/v1/corporations or POST /api/v1/corporations/login on a chain other than your company's default. error_details: chain_id = Only chain <id> is supportedSend your company's default chain in X-Chain-Id, or leave the header out if the platform default is the same chain
ErrorNotSupported400POST /api/v1/corporations from a company that is not in Master Account modeUse the existing registration flow — see Onboarding a Corporation — or ask your Wirex account manager to enable Master Account mode
ErrorMissingField400POST /api/v1/corporations: a body field is missing. error_details: field = the field name, issue = missingIntegration bug. Send all three body fields
ErrorInvalidField400POST /api/v1/corporations: a body field fails its format rule. error_details: field, issue = invalid_format, patternFix the input against pattern — see Creating Corporations
ErrorGeneral400POST /api/v1/corporations: X-User-Wallet is missing or not a valid EVM address (error_details: X-User-Wallet), or X-User-Email is missing or not a valid email (error_details: X-User-Email)Send both headers
ErrorGeneral500POST /api/v1/corporations, description Corporation registration did not complete. The corporation exists, but its registration did not finishRetry the same request. It is safe. Do not send it twice at the same time
ErrorGeneral500POST /api/v1/corporations, description Corporation belongs to another company or ownerDo not retry. Report it to Wirex
ErrorGeneral401POST /api/v1/corporations/login by anyone other than the owner. Description: Only the corporation owner can log inLog in only with the owner wallet and email sent at creation. Cardholders have no session
ErrorGeneral400POST /api/v1/employees/invite without phone. error_details: phone = Phone number is requiredCollect the cardholder's phone before inviting
ErrorGeneral500Description Master account address is invalid or Master account chain is not configured. Your company's platform configuration is wrongReport it to Wirex. Nothing was executed

Errors from the routes that work as in the standard flow — cards, card data, bank transfers, corridors,
push to card, FX — are listed on their own pages.


Did this page help you?