The routes on this page are called from a signed-in back office session, the team member’s own
verified email sign-in, and every change is sent from the back office’s trusted origin. A Venue key
can’t call them. A few reads also have a Venue key form for your backend, each with
venue:read:
GET /api/venues/{venueId}/money-moves, GET /api/venues/{venueId}/money-moves/{moveId},
GET /api/venues/{venueId}/money-settings, GET /api/venues/{venueId}/payouts-pause and
GET /api/venues/{venueId}/company-wallet/platform. See Venue keys for what a
key reaches./api/back-office/venues/{venueId}, shortened in the tables to the
part after it.
Control your company money
Money moves send your company wallet’s USDC, and nothing is sent without an owner’s Approve. Every move is written down first, with who asked, who approved and the chain’s transaction hash. Moves run only in the sandbox until trdrs turns them on in production, and only while your venue’s money rails are on (see Advanced). The back office guide walks through paying a trader and the day’s moves.- Moves and their approval. Any member reads the list of moves, oldest first, up to 500 at a time, filtered by state or by UTC day. An owner proposes a move: USDC from the company wallet to a saved place on your funding chain, to your company Hyperliquid account (5 USDC at least), or out of the company Hyperliquid account back to the company wallet, which Hyperliquid pays out less its 1 USDC fee. An owner approves it, and the owner who proposed a move can approve it too. On Approve the engine checks the stop, the place, the network, the company wallet’s USDC and the daily cap, counts the move against today’s cap and sends it. Approving a move again that wasn’t sent yet sends it under the same request, never twice. An owner can cancel a move nobody approved.
- The day’s moves. An owner proposes the day’s moves: the engine reads each account that has a target and proposes a sweep of what is above it or a top-up of what is below it, and a by-hand line for any account it can’t send for. This replaces the day’s proposals nobody approved.
- Approve all. An owner approves every proposed move the engine sends, oldest first, each checked against the cap as it is approved. A move refused stays proposed, with why. By-hand lines are left for you to approve one at a time.
- The daily cap and targets. The engine sends at most 100,000 USDC a day from your company money,
counted in UTC days by when each move was approved, until an owner sets another cap in whole USDC.
The same change sets each account’s target:
company_hyperliquidor a hedge account’s ID, and a null target removes one. Any member reads the cap, the stop, the targets, and today’s total and what’s left. - Stop and resume. An owner or an editor stops every move: none is proposed by hand, approved or sent. Payouts and the day’s proposals are still written down, to wait. Only an owner resumes.
- Payouts pause. An owner pauses payouts with a reason of 1 to 300 characters, which your site
reads. While it is on, new payout requests, their approvals and every payout recorded on an account
are refused as
payouts_paused. A payout quote still answers. An owner lifts it the same way, and any member reads it.
Routes
Manage your team
Your team belongs to your organization, so one team runs every venue the organization holds. Each person signs in with their own email, and the engine checks their current role on every request. Any member lists the team, active and removed, and the invitations still pending. An owner invites a person by the exact email they sign in with, or changes a pending invitation’s role. Someone who already has a verified sign-in for that email joins at once; anyone else gets an invitation by email and no access, and joins the first time they sign in with that email verified. An owner changes a member’s role and removes members. A removed member loses access to everything the organization runs at once, and stays listed as inactive. Each change sends the member’s or invitation’s currentversion as expectedVersion, so a teammate’s change is never overwritten.
Changing an owner matters beyond the team: a Venue key works only while the owner who created it is
still an owner, so removing that owner, or making them an editor, stops every key they created.
Routes
Set up billing
Billing runs in production, where your venue pays trdrs for each month’s active issued accounts at its agreed graduated prices, each bracket at its own rate, charged to your card. Every sandbox venue is free, so the sandbox answers these routes409 production_only.
Any member reads your billing: the current Venue terms and your acceptance of them, your billing
name and email, your card on file, your standing, and setupRequired, what your venue still needs
before it issues production accounts. An owner accepts the current Venue terms, with the billing
name and email your invoices carry, and changes that name or email later, from the next invoice.
An owner saves a card through a hosted setup that charges nothing. Saving another card replaces the
one on file: each invoice charges the card saved last, and a card saved while an invoice is past due
charges that invoice again. Only an owner reads the invoices, newest first, and charges the card
again for a past-due invoice, at most once an hour for each invoice.
Routes
Save your wallet keys
Wallet keys are the logins your venue saves at a wallet platform. Only an owner saves or removes one, and any member reads which login is saved. trdrs tries each login at the platform before it saves it, changing nothing there, and keeps its secret encrypted. No answer ever returns a secret.- Trader wallets login. Your own Privy app’s ID and secret, so your traders make their own wallets
in your app and trdrs reads them there. Each trader’s wallet signs only on their device, so a
read-only secret serves. Saving the first one turns trader wallets on, which means your venue holds
its traders’ money in its own app, and in most places that needs a license: the save needs
licenseAcknowledged: true, and trdrs records which owner sent it. Where you saved a company Privy login, senduseCompanyLogin: trueinstead, and your trader wallets use that one. Removing it offers your traders no new wallets; a wallet already made stays in your app with its money. - Circle login. A Circle API key that reads your company’s developer-controlled wallets: a
Restricted Access key with Wallets set to Read,
TEST_API_KEYfor a sandbox venue andLIVE_API_KEYfor a production one. Your entity secret never comes to trdrs: your back office keeps it on your own server, makes your Circle company wallet and sends your moves there, and trdrs reads what it did. - Company Privy login. Your own Privy app’s ID and secret for your company wallet. Saving it makes the company wallet in that app, one address for each family of chains, and moves no money. A login for another Privy app makes a new company wallet there, and the wallet in the app before stays in that app with its money. Removing the login leaves the company wallet on record, unreachable, with its money in your Privy app.
- Company wallet platform. Your company wallet runs on one platform, Privy or Circle, and every money move the engine sends goes through it. With one company login saved it is that one. With both saved an owner picks, and until they do it is Privy. The wallet on the other platform stays readable, and moves send only from the one picked.
Routes
Manage your Venue keys
A Venue key is what your backend calls the Venue API with. The back office calls these API keys. Only an owner lists, creates and revokes keys, since no key can create another. A key names its scopes and lasts from 60 seconds to one year. Its token appears once, when it’s created, and a list shows each key’s name, scopes, expiry and revocation, never the token. A revoked key is refused on every later call, including one already under way that hasn’t reached its write. A sandbox key works only in the sandbox. A production key needs current conformance, trdrs’s commercial approval and billing first. Venue keys lists what each scope opens.Routes
Change the Advanced settings
Advanced holds the switches that decide how your venue’s money and orders run. Any member reads them, and only an owner changes them. Each read says whether the value is an owner’s or the engine’s default, and who last set it. A setting your engine doesn’t run reads null.
Sending a change again with the same
Idempotency-Key changes nothing.
Routes
Connect your company exchange accounts
Your venue can hold its own accounts at exchanges, for its own trading and as hedge accounts. Any member reads each account and where it stands; only an owner connects one, funds it, saves its deposit addresses or sets it up as a hedge account. A sandbox venue’s account is on the exchange’s testnet and a production venue’s on its mainnet.- Hyperliquid. Your company Hyperliquid account is your company wallet’s EVM address on Hyperliquid, so nothing new is made. It needs a saved company Privy login and its company wallet. Hyperliquid refuses every action from an account that never held money, so you fund it first: an owner’s deposit sends USDC from the company wallet on the funding chain to Hyperliquid’s bridge, at least 5 USDC, at once and only while the money rails are on. To send it under an Approve and the daily cap instead, propose a money move to the company Hyperliquid account. Connecting then has the company wallet approve a trading key for the account. trdrs makes that key, keeps it encrypted and never answers it, and it can’t withdraw.
- Monaco. Your company Monaco account is also your company wallet’s EVM address. You fund it
first, then connecting grants a trading key over its perpetuals account, which can’t withdraw. A
deposit is sent on Sei, where the company wallet pays each network fee in SEI it holds, so send it
SEI first. Deposits run only in the sandbox: production refuses them as
deposit_off_in_production. Company Monaco quoting answers Monaco’s requests for quote from this account as a maker, on terms an owner sets. - Backpack. Backpack makes API keys on its own website, so connecting makes a signing wallet in your company Privy app and answers its public key. You register that key on the Backpack account you mean, then verify, which makes one signed read at Backpack and records the account connected. The signing wallet holds no money; the account’s money is at Backpack. Company Backpack quoting answers Backpack’s requests for quote on the spread and largest notional an owner sets. Backpack offers no way to withdraw a quote, so a quote already sent stands until its request expires, even after quoting is switched off.
- Binance, Bybit and Alpaca. An owner pastes an API key and its secret. The engine first reads what the key may do, and keeps it only where it can read and trade and can neither withdraw nor move money to another account; any other key is refused with what to turn off at the exchange. The key is kept encrypted and never answered. Alpaca offers no key that can’t withdraw, so an Alpaca key is kept only while its crypto withdrawal allow-list holds your company wallet’s own addresses alone, and each read names any other address added since. Alpaca accounts are read and traded, never hedge accounts.
Routes
Choose Connect and Demo for your traders
Choose which tiles your traders get in Connect in the trading platform, in your order, and whether they can open white-label paper, your tile for the paper book under your venue’s name and logo, and at what balance its Demo opens. A trader your venue holds, as its trader or by an account it issued or granted them, gets your choices, and everyone else, signed-out visitors included, gets the choices of the venue that runs the trdrs app. Each answer says inrunsTheApp whether that venue is
yours.
Any member reads both. Until your first change, the tiles read every tile on at revision 0. The
Demo reads connectApp: null with what your traders get now: white-label paper on at 100,000, at
revision 0.
- Connect tiles. The tiles you choose from are those of the providers a trader signs in to with a
login of their own, and of the venues that run on them. Each is named by its
slug, which is the same in the sandbox and in production, and carries itsentry(venueorprovider) and theproviderit opens. SendautoEnable, whether a tile trdrs lists later joins on by itself, theenabledslugs, andorderif you change it. Switching a tile off stops new connections to it at once and disconnects nothing a trader already connected. - White-label paper. Whether your traders can open a Demo, and the whole US dollars a new one opens with, from 1,000 to 10,000,000. A Demo already open keeps the balance it opened with.
- Revisions. Each change sends the
revisionyou read asexpectedRevision, and a change made from an older read is refused asversion_conflict. With revision 0, your first change records your venue’s choices. An owner or an editor changes the tiles, and an owner the Demo.
Routes
Sign the agreement and go to production
A sandbox venue doesn’t ask for production from the back office: once it passes conformance, trdrs upgrades it and sets your account prices in one step, as Upgrade to production explains. The production venue it makes is held, and issues no accounts, production keys or listing until an owner does two things, in either order: signs the Venue agreement, and accepts the Venue terms and saves a card in billing. When both are done the venue operates. Any member reads the production standing: whether the venue isheld or operating, whether the
agreement is signed and billing connected, what comes next, and whether there is a newer agreement
to sign. A venue that wasn’t upgraded answers 404. Only an owner reads the agreement, with its
pricing schedule, and signs it with the company’s legal details and authority: true. If the
agreement or its prices changed after you read them, signing is refused as agreement_stale with
the current versions, so read it again. A newer agreement binds your venue only once an owner signs
it, and your venue keeps operating meanwhile.
Routes
Next steps
Back Office
Install the back office and walk through money moves, swaps and the upgrade to production.
Venue keys
Create the key your backend uses and see what each scope opens.
Hedging
Pick a hedge account for your groups with a hedging policy.
Tiles and white-label paper
Choose the tiles and Demos a Connect app offers its own traders.