> ## Documentation Index
> Fetch the complete documentation index at: https://developers.pcibooking.net/llms.txt
> Use this file to discover all available pages before exploring further.

# List Digital Wallet Credentials

> Retrieve a list of all stored digital wallet credential IDs.

<Card title="Payments Library Credentials Guide" icon="book" href="/account-setup/payments-library-credentials">
  Configure credentials for Payments Library integrations
</Card>

Returns a list of all digital wallet credential IDs stored in your account.

## Error Responses

| Code    | HTTP Status | Condition                                                    |
| ------- | ----------- | ------------------------------------------------------------ |
| `-1003` | `401`       | API key is missing or invalid, or user type is not `Booker`. |

## Parameters

### Headers

<ParamField header="Authorization" type="string" required>
  Your API key prefixed with `APIKEY`. Example: `APIKEY your-api-key`. See the [Authentication guide](/getting-started/authentication).
</ParamField>

<RequestExample>
  ```javascript Node.js theme={null}
  const response = await fetch('https://service.pcibooking.net/api/eWalletAccounts', {
    method: 'GET',
    headers: {
      'Authorization': 'APIKEY your-api-key'
    }
  });
  const credentials = await response.json();
  credentials.forEach(cred => {
    console.log(cred.credentialsId, cred.name);
  });
  ```

  ```python Python theme={null}
  import requests

  response = requests.get(
      'https://service.pcibooking.net/api/eWalletAccounts',
      headers={'Authorization': 'APIKEY your-api-key'}
  )
  credentials = response.json()
  for cred in credentials:
      print(cred['credentialsId'], cred['name'])
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json 200 theme={null}
  [
      {
          "credentialsId": "my-googlepay",
          "name": "GooglePay"
      },
      {
          "credentialsId": "my-applepay",
          "name": "ApplePay"
      }
  ]
  ```

  ```json 400 theme={null}
  {
      "code": -125,
      "message": "Bad input data",
      "moreInfo": "...",
      "errorList": null
  }
  ```
</ResponseExample>
