{
  "info": {
    "_postman_id": "8d652d95-8068-a78b-8edf-6acb9e299a72",
    "name": "Parity API (sandbox)",
    "description": "Generated from the Parity OpenAPI document. Import the sandbox environment beside it and fill in baseUrl (the host issued to you), apiKey (your pk_test_ key) and externalUserId (your id for a test player).",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "bearer",
    "bearer": [
      {
        "key": "token",
        "value": "{{apiKey}}",
        "type": "string"
      }
    ]
  },
  "item": [
    {
      "name": "Catalogue",
      "description": "Events, outcomes and categories. Scope `markets:read`.",
      "item": [
        {
          "id": "70a893da-800e-6983-e4c6-cea2306e32a8",
          "name": "List events: GET /api/v1/events",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/events",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "events"
              ],
              "query": [
                {
                  "key": "updated_since",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "category",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "sport",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "league",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "sort",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "dir",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "search",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "tradable",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "closesAfter",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "closesBefore",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "25",
                  "disabled": true
                },
                {
                  "key": "locale",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "The partner catalogue, cursor-paged"
          }
        },
        {
          "id": "f78a1d04-fe8e-ed3c-0f06-b657ba9b2459",
          "name": "Get event: GET /api/v1/events/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/events/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "events",
                ":id"
              ],
              "query": [
                {
                  "key": "locale",
                  "value": "",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "One event, with every outcome"
          }
        },
        {
          "id": "73f7b2ad-d352-6e6b-6ab5-931cc61e2c27",
          "name": "List categories: GET /api/v1/categories",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/categories",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "categories"
              ]
            },
            "description": "The values `?category=` accepts, with live counts"
          }
        },
        {
          "id": "0bcf6946-f19b-fa4b-c434-8af949b3c268",
          "name": "Get event image: GET /api/v1/images/{id}",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/images/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "images",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Event artwork, from Parity’s own origin"
          }
        }
      ]
    },
    {
      "name": "Trading",
      "description": "Quotes and orders. Scopes `quotes:write` / `orders:write` / `orders:read`.",
      "item": [
        {
          "id": "4cc929e7-4b7d-f8cf-f06a-3806d5ff0bcb",
          "name": "Create quote: POST /api/v1/quotes",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Parity-User",
                "value": "{{externalUserId}}"
              },
              {
                "key": "X-Request-Id",
                "value": "",
                "disabled": true
              },
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"marketId\": \"string\",\n  \"side\": \"YES\",\n  \"action\": \"buy\",\n  \"stake\": 1\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/quotes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "quotes"
              ]
            },
            "description": "Price a trade, and hold that price"
          }
        },
        {
          "id": "43ab2f47-93d7-1b47-65df-699b94773c5b",
          "name": "List orders: GET /api/v1/orders",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/orders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "orders"
              ],
              "query": [
                {
                  "key": "externalUserId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "clientOrderId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "since",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "until",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "scope",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Order history, newest first"
          }
        },
        {
          "id": "503c5cdf-dabd-fed5-b482-2823a5d54053",
          "name": "Submit order: POST /api/v1/orders",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Parity-User",
                "value": "{{externalUserId}}"
              },
              {
                "key": "X-Request-Id",
                "value": "",
                "disabled": true
              },
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"quoteId\": \"string\",\n  \"clientOrderId\": \"string\",\n  \"executionIntent\": \"record_intent\",\n  \"maxSlippage\": 0,\n  \"reserveReference\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/orders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "orders"
              ]
            },
            "description": "Spend a quote. Idempotent on `clientOrderId`"
          }
        },
        {
          "id": "60678fb1-71a0-116d-447c-57e071101aac",
          "name": "Get order: GET /api/v1/orders/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/orders/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "orders",
                ":id"
              ],
              "query": [
                {
                  "key": "fills",
                  "value": "",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Read one order back. THE RECOVERY PATH"
          }
        },
        {
          "id": "897d676c-ea22-bb59-91b5-f685aacdd5fb",
          "name": "Get trade confirmation: GET /api/v1/orders/{id}/confirmation",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/orders/:id/confirmation",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "orders",
                ":id",
                "confirmation"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "The trade confirmation for one order"
          }
        },
        {
          "id": "d1903df5-5d26-2973-570c-8962e59a2ebe",
          "name": "Confirm order reserve: POST /api/v1/orders/{id}/confirm-reserve",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reserveReference\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/orders/:id/confirm-reserve",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "orders",
                ":id",
                "confirm-reserve"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Confirm the customer’s funds are held. The order becomes executable"
          }
        },
        {
          "id": "54d20a6d-0db1-2ba5-13e4-1b2a321d058c",
          "name": "Cancel order: POST /api/v1/orders/{id}/cancel",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"reason\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/orders/:id/cancel",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "orders",
                ":id",
                "cancel"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Withdraw an order that was never transmitted. Returns a release instruction"
          }
        }
      ]
    },
    {
      "name": "Positions",
      "description": "What a customer holds. Scope `positions:read`.",
      "item": [
        {
          "id": "aa6ceeaf-e982-5857-cfda-f90c3513e8fb",
          "name": "List positions: GET /api/v1/positions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/positions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "positions"
              ],
              "query": [
                {
                  "key": "externalUserId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "scope",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "What an operator’s customers currently hold"
          }
        },
        {
          "id": "8da575f8-4ed1-9797-fe04-d766e67621f0",
          "name": "Get position: GET /api/v1/positions/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/positions/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "positions",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "One position"
          }
        }
      ]
    },
    {
      "name": "Settlement",
      "description": "What resolved, and what it pays. Scope `settlements:read`.",
      "item": [
        {
          "id": "20467ece-316d-4f94-29e9-9674cfa3c3ed",
          "name": "List settlements: GET /api/v1/settlements",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/settlements",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "settlements"
              ],
              "query": [
                {
                  "key": "externalUserId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "outcome",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "settledFrom",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "settledTo",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "100",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "scope",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "The settlement register. What settled, and what it paid"
          }
        },
        {
          "id": "4c15e2c7-e253-a2b1-7cf3-bab4b7ef1f0c",
          "name": "List position settlements: GET /api/v1/settlements/positions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/settlements/positions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "settlements",
                "positions"
              ],
              "query": [
                {
                  "key": "since",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "100",
                  "disabled": true
                }
              ]
            },
            "description": "Legacy position-settlement feed. Superseded"
          }
        }
      ]
    },
    {
      "name": "Reconciliation",
      "description": "The verdict and the fact stream. Scope `ledger:read`.",
      "item": [
        {
          "id": "1a0a58d7-371f-90c0-4748-c20ff6e5a9ad",
          "name": "Get reconciliation report: GET /api/v1/reconciliation",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reconciliation",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reconciliation"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "The verdict: do Parity, the cash ledger and the venue agree?"
          }
        },
        {
          "id": "ef690f08-8410-cce3-15be-7ee38b8692fb",
          "name": "Read reconciliation feed: GET /api/v1/reconciliation/feed",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/reconciliation/feed",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "reconciliation",
                "feed"
              ],
              "query": [
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "type",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "externalUserId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "100",
                  "disabled": true
                }
              ]
            },
            "description": "Every money fact, in one totally ordered, resumable stream"
          }
        },
        {
          "id": "76f333e8-487d-a48a-5c4b-c1b7c8faa952",
          "name": "List audit: GET /api/v1/audit",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/audit",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "audit"
              ],
              "query": [
                {
                  "key": "since",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "until",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "100",
                  "disabled": true
                },
                {
                  "key": "format",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Your audit trail: every change to your account, newest first"
          }
        }
      ]
    },
    {
      "name": "Account",
      "description": "Who a key acts for, and what is paused for an account. Scope `orders:read`.",
      "item": [
        {
          "id": "b5851016-a4f5-4317-3b2d-f89a8c7c1467",
          "name": "List child operators: GET /api/v1/operators/children",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/operators/children",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "operators",
                "children"
              ]
            },
            "description": "The operators your key acts for"
          }
        },
        {
          "id": "3d83cbc8-1e41-a9bf-0873-36e6b2446d26",
          "name": "Get account status: GET /api/v1/status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "status"
              ]
            },
            "description": "What is paused for this account, and until when it may trade"
          }
        }
      ]
    },
    {
      "name": "Embed",
      "description": "Trade an API key for a short-lived token a BROWSER may hold. Requires `markets:read`, `quotes:write` and `orders:write` together. The three things an embed session can do.",
      "item": [
        {
          "id": "4d7cb047-8652-520f-e46d-b4aafbf6fa89",
          "name": "Create embed session: POST /api/v1/embed-sessions",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"externalUserId\": \"string\",\n  \"returnOrigin\": \"https://casino.example\",\n  \"locale\": \"pt-BR\",\n  \"region\": \"br\",\n  \"jurisdiction\": {\n    \"country\": \"MT\",\n    \"subdivision\": \"NY\"\n  },\n  \"theme\": {},\n  \"ttlSeconds\": 900\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/embed-sessions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "embed-sessions"
              ]
            },
            "description": "Exchange an API key for a browser-safe session"
          }
        },
        {
          "id": "41cd6898-b31f-26d5-1c4a-1800a35cbd3b",
          "name": "Revoke embed session: DELETE /api/v1/embed-sessions/{id}",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/embed-sessions/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "embed-sessions",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "End an embed session now"
          }
        }
      ]
    },
    {
      "name": "Sandbox",
      "description": "Endpoints that model a Parity-held balance. `403 sandbox_only` in live mode; not the production integration path.",
      "item": [
        {
          "id": "c52d4be3-bfbf-5b9f-6d8b-1232337415ec",
          "name": "Get sandbox balance: GET /api/v1/users/{id}/balance",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/balance",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "balance"
              ],
              "query": [
                {
                  "key": "currency",
                  "value": "USD",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "A Parity-held balance. SANDBOX ONLY"
          }
        },
        {
          "id": "65774963-2fd3-04fc-1edd-b94125ebf569",
          "name": "List sandbox movements: GET /api/v1/users/{id}/ledger",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/ledger",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "ledger"
              ],
              "query": [
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "The statement behind that balance. SANDBOX ONLY"
          }
        },
        {
          "id": "c0f39186-8d13-5be4-0a1c-a39a418c3e45",
          "name": "List sandbox scenarios: GET /api/v1/sandbox/scenarios",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/sandbox/scenarios",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "sandbox",
                "scenarios"
              ],
              "query": [
                {
                  "key": "disarm",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "What you have armed. SANDBOX ONLY"
          }
        },
        {
          "id": "e91ac805-5d03-15dc-e710-ed98fba595e1",
          "name": "Arm sandbox scenario: POST /api/v1/sandbox/scenarios",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"kind\": \"partial_fill\",\n  \"fillFraction\": 0.5,\n  \"fillAmountMinor\": 987,\n  \"clientOrderId\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/sandbox/scenarios",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "sandbox",
                "scenarios"
              ]
            },
            "description": "Arm a deterministic partial fill for your next order. SANDBOX ONLY"
          }
        },
        {
          "id": "b45652bb-b043-7931-946a-038ee72d3db0",
          "name": "Resolve sandbox position: POST /api/v1/sandbox/resolutions",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"positionId\": \"string\",\n  \"resolution\": \"WIN\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/sandbox/resolutions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "sandbox",
                "resolutions"
              ]
            },
            "description": "Settle one of your positions on demand. SANDBOX ONLY"
          }
        },
        {
          "id": "a8fe9f94-614b-29c4-6ef1-cbd0923a1b4c",
          "name": "List supported assets: GET /api/v1/funding/supported-assets",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/funding/supported-assets",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "funding",
                "supported-assets"
              ],
              "query": [
                {
                  "key": "symbol",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "symbols",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "chainId",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "Fundable asset/chain pairs, read live. SANDBOX ONLY"
          }
        },
        {
          "id": "c7303f7e-49e8-f21f-deef-bb7ab5205c4c",
          "name": "Create deposit address: POST /api/v1/funding/deposit-address",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Parity-User",
                "value": "{{externalUserId}}"
              },
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"asset\": \"string\",\n  \"chainId\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/funding/deposit-address",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "funding",
                "deposit-address"
              ]
            },
            "description": "Open a funding route for one customer. SANDBOX ONLY"
          }
        },
        {
          "id": "e4a66e89-21ae-d642-23ad-24d692226f94",
          "name": "Get deposit: GET /api/v1/funding/deposits/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/funding/deposits/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "funding",
                "deposits",
                ":id"
              ],
              "query": [
                {
                  "key": "sync",
                  "value": "true",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Where one deposit has got to. SANDBOX ONLY"
          }
        }
      ]
    },
    {
      "name": "Live prices",
      "description": "Prices pushed over Server-Sent Events to an embedded surface. No API key: a browser cannot hold one. An embed session token, when presented, applies that operator’s offering policy.",
      "item": [
        {
          "id": "4ac6cdef-7a31-aeea-e263-02750edea656",
          "name": "Stream prices: GET /api/v1/stream/prices",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [
              {
                "key": "Last-Event-ID",
                "value": "",
                "disabled": true
              },
              {
                "key": "Authorization",
                "value": "Embed pes1....",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/stream/prices?contracts=",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "stream",
                "prices"
              ],
              "query": [
                {
                  "key": "contracts",
                  "value": ""
                }
              ]
            },
            "description": "Live prices for an embedded surface, over Server-Sent Events"
          }
        }
      ]
    },
    {
      "name": "Users",
      "description": "What you assert about one of your customers, and what they did: wager limits, status (suspend, self-exclude, reinstate), jurisdiction, and the customer statement. Limit and status writes need `orders:write`, and their reads take `orders:read` or `orders:write`. The jurisdiction read needs `markets:read`.",
      "item": [
        {
          "id": "b75e0a7e-cca8-effc-a9c0-5c3031d19618",
          "name": "Get user wager limits: GET /api/v1/users/{id}/limits",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/limits",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "limits"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "One customer's wager limits, and what actually applies"
          }
        },
        {
          "id": "5b8615fe-4e1a-08bc-e047-c24f3f5d5008",
          "name": "Set user wager limits: PUT /api/v1/users/{id}/limits",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"maxWagerMinor\": 1,\n  \"periodStakeMinor\": 1,\n  \"periodHours\": 1,\n  \"note\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/limits",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "limits"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Set one customer's wager limits"
          }
        },
        {
          "id": "751ab223-26a3-b9a6-fd94-e99ad61bfe0c",
          "name": "Update user wager limits: PATCH /api/v1/users/{id}/limits",
          "request": {
            "method": "PATCH",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"maxWagerMinor\": 1,\n  \"periodStakeMinor\": 1,\n  \"periodHours\": 1,\n  \"note\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/limits",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "limits"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Change some of one customer's wager limits, keeping the rest"
          }
        },
        {
          "id": "34f941ad-65f3-3c99-295e-e10baa5c11bb",
          "name": "Clear user wager limits: DELETE /api/v1/users/{id}/limits",
          "request": {
            "method": "DELETE",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/limits",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "limits"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Clear one customer's account-rung limits"
          }
        },
        {
          "id": "2a6dafdf-9418-20f7-ba97-509d9a9918a7",
          "name": "Get user status: GET /api/v1/users/{id}/status",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "status"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "One customer's status: active, or suspended and why"
          }
        },
        {
          "id": "ec304628-069d-c116-fa8f-ae3dc541c7ed",
          "name": "Set user status: PUT /api/v1/users/{id}/status",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"status\": \"active\",\n  \"reason\": \"self_exclusion\",\n  \"note\": \"string\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "status"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Suspend, self-exclude or reinstate one customer"
          }
        },
        {
          "id": "fed680d1-26c1-f9ba-696c-83ccce7433d8",
          "name": "Get user statement: GET /api/v1/users/{id}/statement",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/statement",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "statement"
              ],
              "query": [
                {
                  "key": "from",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "to",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "format",
                  "value": "",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "One customer's statement for a period, live or sandbox"
          }
        },
        {
          "id": "a4105c6e-4061-1bad-b376-fdbd84cfd479",
          "name": "Get user jurisdiction: GET /api/v1/users/{id}/jurisdiction",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/jurisdiction",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "jurisdiction"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "What you told us, and what we observed"
          }
        },
        {
          "id": "7a21291a-4951-31c3-b2ec-7cc63e67bf2f",
          "name": "Assert user jurisdiction: PUT /api/v1/users/{id}/jurisdiction",
          "request": {
            "method": "PUT",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"country\": \"MT\",\n  \"subdivision\": \"NY\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/users/:id/jurisdiction",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "users",
                ":id",
                "jurisdiction"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "State where one of your customers is"
          }
        }
      ]
    },
    {
      "name": "Status",
      "description": "Whether Parity is up, for your own monitoring. Public: no key needed.",
      "item": [
        {
          "id": "fd78918a-c79d-af26-9093-5c791c33c146",
          "name": "Get system status: GET /api/v1/system-status",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/system-status",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "system-status"
              ]
            },
            "description": "Is Parity up? Public, no key needed"
          }
        },
        {
          "id": "e32392d5-5bd3-91e8-09ab-0d0a7a3c72f0",
          "name": "Get system status feed: GET /api/v1/system-status/feed",
          "request": {
            "auth": {
              "type": "noauth"
            },
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{baseUrl}}/api/v1/system-status/feed",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "system-status",
                "feed"
              ]
            },
            "description": "Incidents as an Atom feed. Public, no key needed"
          }
        }
      ]
    },
    {
      "name": "Players",
      "description": "What your players did: market pages viewed, prices quoted, trades, cash outs and settlements, for your own personalisation. Scope `players:read`, which no key holds by default.",
      "item": [
        {
          "id": "b99387a7-bf34-3b90-622b-c6541bf453ac",
          "name": "List player activity: GET /api/v1/players/activity",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/players/activity",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "players",
                "activity"
              ],
              "query": [
                {
                  "key": "updated_since",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "type",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "100",
                  "disabled": true
                }
              ]
            },
            "description": "What your players did, in order: views, quotes, trades, cash outs and settlements"
          }
        },
        {
          "id": "7a09efd5-3f01-2012-2cc1-b5dfce6935de",
          "name": "List one player activity: GET /api/v1/players/{id}/activity",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/players/:id/activity",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "players",
                ":id",
                "activity"
              ],
              "query": [
                {
                  "key": "updated_since",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "type",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "100",
                  "disabled": true
                }
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "One player’s activity, by your own id for them"
          }
        }
      ]
    },
    {
      "name": "Combos (optional)",
      "description": "OPTIONAL. A combo joins 2 to 50 legs, each one side of one contract, into one trade that pays only if every leg wins; a leg that is voided, or that its market settles at 50 percent, counts as half and halves the payout. Combos are an add-on that only Parity can enable. They are off for every operator until Parity enables them for that operator, and until then every operation here answers `404 not_found`. In the sandbox they are priced but not placed, and an order is placed only for a player whose balance Parity holds: otherwise `POST /api/v1/combos/orders` answers `404 not_available` with a `reason`, before anything is held. No embed layout version carries combos today: they would reach a frame only as a new layout version, never a frame pinned to an earlier one. An integration that ignores combos sees no change: no existing endpoint, field or webhook changes, and the `combo.*` webhook types reach only an endpoint that lists them by name. The price is one all-in figure. On these endpoints every amount is an integer in minor units with its currency; the `combo.*` webhooks carry exact decimal strings beside their currency, as every other event does. Your operator’s caps only tighten, under platform ceilings of a $50 stake, a $2,500 payout, a 100x multiple and $25,000 of open combo liability. Every new combo shares one platform budget for firm prices, so at peak a new combo may answer `409 combos_busy` (nothing is held) or end `not_filled` with reason `busy` (the hold is released): try again in a moment. Each leg names the pick in the player’s words (`title`), so a slip or receipt can be drawn from the combo alone.",
      "item": [
        {
          "id": "a1f56908-e691-06ca-bc59-3d6f9caf1c83",
          "name": "Create combo quote: POST /api/v1/combos/quotes",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Parity-User",
                "value": "{{externalUserId}}"
              },
              {
                "key": "X-Request-Id",
                "value": "",
                "disabled": true
              },
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"legs\": [\n    {\n      \"marketId\": \"ctr_753564b3291bcd92\",\n      \"side\": \"yes\"\n    }\n  ],\n  \"stakeMinor\": 1,\n  \"currency\": \"USD\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/combos/quotes",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "combos",
                "quotes"
              ]
            },
            "description": "Price a combo (optional)"
          }
        },
        {
          "id": "d96ecce9-42cc-5b40-a5d4-b72c6d929fe0",
          "name": "Place combo order: POST /api/v1/combos/orders",
          "request": {
            "method": "POST",
            "header": [
              {
                "key": "X-Parity-User",
                "value": "{{externalUserId}}"
              },
              {
                "key": "X-Request-Id",
                "value": "",
                "disabled": true
              },
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              },
              {
                "key": "Content-Type",
                "value": "application/json"
              }
            ],
            "body": {
              "mode": "raw",
              "raw": "{\n  \"clientOrderId\": \"string\",\n  \"legs\": [\n    {\n      \"marketId\": \"ctr_753564b3291bcd92\",\n      \"side\": \"yes\"\n    }\n  ],\n  \"stakeMinor\": 1,\n  \"minPayoutMinor\": 1,\n  \"currency\": \"USD\"\n}",
              "options": {
                "raw": {
                  "language": "json"
                }
              }
            },
            "url": {
              "raw": "{{baseUrl}}/api/v1/combos/orders",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "combos",
                "orders"
              ]
            },
            "description": "Place a combo (optional)"
          }
        },
        {
          "id": "844c21fc-5cef-d3be-c7b2-c62a123832d3",
          "name": "Get combo order: GET /api/v1/combos/orders/{id}",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/combos/orders/:id",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "combos",
                "orders",
                ":id"
              ],
              "variable": [
                {
                  "key": "id",
                  "value": ""
                }
              ]
            },
            "description": "Read one combo back (optional)"
          }
        },
        {
          "id": "6c688dc4-a5f0-fbd9-b625-fee4bc9591d1",
          "name": "List combo positions: GET /api/v1/combos/positions",
          "request": {
            "method": "GET",
            "header": [
              {
                "key": "x-parity-operator",
                "value": "",
                "disabled": true
              }
            ],
            "url": {
              "raw": "{{baseUrl}}/api/v1/combos/positions",
              "host": [
                "{{baseUrl}}"
              ],
              "path": [
                "api",
                "v1",
                "combos",
                "positions"
              ],
              "query": [
                {
                  "key": "externalUserId",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "status",
                  "value": "",
                  "disabled": true
                },
                {
                  "key": "limit",
                  "value": "50",
                  "disabled": true
                },
                {
                  "key": "cursor",
                  "value": "",
                  "disabled": true
                }
              ]
            },
            "description": "A player’s combos, open or settled (optional)"
          }
        }
      ]
    }
  ]
}
