PUT   Change Wallet Passcode


Resource

https://api.payant.ng/wallets/:reference_code

Parameters

old_passcode
required
String
Old Wallets's passcode
passcode
required
String
New Wallets's passcode (min of 6 char)

Example

curl https://api.payant.ng/wallets/PMojL342gd \
-H "Content-Type: application/json" \
-H "Authorization: Bearer SECRET_KEY" \
-d '{ "old_passcode": "937347",
    "passcode": "743739" }' \
-X PUT 
            

Response

{
  "status": "success",
  "message": "Wallet was updated successfully."
}