---
title: "Update Billing Data"
method: POST
path: "/account/billing/data"
tags: ["Account", "Billing"]
---

# Update Billing Data

`POST /account/billing/data`

## Request

- Base URL: `https://api.rebrandly.com/v1`
- URL: `https://api.rebrandly.com/v1/account/billing/data`
- Auth: API key in header `apikey`

Update billing data for the account.

## Headers

- `apikey` string, required

## Request body

- BillingDataInput: Input for updating billing data
  - `customerName` string, required: Customer/Company name (2-128 characters)
  - `country` string, required: Country code (ISO 2-letter)
  - `taxCountry` string: Tax country code if different from country
  - `address` string, required: Street address (2-256 characters)
  - `addressLine2` string: Additional address line
  - `city` string, required: City name (2-90 characters)
  - `state` string: State/Province (1-60 characters)
  - `postalCode` string: Postal/ZIP code (max 20 characters)
  - `regCode` string: Tax registration code (VAT number, etc.)
  - `phoneNumber` string: Phone number (3-22 characters)

## Response `200`

Billing data updated

- BillingData: Account billing information
  - `customerName` string: Customer/Company name (2-128 characters)
  - `country` string: Country code (ISO 2-letter)
  - `taxCountry` string: Tax country code if different from country
  - `address` string: Street address (2-256 characters)
  - `addressLine2` string: Additional address line
  - `city` string: City name (2-90 characters)
  - `state` string: State/Province (1-60 characters)
  - `postalCode` string: Postal/ZIP code (max 20 characters)
  - `regCode` string: Tax registration code (VAT number, etc.)
  - `phoneNumber` string: Phone number (3-22 characters)

## Other responses

- `400`: Invalid billing data format

---

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