Page cover

Update Card PIN

This endpoint allows you to change PIN for a specific card.

POST {{base_url}}/business/change-cardpin

Headers

Name
Type
Description

Authorization*

String

SECRET_KEY

Request Body

Name
Type
Description

cardid*

Sting

Card ID

oldpin*

Integer

4 digits old card PIN

newpin*

Integer

4 digits new card PIN

Take a look at how you might do this:

curl --location '{{base_url}}/business/change-cardpin' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer SECRET_KEY' \
--data '{
    "cardid": "ao022-22e23o-2238-2829d"
}'

Sample response

{
  "status": true,
  "msg": "Card PIN Successfully Updated"
}

Last updated

Was this helpful?