---
page_source: https://docs.juspay.io/jusbiz/docs/integration/get-security-code
page_title: Get Security Code
---

## API Version: default


# Get Security Code



The purpose of this API is to allow the fetching of cvv## Endpoints:
- Sandbox: https://sandbox.biz.juspay.in/ardra/vt/cvv/v2

- Production: https://{{hostname}}.biz.juspay.in/ardra/vt/cvv/v2

## Request Type: 
POST

## Authorization:

#### Basic Auth:
Consists of two parts.

* Username: API Key obtained from Juspay dashboard
* Password: Empty string
- Value:  Basic MUQ2QUxxxxxxxxxxxxU5QTIxQzNFNTQwNkFDMEZCOg==
- Tags: String, Mandatory
## Headers:

#### X-merchantid:
Pass merchant-id provided by Juspay
- Tags: string, Mandatory

#### KeyId:
Key Id against which encryption is done (to be taken from JusBiz Dashboard)
- Tags: String, Mandatory

#### Content-Type:
- Value:  application/json
- Tags: String, Mandatory
## Sample Code Snippets:
### Sample Request:

#### Request Code Snippet:

```request
{"success":false,"message":"No Data found for the given path"}
```

### Sample Response:

#### Response:
```json
{"success":false,"message":"No Data found for the given path"}
```

## Body Parameters:
### Section1:

#### payoutId:
- Description: A unique value required to fetch the cvv for a particular token
- Value: value
- Tags: String, Mandatory

#### isCardImageRequired:
- Description: To get card image pass value as true
- Tags: Optional, Boolean
## API Responses:
### 200:

#### 200: Response Body:
- Tags: Object

#### status:
- Description: Status of the API callPossible value: SUCCESS | FAILURE
- Tags: String

#### payoutId:
- Description: Unique value of payout id which was sent in the request.
- Tags: String

#### message:
- Description: Reason for failure / success.
- Tags: String

#### response:
- Description: The response contains the details around the token which will be used for processing payments
- Value:
  - **SecurityCode**:
    - Description: Security Code for the token
    - Tags: String
  - **CardImage**:
    - Description: Base 64 encoded string will be sent
    - Tags: String
- Tags: Object
### 400:

#### status:
- Description: SUCCESS | FAILURE
- Tags: String

#### payoutId:
- Description: Unique value of payout id which was sent in the request. E.g. “Juspay123456789”
- Tags: String

#### message:
- Description: Reason for the Parameter which is invalid
- Tags: String
### 401:

#### message:
- Description: 1. Invalid Key ID passed
2. Basic Auth & Key ID missing in Headers
3. Key ID missing in Headers
4. Basic Auth missing in Headers
5. Unauthorised: No key given
- Tags: String, Mandatory
### 500:

#### message:
- Description: Error Message: Validated Expense Data cannot be Empty
- Tags: String
