> ## 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.

# Delete Digital Wallet Credentials

> Delete stored digital wallet credentials by their ID.

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

Deletes a stored set of digital wallet credentials. Any Payments Library sessions referencing this credential ID will no longer work.

## Error Responses

| Code    | HTTP Status | Condition                                                    |
| ------- | ----------- | ------------------------------------------------------------ |
| `-1003` | `401`       | API key is missing or invalid, or user type is not `Booker`. |
| `-1`    | `404`       | No credentials found with the specified ID.                  |

## 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>

### Path Parameters

<ParamField path="credentialsId" type="string" required>
  The ID assigned to the credentials when they were [stored](/api-reference/payments-library-accounts/store-credentials).
</ParamField>

<RequestExample>
  ```javascript Node.js theme={null}
  const credentialsId = 'my-googlepay';
  const response = await fetch(`https://service.pcibooking.net/api/eWalletAccounts/${credentialsId}`, {
    method: 'DELETE',
    headers: {
      'Authorization': 'APIKEY your-api-key'
    }
  });
  console.log(response.status); // 204 on success
  ```

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

  credentials_id = 'my-googlepay'
  response = requests.delete(
      f'https://service.pcibooking.net/api/eWalletAccounts/{credentials_id}',
      headers={'Authorization': 'APIKEY your-api-key'}
  )
  print(response.status_code)  # 204 on success
  ```
</RequestExample>

## Response

<ResponseExample>
  ```text 204 theme={null}
  Credentials deleted successfully. No content returned.
  ```

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

  ```json 404 theme={null}
  {
      "code": -1,
      "message": "Credentials not found"
  }
  ```
</ResponseExample>
