Levain LabsLevain Labs
ApiBilling

Update Business Details

Update the contact email shown on your invoices.

Update the contact email shown on your invoices.

Takes effect on invoices issued afterwards — set it to route receipts to your accounting inbox. The name follows your workspace name; manage the address and tax IDs via POST /api/v1/billing/portal-session.

PATCH
/api/v1/billing/business-details

Authorization

HTTPBearer
AuthorizationBearer <token>

In: header

Header Parameters

X-API-Key?string|null

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X PATCH "https://api.levainlabs.com/api/v1/billing/business-details" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com"  }'
{
  "name": "string",
  "email": "string",
  "line1": "string",
  "city": "string",
  "country": "string",
  "tax_ids": [
    {
      "type": "string",
      "value": "string"
    }
  ]
}
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string",
      "input": null,
      "ctx": {}
    }
  ]
}