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

# Get Virtual Card Provider

> Retrieve details and credential requirements for a specific virtual card provider.

Returns details for a specific virtual card provider, including the credential fields required for issuing cards.

This endpoint is publicly accessible and does not require authentication.

## Error Responses

| Code | HTTP Status | Condition                                                    |
| ---- | ----------- | ------------------------------------------------------------ |
| N/A  | `404`       | Virtual card provider with the specified name was not found. |

## Parameters

### Path Parameters

<ParamField path="name" type="string" required>
  The name of the virtual card provider (e.g. `WEX`, `Rapyd`).
</ParamField>

<RequestExample>
  ```javascript Node.js theme={null}
  const providerName = 'WEX';

  const response = await fetch(`https://service.pcibooking.net/api/VirtualCard/${providerName}`);

  const data = await response.json();
  console.log(data);
  ```

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

  provider_name = 'WEX'

  response = requests.get(
      f'https://service.pcibooking.net/api/VirtualCard/{provider_name}'
  )

  print(response.json())
  ```
</RequestExample>

## Response

<ResponseExample>
  ```json 200 theme={null}
  {
      "Name": "WEX",
      "CredentialsNames": [
          "MerchantID",
          "SharedSecret",
          "Account",
          "RebatePWD"
      ],
      "ProviderUrl": "https://www.wexinc.com"
  }
  ```

  ```text 404 theme={null}
  Virtual card provider with name [InvalidName] not found
  ```
</ResponseExample>
