Wallet Creation
- This API is used to create wallet & card for a user.
Endpoint
Make sure you are familiar with how APIs work:
- Method: POST
- URL: https://uat.nupaytech.com/api/v1/wallet/create?identifier=OTP?VERIFY
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 |
middle_name |
1-255 |
M |
String |
Middle Name |
- |
4 |
last_name |
1-255 |
M |
String |
Last Name |
- |
5 |
mobile_number |
10 |
M |
Numeric |
Mobile Number |
- |
6 |
email |
1-255 |
M |
String |
Email ID |
- |
7 |
date_of_birth |
date |
O |
Date |
Date of Birth |
Format dd-mm-yyyy |
8 |
pan |
10 |
O |
String |
PAN Number |
- |
9 |
issuer_card |
VAR |
O |
bool |
Issue Card? |
Either true or false |
10 |
address |
VAR |
O |
Array |
Address details |
- |
11 |
product_id |
VAR |
M |
String |
Product ID |
- |
12 |
gender |
1 |
M |
String |
Gender |
- |
13 |
corporate_id |
VAR |
M |
String |
Corporate Id |
- |
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 |
- |
9 |
first_name |
String |
First Name |
- |
10 |
last_name |
String |
Last Name |
- |
Execution Request Example
{
"req_id": "2023092707",
"corporate_id": "CPNC0055",
"first_name": "shubham",
"middle_name": "maruti",
"last_name": "gopale",
"mobile_number": "8108939748",
"email": "shubhamgopale@gmail.com",
"date_of_birth": "1995-08-30",
"gender": "M",
"pan": "ABCD1220L",
"issue_card": true,
"product_id": "ORG00021124",
"address": {
"line_first": "test",
"line_second": "test2",
"state": "MH",
"pincode": "400079",
"city": "Mumbai"
}
}
Success Response OTP Link
{
"otpId": "023092810121007",
"message": "OTP sent successfully to your entered phone number ending in ******9748."
}
Success Response Verify Link
{
"crn": "",
"last_four": "",
"cvv": "",
"expiry_date": "",
"balance": "100.00",
"user": {
"first_name": "shubham",
"last_name": "gopale",
"mobile_number": 8108939748,
"email": "shubhamgopale@gmail.com",
"date_of_birth": "1995-08-30",
"pan": "ABCD1220L",
"address": {
"line_first": "kandivali",
"line_second": "west",
"state": "MH",
"pincode": 400071,
"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",
"first_name": "shubham",
"last_name": "gopale"
}