Update Card PIN
This endpoint allows you to change PIN for a specific card.
Headers
Name
Type
Description
Request Body
Name
Type
Description
curl --location '{{base_url}}/business/change-cardpin' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer SECRET_KEY' \
--data '{
"cardid": "ao022-22e23o-2238-2829d"
}'const axios = require('axios');
let data = JSON.stringify({
"cardid": "ao022-22e23o-2238-2829d"
});
let config = {
method: 'post',
maxBodyLength: Infinity,
url: '{{base_url}}/business/change-cardpin'
headers: {
'Content-Type': 'application/json',
'Authorization': 'Bearer SECRET_KEY'
},
data : data
};
axios.request(config)
.then((response) => {
console.log(JSON.stringify(response.data));
})
.catch((error) => {
console.log(error);
});
Sample response
{
"status": true,
"msg": "Card PIN Successfully Updated"
}Last updated
