Transfers, Deposits and FX
How bank transfers, bank deposits, push to card and FX debit and credit the Master Account in Master Account mode.
Before You Start
Read the following guides before proceeding:
| Guide | Why |
|---|---|
| Overview | Understand Master Account mode and the threshold |
| Bank Transfers | The standard bank transfer flow |
| Corridor Transfers | The standard corridor flow |
| FX | The standard FX flow |
Before Any Money Route
Check the corporation's balance in your ledger before every bank transfer, OCT transfer and FX execution.
Wirex does not ask you to approve them: your authorization API is called for card transactions only.
- The only balance Wirex checks is the Master Account's. Nothing caps one corporation's spend except
the Master Account balance, so a corporation can spend funds that belong to your other corporations. - Every call is made with the owner's corporation token. Keep it on your backend. Any holder of the
token can spend the whole Master Account. - When your company's transaction authorization mode is
Signature, thetransaction_authorization
on these routes is signed by the owner wallet, the token'semployee_address. See
Wallet Signatures.
The request and response of every route on this page are unchanged. Only the wallet that is debited or
credited changes.
Bank Transfers
Master Account mode does not refuse the sepa, ach, faster-payments, fedwire and fednow
corridors. A payout on any of them debits the Master Account.
| Behaviour | Master Account mode |
|---|---|
| Debit | The Master Account |
| Activity | Shows under the corporation |
| Reversal or failed transfer | The debit is credited back to the Master Account |
| Every other corridor | Refused with 400 ErrorNotSupported, error_details corridor |
Which of these corridors carry payouts, their capabilities and their request fields are described in
Bank Transfers and
Corridor Transfers. The refused corridors are listed in
Unsupported Features and Errors.
Book each transfer against the corporation in your ledger. The activity identifies the corporation by
user_address in the activities webhook and by corporation_address in Activity History reads, and a
refunded transfer moves to Failed / payment_failed as described in
Corridor Transfers.
Deposits
A deposit to a corporation's bank account credits the Master Account. The activity shows under the
corporation, so book the credit to that corporation in your ledger.
Bank account activation and deposit details are unchanged.
Push to Card (OCT)
POST /api/v1/cards/transfer/estimate and POST /api/v1/cards/transfer work as described in
Card Transfer.
- The chosen token is debited from the Master Account.
- A failure returns the funds to the Master Account.
- The activity shows under the corporation.
FX
Follow FX. Only the payer changes: the Master Account pays, not the corporation.
POST /api/v1/fx/estimate → deposit_address, estimation_id, expiration_time
↓
transfer from the Master Account to deposit_address → payment_transaction_hash
↓
POST /api/v1/fx → trade_id
- Check the corporation's balance in your ledger, then call
POST /api/v1/fx/estimate. - Pay
deposit_addressfrom the Master Account. FX takes regular tokens, so unwrap the source unified
token in the Master Account and send the underlying token from it, as described in
FX. - Call
POST /api/v1/fxwithestimation_idandpayment_transaction_hashbefore the quote's
expiration_time.
- A payment from any other wallet is refused.
- The bought currency lands in the Master Account. The activity shows under the corporation. Book the
sold and the bought amounts to the corporation in your ledger.
Threshold Interplay
None of the routes on this page check the Master Account threshold that card authorization uses. A large
bank transfer, OCT transfer or FX execution can take the Master Account below the threshold, and every
card authorization then declines until it is topped up. Keep a margin. See
Overview.
Bulk Transfers
Bulk transfers are not available in Master Account mode. POST /api/v1/bulk/transfer is refused with
400 ErrorNotSupported. The standard flow is described in
Bulk Transfers.
Updated 8 days ago

