---
updatedAt: 2025-11-07T16:19:57.000Z
agentTools:
  projectIndex: https://directissuer.readme.io/llms.txt
---

# Request virtual card vendor information for a company

Provides a list of all virtual card Vendors associated to a company.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Corserv Solutions REST APIs",
    "description": "CSS REST APIs v10.0.0",
    "version": "branch"
  },
  "servers": [
    {
      "url": "https://extapiai2-1602d:8443",
      "description": "Generated server url"
    }
  ],
  "security": [
    {
      "oauth2": []
    }
  ],
  "tags": [
    {
      "name": "Virtual Card services for external API access",
      "description": "Virtual card services for clients from outside of the Corserv network"
    }
  ],
  "paths": {
    "/api/v1/gateway/ext/vc/company/{company}/vendors": {
      "get": {
        "tags": [
          "Virtual Card services for external API access"
        ],
        "summary": "Request virtual card vendor information for a company",
        "description": "Provides a list of all virtual card Vendors associated to a company.",
        "operationId": "findCompanyVendors",
        "parameters": [
          {
            "name": "x-css-tracking-token",
            "in": "header",
            "description": "Optional client tracking token used for tracing each call, a unique one will be generated if empty",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "company",
            "in": "path",
            "description": "The required virtual card company id",
            "required": true,
            "schema": {
              "type": "string"
            },
            "example": "jAn1qgOxwMoJR2Ry5BEpBlvV9dXymDL4"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/ExtVirtualCardVendorSummary"
                  }
                }
              }
            }
          },
          "204": {
            "description": "No records found",
            "content": {
              "application/json": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "400": {
            "description": "Request data is invalid",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExceptionMsgWrapper"
                }
              }
            }
          },
          "403": {
            "description": "User has no access to the brand",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ExceptionMsgWrapper"
                }
              }
            }
          }
        },
        "security": [
          {
            "oauth2": [
              "hasAuthority('read:virtualcard')"
            ]
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ExceptionMsgWrapper": {
        "type": "object",
        "properties": {
          "error": {
            "type": "string",
            "description": "Not in use currently"
          },
          "errors": {
            "type": "array",
            "description": "A list of errors",
            "example": "error: unauthorized, error_description: Full authorization is required for this resource",
            "items": {
              "type": "string",
              "description": "A list of errors",
              "example": "error: unauthorized, error_description: Full authorization is required for this resource"
            }
          },
          "path": {
            "type": "string",
            "description": "Not in use currently"
          },
          "status": {
            "type": "string",
            "description": "Status",
            "enum": [
              "400",
              "401",
              "403",
              "404",
              "500"
            ]
          },
          "statusMessage": {
            "type": "string",
            "description": "Status message",
            "enum": [
              "No records found",
              "Bad Request",
              "Unauthorized",
              "Internal Server Error",
              "The card was not found",
              "Internal Server Error"
            ]
          },
          "timestamp": {
            "type": "integer",
            "description": "Time stamp",
            "format": "int64",
            "example": 202206304567893
          }
        },
        "description": "Error Message Wrapper"
      },
      "ExtVirtualCardVendorSummary": {
        "required": [
          "dateCreated",
          "id",
          "legalName",
          "shortName",
          "status",
          "vendorId"
        ],
        "type": "object",
        "properties": {
          "city": {
            "type": "string",
            "description": "Vendor City"
          },
          "companyId": {
            "type": "string",
            "description": "The unique Corserv company id associated to the vendor"
          },
          "contactFirstname": {
            "type": "string",
            "description": "Vendor First Name"
          },
          "contactLastname": {
            "type": "string",
            "description": "Vendor Lastname"
          },
          "contactPhone": {
            "type": "string",
            "description": "Vendor contact phone"
          },
          "dateCreated": {
            "type": "string",
            "description": "The date the vendor was created",
            "format": "date-time"
          },
          "dateModified": {
            "type": "string",
            "description": "The date the vendor was modified",
            "format": "date-time"
          },
          "id": {
            "type": "string",
            "description": "The Corserv unique vendor id"
          },
          "legalName": {
            "type": "string",
            "description": "Vendor Legal Name"
          },
          "shortName": {
            "type": "string",
            "description": "Vendor Short Name"
          },
          "status": {
            "type": "string",
            "description": "Vendor Status. Must be ACTIVE to use the vendor when making a virtual card payment.",
            "enum": [
              "ACTIVE",
              "PENDING",
              "DELETED"
            ]
          },
          "vendorId": {
            "type": "string",
            "description": "Vendors alternate unique key"
          }
        },
        "description": "Response model to summarize a virtual card vendor"
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "https://extapiai2-1602d:8443/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": false,
    "samples-enabled": true
  }
}
```