Unified.to · Schema

PaymentSubscription

PaymentSubscription schema from Unified.to API

IntegrationsUnified API

Properties

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

JSON Schema

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