OANDA · Example Payload

Listaccounts

ForexFX TradingCFD TradingFinancial ServicesTrading APIs

Listaccounts is an example object payload from OANDA, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

operationIdsummarymethodpathparametersresponses

Example Payload

listAccounts.json Raw ↑
{
  "operationId": "listAccounts",
  "summary": "List Accounts",
  "method": "GET",
  "path": "/accounts",
  "parameters": {},
  "responses": {
    "200": {
      "description": "The list of authorized Accounts has been provided.",
      "schema_ref": ""
    },
    "401": {
      "description": "",
      "schema_ref": ""
    },
    "405": {
      "description": "",
      "schema_ref": ""
    }
  }
}