> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.crisscross.money/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.crisscross.money/_mcp/server.

# List accounts

GET https://api.crisscross.money/v1/toc/accounts

Returns all accounts (beneficiary and funding) for the authenticated organisation,
ordered by creation time descending. Use the `cursor` parameter to page through results.


Reference: https://docs.crisscross.money/api-reference/toc-api/accounts/list-accounts

## Authentication

- `Authorization` header (bearer token, required) — Token obtained via the login flow.

## Request

### Query parameters

- `limit` (integer, optional, default: 20) — Number of items to return (1–100, default 20).
- `cursor` (string, optional) — Opaque pagination cursor returned by a previous response.
- `type` (enum, optional) — Filter accounts by type. Omit to return both beneficiary and deposit accounts.
  - Allowed values: `beneficiary`, `deposit`

## Response

### 200

Paginated list of accounts.

- `accounts` (list of TocAccount, required)
- `hasMore` (boolean, required)
- `nextCursor` (string, required, nullable)

## Errors

### 400 Bad Request Error

Bad request — validation or malformed request.

- `error` (ErrorEnvelopeError, required)

### 401 Unauthorized Error

Unauthorized — missing or invalid token.

- `error` (ErrorEnvelopeError, required)

## Types

### TocAccount

- `accountId` (string, required)
- `type` (enum, required) — `beneficiary` — outbound payment destination; `deposit` — inbound funding account.
  - Allowed values: `beneficiary`, `deposit`
- `currency` (string, optional) — ISO 4217.
- `accountHolder` (string, optional)
- `accountNumber` (string, optional)
- `iban` (string, optional)
- `bic` (string, optional)
- `swiftReference` (string, optional)
- `bankName` (string, optional)
- `country` (string, optional) — ISO 3166-1 alpha-2.
- `address` (Address, optional)
- `bankCountry` (string, optional) — ISO 3166-1 alpha-2 country code of the beneficiary's bank.
- `status` (enum, optional)
  - Allowed values: `pending`, `active`

### ErrorEnvelopeError

- `code` (string, required) — Stable machine-readable identifier. Branch on this, not `message`. Common values: `INVALID_REQUEST`, `UNAUTHENTICATED`, `FORBIDDEN`, `RATE_NOT_AVAILABLE`, `RATE_NOT_FOUND`, `CURRENCY_NOT_SUPPORTED`, `CURRENCY_NOT_PROVISIONED`, `QUOTE_NOT_FOUND`, `QUOTE_EXPIRED`, `QUOTE_NOT_EXECUTABLE`, `ORDER_NOT_FOUND`, `DEPOSIT_NOT_FOUND`, `BENEFICIARY_NOT_FOUND`, `BENEFICIARY_NOT_ACTIVE`, `CURRENCY_MISMATCH`, `INSUFFICIENT_BALANCE`, `AMOUNT_OUT_OF_RANGE`, `WITHDRAWAL_NOT_FOUND`, `WITHDRAWAL_NOT_CANCELLABLE`, `IDEMPOTENCY_CONFLICT`, `INVALID_CURSOR`.
- `message` (string, required) — Human-readable description. Do not parse.
- `details` (map from string to any, optional) — Structured context about the error. Shape varies per code.

### Address

- `line1` (string, optional)
- `line2` (string, optional, nullable)
- `city` (string, optional)
- `postcode` (string, optional)
- `country` (string, optional) — ISO 3166-1 alpha-2.

## Examples

**Response**

```json
{
  "accounts": [
    {
      "accountId": "acc_550e8400-e29b-41d4-a716-446655440000",
      "type": "beneficiary",
      "currency": "USD",
      "accountHolder": "Acme Corp",
      "accountNumber": "123456789",
      "bic": "CHASUS33",
      "bankName": "JPMorgan Chase Bank",
      "country": "US",
      "bankCountry": "US",
      "status": "active"
    },
    {
      "accountId": "acc_661f9511-f3ac-52e5-b827-557766551111",
      "type": "deposit",
      "currency": "ZAR",
      "accountHolder": "CrissCross TOC Account",
      "accountNumber": "987654321",
      "bic": "SBZAZAJJ",
      "bankName": "Standard Bank",
      "country": "ZA",
      "bankCountry": "ZA",
      "status": "active"
    }
  ],
  "hasMore": false,
  "nextCursor": null
}
```

**SDK Code**

```python Accounts_listAccounts_example
import requests

url = "https://api.crisscross.money/v1/toc/accounts"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript Accounts_listAccounts_example
const url = 'https://api.crisscross.money/v1/toc/accounts';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go Accounts_listAccounts_example
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.crisscross.money/v1/toc/accounts"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby Accounts_listAccounts_example
require 'uri'
require 'net/http'

url = URI("https://api.crisscross.money/v1/toc/accounts")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java Accounts_listAccounts_example
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.crisscross.money/v1/toc/accounts")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php Accounts_listAccounts_example
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.crisscross.money/v1/toc/accounts', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp Accounts_listAccounts_example
using RestSharp;

var client = new RestClient("https://api.crisscross.money/v1/toc/accounts");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift Accounts_listAccounts_example
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.crisscross.money/v1/toc/accounts")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```