{ "opencollection": "1.0.0", "info": { "name": "Deprecated eToro Public API operations Agent Portfolios Cash Accounts API", "version": "v1.158.0" }, "items": [ { "info": { "name": "Cash Accounts", "type": "folder" }, "items": [ { "info": { "name": "Get user cash accounts", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/money/accounts/cash", "headers": [ { "name": "x-request-id", "value": "" }, { "name": "x-api-key", "value": "" }, { "name": "x-user-key", "value": "" } ] }, "docs": "Returns the eligibility of a user to create a cash account, and lists the existing cash accounts including the related bank account details and the cards related to each account. The user is identified from the OAuth token." }, { "info": { "name": "Create a cash account", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/v1/money/accounts/cash", "headers": [ { "name": "x-request-id", "value": "" }, { "name": "x-api-key", "value": "" }, { "name": "x-user-key", "value": "" } ], "body": { "type": "json", "data": "{}" } }, "docs": "Initiates the creation of a cash account. The user must be eligible (IbanEligible or CardAndIbanEligible). Returns 202 Accepted with a requestReferenceId for polling status." }, { "info": { "name": "Get cash account creation eligibility", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/money/accounts/cash/eligibility", "headers": [ { "name": "x-request-id", "value": "" }, { "name": "x-api-key", "value": "" }, { "name": "x-user-key", "value": "" } ] }, "docs": "Returns the user's eligibility to create a cash account, along with prerequisites (T&C), contact info, and basic user info needed for account creation." }, { "info": { "name": "Get cash account creation status", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/money/accounts/cash/status", "headers": [ { "name": "x-request-id", "value": "" }, { "name": "x-api-key", "value": "" }, { "name": "x-user-key", "value": "" } ], "params": [ { "name": "requestReferenceId", "value": "", "type": "query", "description": "The requestReferenceId returned from the POST create endpoint." } ] }, "docs": "Polls the creation status of a previously submitted cash account creation request. Returns the account details when status is Success." }, { "info": { "name": "Get cash account by id", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/money/accounts/cash/:accountId", "headers": [ { "name": "x-request-id", "value": "" }, { "name": "x-api-key", "value": "" }, { "name": "x-user-key", "value": "" } ], "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Must equal CashAccount.id from the list endpoint." } ] }, "docs": "Returns a single cash account. The response body is identical in shape to one element of `accounts` from GET /api/v1/money/accounts/cash (CashAccount). Path accountId must match CashAccount.id for that element." }, { "info": { "name": "List cash account transactions (paginated)", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/v1/money/accounts/cash/:accountId/transactions", "headers": [ { "name": "x-request-id", "value": "" }, { "name": "x-api-key", "value": "" }, { "name": "x-user-key", "value": "" } ], "params": [ { "name": "accountId", "value": "", "type": "path", "description": "Cash account identifier (must equal CashAccount.id)." }, { "name": "pageSize", "value": "", "type": "query", "description": "Page size (default 50, max 500)." }, { "name": "pageToken", "value": "", "type": "query", "description": "Opaque pagination cursor from pagination.nextPageToken of the previous response." } ] }, "docs": "Returns a cursor-paginated list of transactions for the given cash account. Use pageSize and pageToken for pagination; nextPageToken is null when there is no next page." } ] } ], "bundled": true }