Update the address

Updating information at

Update the address

POSThttps://ocp.onchainpay.io/api-gateway/address-book/update
Header parameters
Body
addressIdstring

The ID of the address in the system

Example: "39acb199-5116-47a6-8571-9f20f4032920"
aliasstring

Address name

Example: ""
commentstring

Comment on the address

Example: ""
Response
Body
success*boolean

Request success indicator

response*null
Request
const response = await fetch('https://ocp.onchainpay.io/api-gateway/address-book/update', {
    method: 'POST',
    headers: {
      "Content-Type": "application/json"
    },
    body: JSON.stringify({}),
});
const data = await response.json();
Response
{
  "success": false,
  "response": null
}

Last updated