{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "#/components/schemas/BillingAppCustomerData", "title": "BillingAppCustomerData", "description": "App customer data.", "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" } } }