Create Account In Wallet
User can create customer or merchant account in wallet.
How to create wallet account?
The POST request will be send over HTTPS to the
endpoint.
Sample Request
Sample Response
NOTE:
- token – Provided by
- account_type - Customer/Merchant
- walletOwnerId – Provided by
- isTosOfTWAccepted – Terms of services for wallet (true)
- deviceId – unique device id generated by Android/ iOS device and optional for Web
- custCurrency – should be an integer
- platformId – should be an integer
- cust_password - Password must contain at least one digit,one lower case,one upper case,special characters[@#$%^*!] and minimum length 8
- platformId – should be an integer
Request Parameters
This reference lists all the standard flow parameters to be send in request.
Parameter | Description | Format | Required |
---|---|---|---|
token | Provided by Unique token. | String | Yes |
country_code | User country code eg: 91. | A3
[0-9] |
Yes |
cust_contact | User contact number. | N10
[0-9]{10} |
Yes |
cust_email | User email id. | AN255
[a-zA-Z0-9] {255} |
Optional |
cust_password | Set user password. | AN8
[A-Za-z0-9] {1,8} |
Yes |
account_type | Sign up as Customer/Merchant. | A255
[a-zA-z] {255} |
Yes |
walletOwnerId | Provided by Unique id. | N20
[0-9] |
Yes |
deviceId | User's Mobile device id. | String | Yes |
platformId | App platform Id Android-1 and iOS-2. | AN2048
[0-9] |
Yes |
custCurrency | Set currency for user. | AN2048
[0-9] |
Yes |
custFirstName | Set user's first name. | A | Yes |
custLastName | Set user's last name. | A | Yes |
custDOB | Set user's date of birth. | N
[0-9] |
Yes |
custCountry | Set user's country. | A
[0-9] |
Yes |
isTosOfTWAccepted | Terms and conditions accepted (true or false). | A255 | Yes |
termsConsent | Terms of consents. | A255 | Yes |
Response Parameters
This reference list lists all the standard flow parameters to be received in response.
Parameter | Description | Format | Required |
---|---|---|---|
status | Response status (SUCCESS/FAILED). | A [A-Z] |
Yes |
responseCode | Response code | [a-zA-Z0-9] | Yes |
Response Code | Message |
---|---|
1 | SUCCESS |
2 | FAILED |
17 | Invalid token |
Already registered | This email or mobile number is already registered |
Invalid Password | If password is not valid |
Please accept terms of services | If isTosOfTWAccepted is false |
All fields are mandatory | Each and every field is mandatory |
PlatformId | PlatformName |
---|---|
1 | Android |
2 | iOS |
Currency | Value |
---|---|
USD | 1 |
GBP | 2 |
INR | 3 |
EUR | 4 |
JPY | 5 |