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

# Retrieve Digital Wallet Credential Structure

> Retrieve the list of supported digital wallets and the required credential format for each.

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

Returns the list of supported digital wallet payment methods and the credential fields required for each. Use this to determine the correct structure when [storing credentials](/api-reference/payments-library-accounts/store-credentials).

## Error Responses

| Code    | HTTP Status | Condition                      |
| ------- | ----------- | ------------------------------ |
| `-1003` | `401`       | API key is missing or invalid. |

## 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/eWalletOperation', {
    method: 'GET',
    headers: {
      'Authorization': 'APIKEY your-api-key'
    }
  });
  const wallets = await response.json();
  wallets.forEach(wallet => {
    console.log(wallet.Name, wallet.MerchantAccountPropertyNames);
  });
  ```

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

  response = requests.get(
      'https://service.pcibooking.net/api/eWalletOperation',
      headers={'Authorization': 'APIKEY your-api-key'}
  )
  wallets = response.json()
  for wallet in wallets:
      print(wallet['Name'], wallet['MerchantAccountPropertyNames'])
  ```
</RequestExample>

## Response

The response contains an object for each supported digital wallet, listing the required credential fields in `MerchantAccountPropertyNames`.

<ResponseExample>
  ```json 200 theme={null}
  [
      {
          "Name": "GooglePay",
          "MerchantAccountPropertyNames": [
              "MerchantId",
              "MerchantName"
          ]
      },
      {
          "Name": "ApplePay",
          "MerchantAccountPropertyNames": [
              "MerchantId",
              "DomainName",
              "DisplayName"
          ]
      }
  ]
  ```

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