Amberflo · JSON Structure

Billing Customer Request Structure

Request body for creating or updating a customer

Type: object Properties: 8 Required: 2
Usage-Based BillingMeteringFinOpsAI Cost ManagementBillingMonetization

CustomerRequest is a JSON Structure definition published by Amberflo, describing 8 properties, of which 2 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

customerId customerName customerEmail description test lifecycleStage traits address

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amberflo/refs/heads/main/json-structure/billing-customer-request-structure.json",
  "name": "CustomerRequest",
  "description": "Request body for creating or updating a customer",
  "type": "object",
  "properties": {
    "customerId": {
      "type": "string",
      "description": "Unique customer identifier",
      "example": "customer-123456"
    },
    "customerName": {
      "type": "string",
      "description": "Customer display name",
      "example": "Acme Corp"
    },
    "customerEmail": {
      "type": "string",
      "format": "email",
      "description": "Customer email address",
      "example": "billing@acme.com"
    },
    "description": {
      "type": "string",
      "description": "Customer description"
    },
    "test": {
      "type": "boolean",
      "description": "Marks customer as test",
      "example": false
    },
    "lifecycleStage": {
      "type": "string",
      "description": "Lifecycle stage",
      "enum": [
        "ONBOARDING",
        "TRAIL",
        "ACTIVE",
        "OFFBOARDED"
      ],
      "example": "ACTIVE"
    },
    "traits": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Custom metadata"
    },
    "address": {
      "$ref": "#/components/schemas/Address"
    }
  },
  "required": [
    "customerId",
    "customerName"
  ]
}