Change Pin

URL:
Method: POST	
https://saasapi.igainapp.in/v1/changepin.php/changepin
					

Request Parameters

Parameter Type Position # Description
Authorization string Header Required Authorization is the Enrypted Company API KEY
membershipid string Body Required Membership ID
oldpin string Body Required Old Pin
newpin string Body Required New Pin
confirmpin string Body Required Confirm New Pin

Sample Request Body

{								
    "membershipid":"1234567890",
    "oldpin":"12345",
    "newpin":"67890",
    "confirmpin":"67890"
}

Sample Request Response

{
    "errorcode": 1001,
    "message": "Ok"
}

Error Codes

Error Code Description
3121 Required field(s) is missing or empty
2003 Unable to locate membership id
3113 New pin and Confirm new pin does not match!
3114 Old pin does not match with new pin!
3115 Old pin and New pin are Same
1001 OK