AGG is currently in alpha. APIs, components, and docs may change.
Agg.market — Prediction Market Aggregator logo

Create a paper trading account

Create a paper trading account

POSThttps://api.agg.market/apps/{appId}/paper-trading/accounts
Loading code example
Loading code example

Authorizations

appApiKeystringheaderrequired

API key passed in the header.

Path Parameters

appIdstringrequired

Body

namestring
Length: >= 1, <= 120
externalIdstring
Length: >= 1, <= 160
initialBalanceRawstring
Pattern: ^[0-9]+$
initialBalancenumber
Required range: x >= 0

Response

application/json

201

idstringrequired
appIdstringrequired
namestringrequired
externalIdstringrequired
currencystringrequired
startingBalanceRawstringrequired
startingBalancenumberrequired
cashBalanceRawstringrequired
cashBalancenumberrequired
realizedPnlRawstringrequired
realizedPnlnumberrequired
kycStatus"verified"required
Allowed values: "verified"
kycVerifiedtruerequired
Allowed values: true
status"active" | "archived"required
Allowed values: "active" | "archived"
createdAtstringrequired
updatedAtstringrequired