{
"$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"
}