Update a wallet

Change the friendly name of a wallet.

HTTP Request

PATCH /walletaccounts/v1/wallets/{walletId}

URI Parameters

Parameter Type Description
walletId long Wallet Id of wallet to update friendly name


Roles: Merchant

Request body

Content-Type: application/json

    "friendlyName": "string"


let access_token = '';
let data = {
    "friendlyName": "New wallet name!"
let host = "https://uat-api.vivapayments.com";

fetch(`${host}/walletaccounts/v1/wallets/687864856050`, {
    method: "PATCH",
    headers: {
        "Authorization": `Bearer ${access_token}`,
        "Content-Type": "application/json; charset=utf-8"
    body: JSON.stringify(data),