Update wallet PIN

How to update the pin of a wallet.

Request Endpoint: reference

PATCH /api/wallets/{id}/security
ParameterParam TypeValueDescription
Signing-MethodHeaderid:valueid: This is the ID of the signing method
value: This is the value of the signing method
ParameterParam TypeDescriptionData TypeMandatory
idPathThis ID of the walletStringโœ…
newPincodeBodyNew PIN for the walletStringโœ…
pincode (Deprecated)BodyCurrent PIN of the walletStringโŒ

Example Request:

PATCH  https://api-wallet.venly.io/api/wallets/944124ed-305d-4e56-a0fd-bce1c7f1537c/security
  "newPincode" : "1234"

Response Body:

    "success": true,
    "result": {
        "id": "944124ed-305d-4e56-a0fd-bce1c7f1537c",
        "address": "0x5f6EadB01E6E130634850cDC9071862eD2607775",
        "walletType": "API_WALLET",
        "secretType": "ETHEREUM",
        "createdAt": "2021-01-22T19:22:29.252188",
        "archived": false,
        "alias": "graceful_panda",
        "description": "My first unrecoverable wallet",
        "primary": false,
        "hasCustomPin": true,
        "identifier": "type=unrecoverable",
        "balance": {
            "available": true,
            "secretType": "ETHEREUM",
            "balance": 0.0,
            "gasBalance": 0.0,
            "symbol": "ETH",
            "gasSymbol": "ETH",
            "rawBalance": "0",
            "rawGasBalance": "0",
            "decimals": 18