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:
| Guide | Why |
|---|---|
| Overview | Understand Master Account mode |
| Error Reference | The 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.
| Route | Why it is refused | Use instead |
|---|---|---|
POST /api/v1/corporations/register | Corporations are created through the API, not registered after an on-chain step | POST /api/v1/corporations — see Creating Corporations |
PUT /api/v1/employees/{employeeId}/role | Employees are cardholder records with the Viewer role. There is no permission model | Not available |
POST /api/v1/roles | As above | Not available |
PUT /api/v1/roles/{roleId} | As above | Not available |
DELETE /api/v1/roles/{roleId} | As above | Not available |
POST /api/v1/wallets/global | A corporation's only wallet is the Master Account | Not available |
POST /api/v1/cards/virtual | The v1 fee flow needs an on-chain fee payment from the payer | POST /api/v2/cards/virtual or POST /api/v3/cards/virtual |
POST /api/v1/cards/plastic | As above | POST /api/v2/cards/plastic or POST /api/v3/cards/plastic |
POST /api/v1/cards/{type}/fees/{country}/payment | As above | POST /api/v2/cards/{type}/fees/{country}/payment |
POST /api/v1/bulk/transfer | Bulk transfers are not offered in this mode | Not available |
POST /api/v3/bank/confirm/{corridor} | The confirm step serves CPN corridors only, and they are refused in this mode | Not 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:
| Group | Corridors |
|---|---|
| CPN | pix, spei, swift, cips, chats, fps_hk |
| Offramp | imps, 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 status | When | What to do |
|---|---|---|---|
ErrorNotSupported | 400 | One of the refused routes is called. Description: Not supported for master account companies | Remove the feature from your Master Account integration. Use the route in the "Use instead" column |
ErrorNotSupported | 400 | POST /api/v3/bank/estimate/{corridor} or POST /api/v3/bank/initiate/{corridor} with a CPN or offramp corridor. error_details: corridor | Offer only sepa, ach, faster-payments, fedwire and fednow |
ErrorNotSupported | 400 | POST /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 supported | Send your company's default chain in X-Chain-Id, or leave the header out if the platform default is the same chain |
ErrorNotSupported | 400 | POST /api/v1/corporations from a company that is not in Master Account mode | Use the existing registration flow — see Onboarding a Corporation — or ask your Wirex account manager to enable Master Account mode |
ErrorMissingField | 400 | POST /api/v1/corporations: a body field is missing. error_details: field = the field name, issue = missing | Integration bug. Send all three body fields |
ErrorInvalidField | 400 | POST /api/v1/corporations: a body field fails its format rule. error_details: field, issue = invalid_format, pattern | Fix the input against pattern — see Creating Corporations |
ErrorGeneral | 400 | POST /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 |
ErrorGeneral | 500 | POST /api/v1/corporations, description Corporation registration did not complete. The corporation exists, but its registration did not finish | Retry the same request. It is safe. Do not send it twice at the same time |
ErrorGeneral | 500 | POST /api/v1/corporations, description Corporation belongs to another company or owner | Do not retry. Report it to Wirex |
ErrorGeneral | 401 | POST /api/v1/corporations/login by anyone other than the owner. Description: Only the corporation owner can log in | Log in only with the owner wallet and email sent at creation. Cardholders have no session |
ErrorGeneral | 400 | POST /api/v1/employees/invite without phone. error_details: phone = Phone number is required | Collect the cardholder's phone before inviting |
ErrorGeneral | 500 | Description Master account address is invalid or Master account chain is not configured. Your company's platform configuration is wrong | Report 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.
Updated 8 days ago

