> For the complete documentation index, see [llms.txt](https://docs.neox.vn/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.neox.vn/docs/virtual-card/virtual-cards/apis/get-detail-virtual-card.md).

# API Get Detail Virtual Card

### Endpoint: GET /v2/vc/virtual-cards/{virtualCardRequestId}

### Description:

Retrieve detailed information about a specific virtual card, including card data (masked), associated policy, and status.

***

## Request

### Request Body Field Descriptions (JSON)

| Field Name | Type | Required | Description                               |
| ---------- | ---- | -------- | ----------------------------------------- |
| N/A        | N/A  | N/A      | GET request does not require a JSON body. |

### Request sample

```json
// No request body required for this GET endpoint.
```

## Response

### Response Field Descriptions

| Field Name    | Type   | Description                    |
| ------------- | ------ | ------------------------------ |
| code          | number | Response code                  |
| state         | number | State of the response          |
| data          | object | Details of the virtual card    |
| message       | string | Response message               |
| neoResponseId | string | Unique Neo response identifier |

#### `data` object fields:

| Field Name                   | Type    | Description                                                   |
| ---------------------------- | ------- | ------------------------------------------------------------- |
| requestId                    | string  | Bath Request identifier                                       |
| virtualCardRequestId         | string  | Virtual card request identifier                               |
| merchantCode                 | string  | Merchant code                                                 |
| cardData.cardHolderName      | string  | Card holder's name                                            |
| cardData.cardNumber          | string  | **Masked** card number                                        |
| cardData.cardExpiryDate      | string  | Card expiry date (YYYY-MM)                                    |
| cardData.cardBrand           | string  | Card brand (e.g., mastercard)                                 |
| cardData.cardCVV             | string  | **Masked** card CVV                                           |
| cardPolicy.policyRequestId   | string  | Policy request identifier                                     |
| cardPolicy.policyRevision    | number  | Policy revision number                                        |
| cardPolicy.cardCurrency      | string  | Card currency                                                 |
| cardPolicy.cardLimit         | number  | Card limit                                                    |
| cardPolicy.cardUse           | string  | Card usage setting                                            |
| cardPolicy.minTransAmount    | number  | Minimum transaction amount                                    |
| cardPolicy.maxTransAmount    | number  | Maximum transaction amount                                    |
| cardPolicy.autoCloseCard     | boolean | Whether card auto closes                                      |
| cardPolicy.activeOnCreate    | boolean | Whether active on creation                                    |
| cardPolicy.supportedMccGroup | array   | Supported MCC groups                                          |
| cardUser.email               | string  | Email to receive OTP when user making transactions            |
| cardUser.phoneZoneCode       | string  | Phone number zone code                                        |
| cardUser.phone               | string  | Phone number to receive OTP SMS when user making transactions |
| status                       | string  | Card status                                                   |
| extraInfo                    | object  | Additional information                                        |
| createdAt                    | string  | Creation timestamp (ISO 8601)                                 |
| updatedAt                    | string  | Last update timestamp (ISO 8601)                              |

### Response sample

```json
{
  "code": 1,
  "state": 2,
  "data": {
    "requestId": "dcf35140-f306-4a2d-9435-3c2e2d606c19",
    "virtualCardRequestId": "dcf35140-f306-4a2d-9435-3c2e2d606c19",
    "merchantCode": "COLRLC",
    "cardData": {
      "cardHolderName": "Money Market Account",
      "cardNumber": "530723******1138",
      "cardExpiryDate": "2028-12",
      "cardBrand": "mastercard",
      "cardCVV": "***"
    },
    "cardPolicy": {
      "policyRequestId": "e424ae34-5c56-45c8-882e-98c4325981d3",
      "policyRevision": 3,
      "cardCurrency": "USD",
      "cardLimit": 30000,
      "minTransAmount": 10,
      "maxTransAmount": 2000,
      "autoCloseCard": false,
      "activeOnCreate": true,
      "supportedMccGroup": [
        "9405",
        "8011"
      ]
    },
    "cardUser": {
      "email": "john.doe@gmail.com",
      "phone": "+84",
      "phoneZoneCode": "987654321"
    },
    "status": "INACTIVED",
    "extraInfo": {},
    "createdAt": "2025-06-05T02:03:39.179Z",
    "updatedAt": "2025-06-05T02:03:39.238Z"
  },
  "message": "Successful",
  "neoResponseId": "942f1a34-c640-4371-a6af-a4b6f6622ebc"
}
```

## Example cURL

```bash
curl -X GET "https://{base_url_openapi}/v2/vc/virtual-cards/{virtualCardRequestId}" \
  -H "Authorization: Bearer <YOUR_TOKEN>" \
  -H "Content-Type: application/json" \
  -H "Accept-Language: en"
```

## Notes

* Requires Bearer token in the Authorization header.
* The Accept-Language header can be used to specify the response language (Support: "vi", "en").
* No request body required.
* Replace `{virtualCardRequestId}` with the actual virtual card request ID.
* Common response status: 200 OK.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.neox.vn/docs/virtual-card/virtual-cards/apis/get-detail-virtual-card.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
