Unified.to · Schema

PaymentSubscription

IntegrationsUnified API

Properties

Name Type Description
canceled_at string
contact_id string
created_at string
currency string
current_period_end_at string
current_period_start_at string
day_of_month number
day_of_week number
description string
end_at string
id string
interval number
interval_unit string
invoice_id string
lineitems object
month number
raw object
start_at string
status string
updated_at string
View JSON Schema on GitHub

JSON Schema

unified-to-paymentsubscription-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PaymentSubscription",
  "title": "PaymentSubscription",
  "properties": {
    "canceled_at": {
      "format": "date-time",
      "type": "string"
    },
    "contact_id": {
      "type": "string"
    },
    "created_at": {
      "format": "date-time",
      "type": "string"
    },
    "currency": {
      "type": "string"
    },
    "current_period_end_at": {
      "format": "date-time",
      "type": "string"
    },
    "current_period_start_at": {
      "format": "date-time",
      "type": "string"
    },
    "day_of_month": {
      "type": "number"
    },
    "day_of_week": {
      "type": "number"
    },
    "description": {
      "type": "string"
    },
    "end_at": {
      "format": "date-time",
      "type": "string"
    },
    "id": {
      "type": "string"
    },
    "interval": {
      "type": "number"
    },
    "interval_unit": {
      "enum": [
        "YEAR",
        "MONTH",
        "WEEK",
        "DAY"
      ],
      "type": "string",
      "x-speakeasy-unknown-values": "allow"
    },
    "invoice_id": {
      "type": "string"
    },
    "lineitems": {
      "$ref": "#/components/schemas/property_PaymentSubscription_lineitems"
    },
    "month": {
      "type": "number"
    },
    "raw": {
      "additionalProperties": true,
      "type": "object"
    },
    "start_at": {
      "format": "date-time",
      "type": "string"
    },
    "status": {
      "enum": [
        "ACTIVE",
        "INACTIVE",
        "CANCELED",
        "PAUSED"
      ],
      "type": "string",
      "x-speakeasy-unknown-values": "allow"
    },
    "updated_at": {
      "format": "date-time",
      "type": "string"
    }
  },
  "type": "object"
}