To update the pin of the relevant card, the relevant endpoint and https method information are given below.
| HTTP Method | URL |
|---|---|
| POST | /card/updatePin |
| Params | Type | Mandatory | Description |
|---|---|---|---|
| card_no | string | Evet | Card Number |
| old_pin | string | Evet | Old Pin |
| new_pin | string | Evet | New Pin (Min 4 , Max 6 character) |
| corelation_id | string | Yes | Corelation Id |
| Params | Type |
|---|---|
| status | int |
| code | string |
| message | string |
| payload | boolean |
REQUEST (POST) :
{
"card_no": "434610lbvqig0051",
"old_pin": "0051",
"new_pin": "1234",
"corelation_id": 4000001489104986
}
RESPONSE
{
"status": 0,
"code": "200",
"message": "",
"payload": true
}