Address book

Update saved wallet details

Replace the details saved for a wallet.

PATCH
/api/v2/address-book/{id}

Supply a complete replacement wallet statement. Address/network are immutable. Prior declarations and transfer answers remain retained.

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://compose.finance/api/v2/address-book/string" \  -H "Content-Type: application/json" \  -d '{    "network": "base",    "address": "string",    "direction": "INBOUND",    "wallet": {      "owner": {        "party": "ORGANIZATION"      }    }  }'
{
  "id": "string",
  "declarationId": "string"
}
{
  "error": "Invalid declaration"
}
{
  "error": "Unauthorized - Invalid or missing API key or session"
}

{
  "error": "An enabled organization member is required"
}

{
  "error": "Not found in this organization"
}
{
  "error": "Revision conflict: reload before correcting"
}
{
  "error": "Rate limit exceeded. Please try again later."
}

{
  "error": "Internal server error"
}

{
  "error": "Verified identity is temporarily unavailable. Try again in a few minutes."
}