Update wallet PIN

How to update the pin of a wallet

Update wallet pin

PATCH https://api-wallet.venly.io/api/wallets/<WALLET_ID>/security

Request Body

NameTypeDescription

newPincode

string

New pin

pincode

string

Current pin

PATCH : https://api.arkane.network/api/wallets/<WALLET_ID>/security

Example

Request

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

Request Body

{
  "pincode" : "1111",
  "newPincode" : "1234"
}

Response

{
    "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
        }
    }
}

Last updated