---
title: "Update tenant profile"
method: PATCH
path: "/credits/tenants/me"
tags: ["Tenants"]
---

# Update tenant profile

`PATCH /credits/tenants/me`

## Request

- Base URL: `https://api.paywithlocus.com/api`
- URL: `https://api.paywithlocus.com/api/credits/tenants/me`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

Workspace owner/admin session or a secret key with tenant:write. Unknown fields are rejected atomically; recognized fields are never applied from a mixed known/unknown request. creditsPerDollar is immutable after provisioning and is rejected if supplied.

## Request body

- object
  - `name` string
  - `defaultMarkupBps` integer
  - `feeMode` 'pass_through' | 'absorb'
  - `billingMode` 'wholesale_pool' | 'embedded_topups'

## Response `200`

Tenant profile updated

## Other responses

- `400`: Invalid profile value, immutable creditsPerDollar, or one or more unknown fields
- `403`: Caller is neither an owner/admin dashboard member nor a secret key, or lacks tenant:write

---

[API](https://skmtc.dev/paywithlocus/apis/locus-pro-api.md) - [All operations](https://skmtc.dev/paywithlocus/apis/locus-pro-api/llms.txt) - [OpenAPI document](https://skmtc.dev/paywithlocus/apis/locus-pro-api/revisions/aab8fa5d6cef?raw)
