Virtual Card Issuance
- This API is used to issue Virtual Cards.
Endpoint
Make sure you are familiar with how APIs work:
- Method: POST
- URL: https://uat.nupaytech.com/api/v1/cards/create/virtual
API Request Fields
Sr.No |
Field |
Min-Max Length |
Mandatory? |
Data Type |
Description |
Comments |
1 |
req_id |
1-255 |
M |
String |
Request ID |
|
2 |
first_name |
1-255 |
M |
String |
First Name |
|
3 |
last_name |
1-255 |
M |
String |
Last Name |
|
4 |
mobile_number |
10 |
M |
Numeric |
Mobile Number |
|
5 |
email |
1-255 |
M |
String |
Email ID |
|
6 |
date_of_birth |
date |
O |
Date |
Date of Birth |
Format dd-mm-yyyy |
7 |
pan |
10 |
O |
String |
PAN Number |
|
8 |
address |
VAR |
O |
Array |
Address details |
|
9 |
product_id |
VAR |
M |
String |
Product ID |
|
10 |
amount |
N |
M |
Numeric |
Load amount |
|
API Response Fields
Sr.No |
Field |
Data Type |
Description |
Comments |
1 |
crn |
String |
Card Reference Number |
|
2 |
last_four |
Numeric |
Last four digits of Card |
|
3 |
cvv |
Numeric |
CVV |
|
4 |
expiry_date |
Numeric |
Expiry Date |
Format YYMM |
5 |
user |
Array |
User Data |
|
6 |
card_limit |
Array |
Limit Details |
|
7 |
status |
String |
Card Status |
|
8 |
req_id |
ANS |
Request ID |
|
Execution Request Example
{
"req_id": "12374ss699",
"first_name": "shubham",
"last_name": "gopale",
"mobile_number": "9004429039",
"email": "shubhamgopale@gmail.com",
"date_of_birth": "30-08-1995",
"pan": "BLYPG1220L",
"address": {
"line_first": "test address line 1",
"line_second": "test address line 2",
"state": "MH",
"pincode": "400079",
"city": "Mumbai"
},
"product_id": "ORG00011103",
"Amount": "100"
}
Success Response Example
{
"crn": "CM00000000020423",
"last_four": "8232",
"cvv": "000",
"expiry_date": "2711",
"user": {
"first_name": "shubham",
"last_name": "gopale",
"mobile_number": 8108939748,
"email": "shubhamgopale@gmail.com",
"date_of_birth": null,
"pan": null,
"address": {
"line_first": "test address line timepass",
"line_second": "test address line timepass 2",
"state": "MH",
"pincode": 400079,
"city": "mumbai"
}
},
"card_limit": {
"domestic": {
"pos_allowed": 0,
"pos_limit": "0.00",
"atm_allowed": 0,
"atm_limit": "0.00",
"ecom_allowed": 1,
"ecom_limit": "10000.00",
"contactless_allowed": 0,
"contactless_limit": "0.00"
}
},
"status": "Active"
}