Skip to main content
Pre-register an account when a trader already holds it at a provider and you want it waiting for them in trdrs. A registration says the account exists and names the trader who should see it. It holds the trader’s email, the account number and the login name, and only the trader’s own login links the account, which makes it safe to send straight from your onboarding pipeline. Use this page when you connect your onboarding to trdrs. By the end you can create a registration, read every registration’s status, and cancel one that’s still pending.

See how pre-registration works

You register the account, the trader signs in and finds it waiting, they enter their own login, and the account links once the provider accepts it.
  1. You onboard the trader yourself, including every message to them and delivering their login at the provider securely.
  2. You pre-register the account with your pre-registration key: the trader’s trdrs sign-in email, the account number and the login name you issued. That’s all a registration holds.
  3. The trader signs in to trdrs, finds the registration waiting in Connect in the trading platform, and enters their own login.
  4. The account links once the provider accepts that login. The login goes into trdrs’s encrypted vault, and you follow the registration’s status.
A registration names an account for the trader to link. Trading on it stays with the trader, and you tell them about it yourself. Pre-registration fills Connect in the trdrs trading platform, for traders who sign in to trdrs. If your traders sign in only to your own app, you build on Connect instead, and need no registration.

Know which provider a registration uses

A registration uses the built-in provider and system already set on your venue. trdrs takes both from your venue, not from the request, so a registration only names an account at a provider trdrs runs. Whether a trader can link also depends on the environment and on their own access at the provider. A registration adds no provider. A market trdrs doesn’t connect to reaches a venue as a public provider, written against the provider contract and passed through provider conformance. A published datafeed adds market data only.

Before you start

  • Your venue names a built-in provider and system. trdrs sets both on your venue, and a registration takes them from there.
  • You have a pre-registration key. Pre-registration is part of Connect and uses a pre-registration key (trdrs_sk_...), kept on your server. A Venue key or a Trading API key is refused here.
The examples use TRDRS_API_BASE_URL and TRDRS_PRE_REGISTRATION_KEY from your server’s environment.
1

Create the registration

Send the trader’s trdrs sign-in email, which is the only required field, plus the accountNumber at the provider when you know it and the venueLogin, the login name you issued there.
The response is 200 with the registration: its id, the email, accountNumber and venueLogin you sent, the built-in provider it resolved to (the field is named provider), the system, status: "pending", createdAt, an expiresAt 30 days out, and linkedAt: null. accountNumber can be at most 40 characters and venueLogin at most 60.When the trader signs in with that same email, they find the account waiting. Your tile opens with your system filled in, and the trader enters their own login at the provider to finish.
2

Send it again safely

Registering is idempotent for each pair of email and accountNumber. Sending a pair that’s pending or expired refreshes its 30-day window, and its system and venueLogin, instead of creating a second registration. Once a registration is linked or cancelled, the same pair creates a new one. A pipeline that stopped halfway through a batch can run again, and a trader whose window lapsed gets a fresh one from the same call.A different account for the same trader is a different pair, so it’s a new registration. One registration is one account, so make a new one for a new account rather than reusing an old one.
3

List your registrations

Read your venue’s 200 most recent registrations, newest first. This is your audit view: who you invited, and who actually arrived.
The response names your venue in venue and lists its registrations, for your own venue alone: trdrs finds it from the key.
4

Cancel one that's still pending

Take back a registration after a refund, a reassignment or a mistake. Pass its id as a query parameter.
The response is { "id": "3f9c2b1e-8a4d-4c6b-9e2f-1a7d5c0b8e34", "revoked": true }, and the registration’s status reads revoked. You can cancel a registration that’s pending or expired. A linked one can’t be cancelled, because the trader holds the account through their own login; ending that relationship is between you and the provider.

Read each status

Keep the login out of the request

The login moves from your venue to the trader through your own onboarding, and from the trader to trdrs’s encrypted vault when they sign in to the provider. It never passes through this API or through an email from trdrs: trdrs sends the trader no message at all, so telling them and giving them their login is entirely your job.
  • venueLogin is a label, not a secret. It’s the login name you issued, so Connect can show the trader which login to use. Never put anything password-like in it.
  • There’s no field for a password, and the route reads no field it doesn’t define. A conformance run fails any registration that carries a credential field, such as password or token.

Handle errors

Test it end to end

In the sandbox, with a test trader who has signed up there:
  1. Register the trader’s email with a test account number, and save the id.
  2. Register the same email and account number again. You get the same id with a later expiresAt.
  3. List your registrations and find it as pending.
  4. Cancel it, then cancel it again. The second call answers 404.

Next steps

Follow registrations

Hear on your server when a trader links an account.

Get listed

Put your name and logo on the tile your traders pick in Connect.

Venue accounts

Issue accounts on the paper book instead, for evaluations.

Read your usage

See what a linked account costs, and reconcile your invoice.