---
title: "Update current account"
method: PUT
path: "/accounts/me"
tags: ["Account"]
---

# Update current account

`PUT /accounts/me`

Updates settings for the authenticated account. Accepts all parameters from Create Account plus the ones listed here.

## Request body

- object
  - `name` string
  - `allow_shipping` 0 | 1, required — Required. Set to 1 to allow shipping on orders.
  - `value_shipping` number — Required when `allow_shipping` is 1. Shipping fee value.
  - `fee_shipping` number — Shipping fee amount (alternative to `value_shipping`).
  - `business_phone` string — Must be a valid phone number.
  - `business_description` string — Description of the account/business.
  - `image` string — Base64-encoded image or URL for the account logo.
  - `custom_domain` string — Custom domain URL.
  - `addon_account` string — Addon's account credential.
  - `subaccounts` integer[] — Array of subaccount IDs associated with this account.
  - `allowed_gateways` string[] — Array of allowed gateways for the account.
  - `default_gateway` 'ADDON' | 'ADDON_V2' | 'ADDON_ICE' | 'ADDON_HPP' | 'ADDON_APPLE_PAY' | 'AZUPAY' | 'BANKWIRE' | 'WALLET' | 'DCP' | 'EPX' | 'REDSYS_V2' | 'REDSYS_APPLE_PAY' | 'REDSYS_AUTH' | 'STRIPE' | 'DOCOMO' | 'SIBS_MBWAY' | 'SIBS_MULTIBANCO' | 'SEQURA' | 'UNNAX' | 'PAYPAL' | 'BIZUM' | 'INESPAY' — Default payment gateway.
  - `psd2_enabled` 0 | 1
  - `metadata` object

## Response `200`

Updated account

- Account
  - `self` string
  - `merchant_id` string — Unique merchant identifier (addon_key).
  - `name` string
  - `email` string, email
  - `currency` string
  - `country_code` string
  - `business_url` string, nullable
  - `business_phone` string, nullable
  - `business_description` string, nullable
  - `image_url` string, nullable
  - `public_key` string
  - `secret_key` string — Secret API key. Only visible to the account owner.
  - `allow_shipping` 0 | 1
  - `value_shipping` number
  - `is_active` boolean
  - `psd2_enabled` 0 | 1
  - `allowed_gateways` string[]
  - `gateways` object[], nullable — List of configured payment gateway objects for the account.
  - `default_gateway` string, nullable
  - `created_at` string, date-time, nullable

## Other responses

- `422` — Validation error

## Changes

- **2026-03-11** `ff825f6602c8` — 1 breaking, 8 info
  - the request property `allow_shipping` became required
  - added the new optional request property `addon_account`
  - added the new optional request property `allowed_gateways`
  - added the new optional request property `custom_domain`
  - …5 more

[Change history](https://skmtc.dev/truust-io/apis/truust-api/changes/accounts/me/put.md)

---

[API](https://skmtc.dev/truust-io/apis/truust-api.md) · [All operations](https://skmtc.dev/truust-io/apis/truust-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/truust-io/truust-api/revisions/cc81e28726b9/schema)
