Accounts

Update an account

Update mutable account properties—primarily loyalty settings—while keeping the blockchain address and network unchanged.

patch/v1/accounts/{id}

Request

  • Base URL: https://api.prod.keyban.io
  • URL: https://api.prod.keyban.io/v1/accounts/{id}
  • Auth: one of:
    • API key in header X-Api-Key
    • bearer (a scheme the document does not define)

Path parameters

idstring uuid required

The unique identifier of the account

Request body

Response

Updated account

idstring uuid required

Entity UUID

createdAtstring date-time required

Creation date (ISO 8601)

updatedAtstring date-time required

Last update date (ISO 8601)

applicationstring uuid required

The unique identifier of the application this account belongs to

network'EthereumAnvil' | 'BaseSepolia' | 'BaseMainnet' | 'XdcApothem' | 'XdcMainnet' | 'StellarQuickstart' | 'StellarTestnet' | 'StellarMainnet' required

The blockchain network where this account is deployed

addressstring required

The blockchain address of the account

explorerUrlstring uri

URL to a blockchain explorer for this account

Example response

{
  "user": {
    "name": "Alice Dupont",
    "email": "alice@example.com",
    "image": "https://cdn.example.com/avatars/alice.png",
    "phoneNumber": "+33612345678",
    "birthDate": "1990-03-15",
    "preferredLocale": "fr-FR"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.