GET
/
api
/
v1
/
eoa-accounts
Retrieve the EOA accounts for the current user
const url = 'https://api.gnosispay.com/api/v1/eoa-accounts';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}, body: undefined};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
{
  "data": {
    "eoaAccounts": [
      {
        "id": "clp3j1f9a0000a1cdh6ezx2qv",
        "address": "0x1234567890abcdef1234567890abcdef12345678",
        "userId": "user_123",
        "createdAt": "2025-01-27T00:00:00Z"
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200
application/json

A list of EOA accounts for the current user.

The response is of type object.