> This page is for version Preview (default).
> For other versions, use one of these documentation indexes:
> - Preview (default): https://docs.preview.paid.ai/preview/llms.txt
> - Current: https://docs.preview.paid.ai/current/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.preview.paid.ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.preview.paid.ai/_mcp/server.

# Create a brand version

POST https://api.paid.ai/v1/brand/versions
Content-Type: application/json

Starts a draft: a copy of `basedOn` (the version in use when left out), with any fields sent applied, and checks it. There's at most one draft; when one exists this fails with `resource_exists`, and the message names it.

Reference: https://docs.preview.paid.ai/api-reference/account/brand/create-version

## Authentication

- `Authorization` header (bearer token, required) — API Key authentication using Bearer token

## Request

### Headers

- `Paid-Beta` (enum, required) — This endpoint is in the `brand=v1` beta. Send this header to use it.
  - Allowed values: `brand=v1`

### Body (application/json)

This endpoint expects a CreateBrandVersionRequest.

- `basedOn` (string, optional) — The version to start from; the one in use when left out. The new draft copies it, then applies the other fields sent.
- `colors` (BrandColorsInput, optional) — The colours to change. A colour left out is kept.
- `designs` (DesignsInput, optional) — The designs to change. A surface left out is kept.
- `font` (BrandFont, optional) — The typeface for headings and text. Figures stay in a monospaced face so they line up.
- `icon` (IconInput, optional) — The square icon, or `null` for none.
- `logo` (LogoInput, optional) — The logo, or `null` for none.
- `logoOnDark` (LogoOnDarkInput, optional) — The logo for dark backgrounds, or `null` for none.
- `metadata` (map from string to string, optional) — String key-value pairs of your own, up to 500 characters per value. Always updatable.
- `name` (string, optional, nullable) — Your label for the version.

## Response

### 201

201

- `id` (string, required) — The brand version's `brv_` ID.
- `object` (enum, required) — The type of object. Always `brandVersion`.
  - Allowed values: `brandVersion`
- `createdAt` (datetime, required) — When the object was created.
- `basedOn` (string, required, nullable) — The version this one started as a copy of.
- `check` (BrandCheck, required) — Paid's check of the documents this version renders. A version is finalized only when it passes.
- `colors` (BrandColors, required) — The brand's two colours.
- `designs` (BrandDesigns, required) — A design per kind of document Paid sends your customers. Today `documents` (invoices and credit notes); other surfaces get a key of their own as they open up. Surfaces without one use the brand values alone.
- `finalizedAt` (datetime, required, nullable) — When the version was finalized.
- `font` (BrandFont, required) — The typeface for headings and text. Figures stay in a monospaced face so they line up.
- `icon` (BrandIcon, required) — The square icon, or `null` for none: the payment page then shows the logo and Paid's own tab icon.
- `livemode` (boolean, required) — `true` for an object on a live account, `false` on a test account.
- `logo` (BrandLogo, required) — The brand's logo.
- `logoOnDark` (BrandLogoOnDark, required) — The logo for dark backgrounds, or `null` for none: documents then print `logo` whatever is behind it.
- `metadata` (map from string to string, required) — String key-value pairs of your own, up to 500 characters per value. Always updatable.
- `name` (string, required, nullable) — Your label for the version, shown in the version list. Never printed on documents.
- `number` (integer, required, nullable) — The version's number, 1 for the first, given when it's finalized; `null` for a draft.
- `status` (enum, required) — `draft` while it can change; `final` once finalized, after which it never changes.
  - Allowed values: `draft`, `final`
- `updatedAt` (datetime, required) — When the object was last changed.

## Errors

### 400 Bad Request Error

400

- `error` (ApiErrorObject, required) — What went wrong, in the same shape for every /v1 error.

### 401 Unauthorized Error

401

- `error` (ApiErrorObject, required) — What went wrong, in the same shape for every /v1 error.

### 403 Forbidden Error

403

- `error` (ApiErrorObject, required) — What went wrong, in the same shape for every /v1 error.

### 404 Not Found Error

404

- `error` (ApiErrorObject, required) — What went wrong, in the same shape for every /v1 error.

### 409 Conflict Error

409

- `error` (ApiErrorObject, required) — What went wrong, in the same shape for every /v1 error.

### 429 Too Many Requests Error

429

- `error` (ApiErrorObject, required) — What went wrong, in the same shape for every /v1 error.

### 500 Internal Server Error

500

- `error` (ApiErrorObject, required) — What went wrong, in the same shape for every /v1 error.

## Types

### BrandColorsInput

The colours to change. A colour left out is kept.

- `accent` (string, optional) — The accent colour.
- `brand` (string, optional) — The main brand colour.

### DesignsInput

The designs to change. A surface left out is kept.

- `documents` (DesignsInputDocuments, optional)

### BrandFont

The typeface for headings and text. Figures stay in a monospaced face so they line up.

- `family` (string, required) — `default` for Paid's own document typeface, or one of the typefaces Paid serves: `geist`, `poppins`, `bricolage`, `space`, `dm`, `plex`, `playfair` or `instrument`. Treat the list as open: more are added. Designs read it as `var(--font)`.

### IconInput

The square icon, or `null` for none.

- `url` (string, required) — The address of a square icon this account already has in Paid: one uploaded in the dashboard (Settings › Brand), sent as the address a version's `icon.url` answers, or an icon file found on its website (Settings › Company). The API has no icon upload yet, and Paid doesn't fetch icons from other addresses yet: any other address is 400 `invalid_request` on `icon.url`.

### LogoInput

The logo, or `null` for none.

- `url` (string, required) — The address of a logo this account already has in Paid: one uploaded in the dashboard (Settings › Brand or Settings › Company), sent as the address a version's `logo.url` answers, or the logo file found on its website (Settings › Company). The API has no logo upload yet, and Paid doesn't fetch logos from other addresses yet: any other address is 400 `invalid_request` on `logo.url`.

### LogoOnDarkInput

The logo for dark backgrounds, or `null` for none.

- `url` (string, required) — The address of a logo in light ink this account already has in Paid, under `logo.url`'s rule: one uploaded in the dashboard (Settings › Brand), sent as the address a version's `logoOnDark.url` answers, or a light logo file found on its website (Settings › Company). Any other address is 400 `invalid_request` on `logoOnDark.url`.

### BrandCheck

Paid's check of the documents this version renders. A version is finalized only when it passes.

- `checkedAt` (datetime, required) — When Paid last rendered and checked the version.
- `logoBackground` (enum, required) — What the sample documents draw behind the logo: `dark` when white reads better on it than black, else `light`; `null` when they draw no logo. On `dark`, documents print `logoOnDark` when the version has one.
  - Allowed values: `light`, `dark`
- `problems` (list of BrandCheckProblem, required) — Every problem found, empty when `status` is `passed`.
- `status` (enum, required) — `passed` when every required part of a sample invoice and credit note is present, visible, at least 7px and at least 3:1 against its background.
  - Allowed values: `passed`, `failed`
- `warnings` (list of BrandCheckWarning, required) — What a reader may struggle to see. Warnings never stop a version being finalized.

### BrandColors

The brand's two colours.

- `accent` (string, required) — The accent colour: highlights and links. Designs read it as `var(--accent)`.
- `brand` (string, required) — The main brand colour: titles, rules and totals. Designs read it as `var(--brand)`.

### BrandDesigns

A design per kind of document Paid sends your customers. Today `documents` (invoices and credit notes); other surfaces get a key of their own as they open up. Surfaces without one use the brand values alone.

- `documents` (DocumentsDesign, required) — How invoices and credit notes look beyond the brand values.

### BrandIcon

The square icon, or `null` for none: the payment page then shows the logo and Paid's own tab icon.

- `url` (string, required) — The icon's address: Paid's own copy of an icon uploaded in the dashboard, or an icon file found on the account's website. Sent back unchanged as `icon.url`, it is accepted.

### BrandLogo

The brand's logo.

- `height` (integer, required, nullable) — The logo's height in pixels, or `null` when Paid hasn't measured it.
- `url` (string, required) — The logo's address: Paid's own copy of a logo uploaded in the dashboard, or the logo file found on the account's website. Sent back unchanged as `logo.url`, it is accepted.
- `width` (integer, required, nullable) — The logo's width in pixels, or `null` when Paid hasn't measured it.

### BrandLogoOnDark

The logo for dark backgrounds, or `null` for none: documents then print `logo` whatever is behind it.

- `url` (string, required) — The address of the logo for dark backgrounds, under the same rule as `logo.url`. Sent back unchanged as `logoOnDark.url`, it is accepted.

### ApiErrorObject

What went wrong, in the same shape for every /v1 error.

- `code` (string, required) — A stable, machine-readable code for this error. New codes may be added at any time. See [Errors](https://docs.paid.ai/preview/developers/api/errors) for what each one means and how to fix it. - `unauthorized`: The API key is missing, malformed, revoked or expired. - `session_revoked`: The session behind this token has been signed out. - `forbidden`: The credentials are valid but cannot access this account. - `insufficient_scope`: The API key's scopes do not cover this endpoint. - `user_required`: Only a person signed in to Paid can do this, not an API key: it sends email for the account or acts on its behalf. - `customer_key_forbidden`: A customer-scoped API key called an endpoint it cannot use. - `organization_required`: The request did not say which account it is for. - `auth_context_error`: Paid could not load the account for these credentials. - `invalid_version`: The API version is malformed or not a released version. - `rollback_window_expired`: The account tried to move its pinned version back after the rollback window closed. - `unknown_beta`: `Paid-Beta` names a beta that does not exist, or is malformed. - `beta_not_enabled`: The account is not enrolled in this private beta. - `beta_header_required`: A beta endpoint or field was used without opting in. - `invalid_idempotency_key`: `Idempotency-Key` is empty, longer than 255 characters, or not printable ASCII. - `idempotency_key_reused`: The `Idempotency-Key` was already used with a different request. - `idempotency_request_in_progress`: A request with this `Idempotency-Key` is still running. - `validation_error`: The request body or parameters failed validation. - `invalid_json`: The request body is not valid JSON. - `payload_too_large`: The request body exceeds 10 MB. - `resource_missing`: No resource or path matches the request. - `type_mismatch`: A polymorphic field's `type` doesn't match the sub-object sent with it, or more than one sub-object was sent. `param` names the field. - `reference_not_found`: A reference in the body or query string doesn't name a resource on the account. `param` names the field, e.g. `customer` or `lines[0].price`. - `resource_archived`: A resource the request names is archived, so it can't be used for this. `param` names the field; it's empty when the archived resource is the one in the path. - `resource_not_active`: A resource the request names isn't active: it's still a draft, has ended or was deactivated. `param` names the field. - `status_conflict`: The action can't run on the object in the path from its current `status`, e.g. activating an active order or releasing a captured hold. `message` names the status and the statuses the action needs. - `resource_in_use`: The resource can't be archived or changed this way while other resources still use it. `param` names the field when there is one. - `resource_exists`: A resource with this identifier (an `externalId`, `key` or alias) already exists on the account, ignoring letter case. `param` names the field. - `customer_mismatch`: A resource the request names belongs to a different customer than the one the request is for. `param` names the field. - `internal_error`: Something went wrong on Paid's side. - `currency_not_supported`: `currency` is not enabled on the account. - `currency_locked`: The customer has an order, so its `currency` cannot change. - `customer_has_active_orders`: The customer cannot be archived while it has an activating, active or paused order. - `parent_livemode_mismatch`: `parent` names a customer in the other mode: live for a test key, or test for a live key. - `parent_has_parent`: Parents are one level deep: the named parent has a parent of its own, or the customer being given a parent has children. - `parent_cycle`: `parent` names the customer itself, or, for a customer unit, the unit itself or a unit under it. - `has_active_children`: The customer cannot be archived while it is the `parent` of a customer that is not archived, or the customer unit while it has units under it that are not archived. - `tax_provider_not_connected`: Tax cannot be enabled while no tax provider is connected. - `mixed_tax_codes`: A prepaid commit taxed at purchase is scoped to products with different tax codes, so its invoice has no single code. - `tax_provider_unavailable`: The tax provider could not be reached, so the tax code could not be checked against its catalog. - `immutable_field`: An update tried to change a field that can't change after creation, such as a rate, a key or a reference. - `currency_mismatch`: An amount or reference isn't in the currency the request needs, such as an order's currency. - `limit_exceeded`: The request has more items than the resource allows, such as rates, adjustments, filters or outcomes. - `forfeit_confirmation_required`: Ending this would forfeit a remaining balance, and `forfeitRemaining` wasn't `true`. - `external_id_scopes_meter`: The product's `externalId` can't change while a meter is scoped to it, because the meter matches on that ID. - `percent_of_base_missing`: A percent-of line names prices in `of.lines` that aren't on the order. - `outcome_not_allowed`: `usage.outcome` was sent for an events meter, which has no outcomes. - `meter_not_priceable`: The meter can't be priced on its own: it has `groupBy`, or uses a dashboard-only feature. - `price_in_active_plan`: The price can't be archived while an active plan lists it. - `ambiguous_match`: Two rates match the same dimension values with equal specificity, so rating couldn't choose between them. - `meter_already_priced`: One measure would be priced by both a price and a rate card on the same order. - `no_common_currency`: The plan's lines share no currency. - `default_requires_upgrade_path`: `default: true` was sent on a plan with no `upgradePath`. - `plan_legacy`: The plan was converted from v2 without v1 prices, so it can't be used on a v1 order. - `upgrade_path_position_taken`: Another plan already has this `position` in the upgrade-path `group`. - `quantity_not_allowed`: A line has a `quantity`, but its price has no `unit` (a usage price or flat fee). - `quantity_out_of_range`: A `quantity` is outside the price's or line's `quantityLimits`. - `quantity_limits_wider_than_price`: A line's `quantityLimits` are wider than its price's. - `interval_mismatch`: A recurring price's interval neither divides the order's billing cycle evenly nor is a whole multiple of it. - `line_not_on_order`: An amendment change names a line from another order. - `no_material_changes`: The amendment's changes leave the order as it is. - `usage_billing_behind`: Usage for a past period hasn't been billed yet, so the usage line can't be replaced now. - `seats_exceed_quantity`: The new quantity is below the line's active seats. - `order_ambiguous`: Several orders share this `externalId`, so it can't name one of them. - `order_version_mismatch`: The order changed since the `expectedVersion` sent. - `preview_stale`: The order changed after the amendment was previewed. - `billing_unavailable`: Billing couldn't be reached to preview or apply the change. Nothing changed. - `commit_conflict`: The invoiced minimum overlaps another on the order in both time and scope. - `duplicate_outcome_key`: Two outcomes, or an outcome and `catchAll`, share a key. - `single_event_field_not_allowed`: A single-event meter sent a field only workflows or event aggregation use, such as `identifier`, `close` or `aggregation`. - `alias_unit_conflict`: `customer` is an alias of one unit and `customerUnit` names a unit outside its subtree. - `workflow_unit_conflict`: The event names a different customer unit from the open workflow it joins. - `incompatible_unit`: A strict meter reads a Quantity whose unit can't be converted to the meter's unit. - `unknown_provider`: Paid's model catalog doesn't know the inference provider. - `unknown_model`: Paid's model catalog doesn't know the model. - `range_too_large`: The range is longer than `granularity` allows. - `misaligned_range`: `startsAt` or `endsAt` doesn't fall on a bucket boundary in `timezone`. - `depth_exceeded`: The unit, or a moved subtree, would go below 16 levels. - `root_unit_immovable`: An update tried to move the customer's root unit. - `root_unit_always_billable`: A create or update tried to make the root unit non-billable. - `has_active_cap`: The unit can't be archived while it has an active spend cap. - `has_active_seat`: The unit can't be archived while it holds an active seat, or the customer is billed per seat, so its units can't be created, changed or archived. - `alias_held_by_draft_customer`: The alias value is a draft customer's external ID: usage sent under it before the alias existed made that draft. - `alias_system_managed`: The alias was made by Paid, when a customer's `externalId` changed or from a SalesBricks buyer, so it can't be updated, archived, unarchived or deleted. It has `systemManaged: true`. - `draft_has_billing`: The draft customer to merge has credit grants, pending spends or other billing postings. - `price_not_on_order`: `price` isn't on the order. - `price_not_seat_based`: `price` isn't a recurring price with `seats`. - `customer_unit_not_billable`: The customer unit has `effectiveBillable: false`, so it can't hold a seat. - `seat_limit_reached`: The seat line is full: a purchased line has `quantity` active seats, or an assigned line reached `quantityLimits.maximum`. - `unit_already_has_seat`: The unit already holds an active seat for this product. - `refill_rollover_conflict`: The grant sets both `refill` and `rollover`. - `credit_currency_key_reserved`: The credit currency `key` is an ISO 4217 currency code. - `insufficient_credits`: The customer's spendable balance in the credit currency doesn't cover the hold. Nothing was reserved. - `price_not_one_time`: The auto top-up's `price` isn't a one-time price. - `price_grants_mismatch`: The auto top-up's `price` doesn't grant the rule's credit currency. - `payment_method_required`: `collection: "chargeAutomatically"` was set, but there is no card to charge: the customer has no payment method on file, or the one named (or the default) is a bank transfer account. - `auto_top_up_conflict`: The customer already has an enabled auto top-up for this credit currency. - `invalid_request`: The request was rejected. - `not_found`: The requested resource does not exist. - `conflict`: The request conflicts with the resource's current state. - `rate_limited`: Too many requests in too short a time. - `api_error`: An unexpected error.
- `docUrl` (string, required) — A link to this code's entry on the errors page, or to the page itself for an undocumented code.
- `message` (string, required) — A human-readable explanation of what went wrong.
- `requestId` (string, required) — The ID of the request, also returned in the `Request-Id` header. Include it when contacting support.
- `type` (enum, required) — The category of error.
  - Allowed values: `invalid_request_error`, `authentication_error`, `permission_error`, `idempotency_error`, `rate_limit_error`, `api_error`
- `param` (string, optional) — The request field or header the error relates to, when there is one.

### DesignsInputDocuments

- `changes` (list of DesignChangeInput, optional) — The whole list of changes, in the order they apply; it replaces the draft's. Send a change the draft has with its `id` to keep it (its summary and CSS may change), and a new one without. A change left out is removed, and `[]` goes back to Paid's design. Can't be sent with `css`. Every change joined holds at most 50,000 characters.
- `css` (string, optional, nullable) — The whole stylesheet for invoices and credit notes, or `null` for Paid's design. It replaces every change with one, `Custom stylesheet`. Can't be sent with `changes`.
- `templateVersion` (integer, optional) — The template version the CSS is written for: the draft's current one, or Paid's latest. Left out, it's kept.

### BrandCheckProblem

One reason the version can't be finalized.

- `code` (string, required) — What's wrong: `missing`, `hidden`, `tooSmall`, `lowContrast`, `tooCloseToEdge` on a design that prints edge to edge, or `tooTall` when the header is taller than a quarter of the page, so it wouldn't repeat on every page. Treat the list as open.
- `document` (string, required) — Where it is: `invoice` or `creditNote`.
- `message` (string, required) — The problem in words, naming the part of the document.
- `part` (string, required) — Which required part, as a stable key: `title`, `numberAndDates`, `seller`, `customer`, `amountDue` (the total credit on a credit note), `lineItems`, `totals`, `paidMark` on a design that prints edge to edge, or `header` (the title, number, dates and seller at the top of every page). Treat the list as open.

### BrandCheckWarning

Something a reader may struggle to see. Unlike a problem, it doesn't stop the version being finalized.

- `code` (string, required) — What may be wrong: `faintLogo` when most of the logo printed is under 3:1 against the background behind it. Treat the list as open.
- `document` (string, required) — Where it is: `invoice` or `creditNote`.
- `message` (string, required) — The warning in words, with what would fix it.

### DocumentsDesign

How invoices and credit notes look beyond the brand values.

- `changes` (list of BrandDesignChange, required) — The changes the stylesheet is made of, in the order they apply: a later change wins over an earlier one. Empty for Paid's design. A stylesheet saved before changes existed reads as one change, `Earlier styling`.
- `css` (string, required, nullable) — The stylesheet documents render with: every change's `css`, joined in order by a blank line, or `null` when there are no changes, for Paid's design. Up to 50,000 characters over Paid's invoice and credit note. It styles Paid's documented classes (`.inv-title`, `.inv-amount-due-value`, `.inv-lines`, …) and reads the brand through `var(--brand)`, `var(--accent)`, `var(--brand-tint)`, `var(--on-brand)` and `var(--font)`. It may set only colours and backgrounds (gradients, no images; at most 4 gradient layers per declaration and 8 colour stops per gradient), borders and corners (not `border-image`), spacing, type (`font-family` only `var(--font)` or a generic family; `letter-spacing` and `word-spacing` no tighter than -0.05em), outer shadows (offsets up to 8px), outlines up to 4px, underlines (no line-through or overline) and simple layout (`display`, sizes, flex and grid, `overflow`); any other property (`position`, `transform`, `opacity`, `content`, `filter`, animations …) is refused, naming it. No pseudo-elements, selectors only of elements, classes and `*` joined by a space or `>` (no pseudo-classes, attribute selectors, ids or `+`/`~`, which pick other parts on a real document than on the sample the check reads), no `url()`, `@import` or `@font-face`, no at-rule but `@supports`, no viewport or container units (a design looks the same on screen and in print), colours only hex, named, `rgb()`, `hsl()` or `color-mix(in srgb, …)`, and the brand variables (and the template's `--inv-*`) are read, never redefined. The header's size is the template's, so it repeats on every printed page: padding, margins, gaps, borders, heights and the logo's size set in `.inv-header` are ignored.
- `templateVersion` (integer, required) — The version of Paid's document template the stylesheet was written for, and renders with. A draft keeps the one it was copied with until you send another; send the latest when you rewrite the CSS for it.

### DesignChangeInput

A change to keep, edit or add.

- `css` (string, required) — The change's rules, under the rules of `designs.documents.css`. A rule broken is 400 `invalid_request` on this change's `css`.
- `summary` (string, required) — What the change does, in sentence case, as the seller reads it on the Brand page: `Totals in a grey box`. 1 to 80 characters.
- `id` (string, optional) — The `bdc_` ID of a change the draft has, to keep it. Left out, the change is new and gets an ID. An ID the draft doesn't have is 400 `invalid_request`.

### BrandDesignChange

One change to how the documents look, such as one asked of Ask Paid. Removing it removes exactly its rules.

- `id` (string, required) — The change's `bdc_` ID. It stays the same while the change is kept, edited or not, and a draft copied from a version keeps its changes' IDs.
- `css` (string, required) — The change's own rules, under the rules of `designs.documents.css`.
- `summary` (string, required) — What the change does, in sentence case, as the seller reads it on the Brand page: `Totals in a grey box`.

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "id": "brv_4Nf8Qx",
  "object": "brandVersion",
  "createdAt": "2024-01-15T09:30:00Z",
  "basedOn": "brv_2Lm7Rt",
  "check": {
    "checkedAt": "2024-01-15T09:30:00Z",
    "logoBackground": "light",
    "problems": [],
    "status": "passed",
    "warnings": []
  },
  "colors": {
    "accent": "#F5B82E",
    "brand": "#3B2BD9"
  },
  "designs": {
    "documents": {
      "changes": [
        {
          "id": "bdc_7Hq2Lm",
          "css": ".inv-totals { background: #F4F4F5; border-radius: 8px; }",
          "summary": "Totals in a grey box"
        }
      ],
      "css": ".inv-header { background: var(--brand); border-radius: 8px; }\n.inv-amount-due-value { font-size: 40px; }",
      "templateVersion": 2
    }
  },
  "finalizedAt": null,
  "font": {
    "family": "dm"
  },
  "icon": {
    "url": "https://api.paid.ai/api/logos/org-logos/3f9c1e0a-7b2d-4c5e-8f6a-1b2c3d4e5f60/1731150360000.png"
  },
  "livemode": true,
  "logo": {
    "height": 80,
    "url": "https://api.paid.ai/api/logos/org-logos/3f9c1e0a-7b2d-4c5e-8f6a-1b2c3d4e5f60/1731150000000.png",
    "width": 320
  },
  "logoOnDark": {
    "url": "https://api.paid.ai/api/logos/org-logos/3f9c1e0a-7b2d-4c5e-8f6a-1b2c3d4e5f60/1731150720000.png"
  },
  "metadata": {
    "crmId": "0015g00000XyZ"
  },
  "name": "Header on the brand colour",
  "number": null,
  "status": "draft",
  "updatedAt": "2024-01-15T09:30:00Z"
}
```

**SDK Code**

```python
import requests

url = "https://api.paid.ai/v1/brand/versions"

payload = {}
headers = {
    "Paid-Beta": "brand=v1",
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.paid.ai/v1/brand/versions';
const options = {
  method: 'POST',
  headers: {
    'Paid-Beta': 'brand=v1',
    Authorization: 'Bearer <token>',
    'Content-Type': 'application/json'
  },
  body: '{}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.paid.ai/v1/brand/versions"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("POST", url, payload)

	req.Header.Add("Paid-Beta", "brand=v1")
	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.paid.ai/v1/brand/versions")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Post.new(url)
request["Paid-Beta"] = 'brand=v1'
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{}"

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.post("https://api.paid.ai/v1/brand/versions")
  .header("Paid-Beta", "brand=v1")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('POST', 'https://api.paid.ai/v1/brand/versions', [
  'body' => '{}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
    'Paid-Beta' => 'brand=v1',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.paid.ai/v1/brand/versions");
var request = new RestRequest(Method.POST);
request.AddHeader("Paid-Beta", "brand=v1");
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Paid-Beta": "brand=v1",
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.paid.ai/v1/brand/versions")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "POST"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```