---
title: "Modify Account"
method: POST
path: "/v0/enrichment/account/modify"
tags: ["Enrichment"]
---

# Modify Account

`POST /v0/enrichment/account/modify`

Modifies an account.

## Request body

- union
  - ModifyWithdrawalAddressRequest
    - `access_request_type` 'ADD_WITHDRAWAL_ADDRESS', required
    - `account` RoutersExchangeProtectionAccountModelsAccount, required
      - `account_id` string, required
      - `account_creation_timestamp` string, date-time
      - `user_age` integer
      - `user_country_code` string
    - `address_details` RoutersExchangeProtectionAccountModelsAddressDetails, required
      - `address` string, required
      - `chain` string, required
      - `asset` string, required
    - `event_time` string, date-time, required
    - `connection` RoutersChainAgnosticModelsRequestConnection
      - `user_agent` string — User agent string from the client's browser or application.
      - `ip_address` string, ipvanyaddress, required — IP address of the customer making the request. Both IPv4 and IPv6 addresses are supported.
      - `origin` string, uri — The full URL of the website that the request was directed to.
      - `walletconnect_name` string — WalletConnect session name, when the request originates from a WalletConnect session.
      - `walletconnect_description` string — WalletConnect session description, when the request originates from a WalletConnect session.
  - ModifyPaymentMethodRequest
    - `access_request_type` 'ADD_PAYMENT_METHOD', required
    - `account` RoutersExchangeProtectionAccountModelsAccount, required
      - `account_id` string, required
      - `account_creation_timestamp` string, date-time
      - `user_age` integer
      - `user_country_code` string
    - `payment_method` Payment, required
      - `payment_method` 'credit_card' | 'wire' | 'swift' | 'iban', required — Payment method used for billing.
      - `currency` string, required
    - `event_time` string, date-time, required
    - `connection` RoutersChainAgnosticModelsRequestConnection
      - `user_agent` string — User agent string from the client's browser or application.
      - `ip_address` string, ipvanyaddress, required — IP address of the customer making the request. Both IPv4 and IPv6 addresses are supported.
      - `origin` string, uri — The full URL of the website that the request was directed to.
      - `walletconnect_name` string — WalletConnect session name, when the request originates from a WalletConnect session.
      - `walletconnect_description` string — WalletConnect session description, when the request originates from a WalletConnect session.

## Response `200`

Successful Response

- unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/blockaid-official/apis/blockaid-api.md) · [All operations](https://skmtc.net/blockaid-official/apis/blockaid-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/blockaid-official/blockaid-api/revisions/17c41f337b2e/schema)
