Kong · Schema

UpsertAppCustomerDataRequest

AppCustomerData upsert request.

API GatewayAI GatewayAI ConnectivityAgent GatewayEvent GatewayMCP RegistryService MeshLLMKafkaKonnectOpen Source

Properties

Name Type Description
stripe object Used if the customer has a linked Stripe app.
external_invoicing object Used if the customer has a linked external invoicing app.
View JSON Schema on GitHub

JSON Schema

kong-upsertappcustomerdatarequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/UpsertAppCustomerDataRequest",
  "title": "UpsertAppCustomerDataRequest",
  "description": "AppCustomerData upsert request.",
  "type": "object",
  "properties": {
    "stripe": {
      "description": "Used if the customer has a linked Stripe app.",
      "type": "object",
      "properties": {
        "customer_id": {
          "description": "The Stripe customer ID used.",
          "type": "string",
          "example": "cus_1234567890",
          "title": "Stripe customer ID"
        },
        "default_payment_method_id": {
          "description": "The Stripe default payment method ID.",
          "type": "string",
          "example": "pm_1234567890",
          "title": "Stripe default payment method ID"
        },
        "labels": {
          "description": "Labels for this Stripe integration on the customer.",
          "type": "object",
          "example": {
            "env": "test"
          },
          "additionalProperties": {
            "type": "string",
            "pattern": "^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$",
            "minLength": 1,
            "maxLength": 63
          },
          "maxProperties": 50,
          "title": "Labels"
        }
      },
      "title": "Stripe"
    },
    "external_invoicing": {
      "description": "Used if the customer has a linked external invoicing app.",
      "type": "object",
      "properties": {
        "labels": {
          "description": "Labels for this external invoicing integration on the customer.",
          "type": "object",
          "example": {
            "env": "test"
          },
          "additionalProperties": {
            "type": "string",
            "pattern": "^[a-z0-9A-Z]{1}([a-z0-9A-Z-._]*[a-z0-9A-Z]+)?$",
            "minLength": 1,
            "maxLength": 63
          },
          "maxProperties": 50,
          "title": "Labels"
        }
      },
      "title": "External invoicing"
    }
  }
}