Register as a developer, spin up your "bank," and get a drop-in code snippet. Any account you create can send to — and receive from — an account created by a completely different developer's app, because every bank on Meridian Switch shares one ledger.
One developer account can run one bank on the switch. Name it once.
Every function below reads/writes the same switch_accounts / switch_transfers collections your snippet is pointed at — so an account made by your app and an account made by someone else's app can pay each other directly.
Opens a new account under your bank. Returns { accountId, acctNumber, balance }. acctNumber is a random 10-digit number, unique across every bank on the switch.
Looks up any account on the switch by number — your own or another bank's. Returns holder name and bank name for routing/confirmation before a transfer (like a "name enquiry").
Moves money from an account you own to any account on the switch, in one atomic Firestore transaction, then writes one shared ledger entry both sides can see. fromAcctNumber must belong to your bank.
Returns the transfer history for an account you own, most recent first.