Skip to main content
WSS
Sandbox only. These messages are not part of the production API: in production they answer MALFORMED. See Sandbox funding.
ed25519Signature
type:asymmetricEncryption

Each client registers an Ed25519 public key with Securitize beforehand; the private key never leaves the client. hello, place_order, cancel_order, submit_crypto_funding, sandbox_deposit and sandbox_withdraw carry timestamp (Unix seconds) and signature = base58( Ed25519-Sign( privateKey, timestamp + "." + type + "." + payloadBytes ) ), where payloadBytes are the exact bytes of payload as sent on the wire. The timestamp must be within 30 seconds of the server clock. Other messages ride on the session hello opens.

sandbox_deposit
type:object

Sandbox only. Moves USD from Securitize into your own cash. Signed.

sandbox_withdraw
type:object

Sandbox only. Moves USD out of your own cash. Signed.

ack (sandbox_deposit)
type:object

Sandbox only. The deposit was requested, was requested before, was cancelled, or got no answer in time.

ack (sandbox_withdraw)
type:object

Sandbox only. The withdrawal was requested, was requested before, was cancelled, or got no answer in time.

error
type:object

A request was refused. Most errors leave the socket open.