---
title: "Create a Styling"
method: POST
path: "/billing/styles"
---

# Create a Styling

`POST /billing/styles`

## Request

- Base URL: `https://api-sandbox.ezypay.com/v2`
- URL: `https://api-sandbox.ezypay.com/v2/billing/styles`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://identity-sandbox.ezypay.com/token`

## Request body

- object
  - `name` string, required: Name of the styling
  - `memo` string, required: A note or description about the styling
  - `cssClasses` string, required: CSS classes involved in this styling.
  - `cssVariables` string, required: CSS variables that will be used in the styling.

## Response `200`

- object
  - `data` object
    - `id` string
    - `name` string
    - `createdByUser` string
    - `memo` string
    - `cssClasses` string
    - `cssVariables` string
    - `lastUpdatedByUser` unknown
    - `createdAt` string
    - `updatedAt` string
  - `status` integer

## Other responses

- `400`: Bad Request

## Changes

- **2026-11-03** `924be4030f56`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/ezypay/apis/vault/changes/billing/styles/post.md)

---

[API](https://skmtc.dev/ezypay/apis/vault.md) - [All operations](https://skmtc.dev/ezypay/apis/vault/llms.txt) - [OpenAPI document](https://skmtc.dev/ezypay/apis/vault/revisions/924be4030f56?raw)
