{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/credorax/main/json-schema/credorax-post-plans-response-schema.json",
  "title": "PostPlansResponse",
  "x-generated": "2026-10-11",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_ae-authored/credorax-openapi-generated.yml#/components/schemas/PostPlansResponse",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the plan"
    },
    "created": {
      "type": "integer",
      "description": "Unix timestamp when the plan was created"
    },
    "objectType": {
      "type": "string",
      "description": "Object type identifier"
    },
    "amount": {
      "type": "integer",
      "description": "Subscription charge amount in minor units of the given currency."
    },
    "currency": {
      "type": "string",
      "description": "Subscription charge currency represented as a three-letter ISO currency code."
    },
    "interval": {
      "type": "string",
      "description": "Frequency of subscription charges."
    },
    "intervalCount": {
      "type": "integer",
      "description": "Number of intervals between subscription charges."
    },
    "billingCycles": {
      "type": "integer",
      "description": "Number of charges after which the subscription will be automatically canceled."
    },
    "name": {
      "type": "string",
      "description": "Display name of this plan"
    },
    "trialPeriodDays": {
      "type": "integer",
      "description": "Number of days between the creation of the subscription and the first charge."
    },
    "recursTo": {
      "type": "string",
      "description": "When the subscription is automatically canceled, it will move to the plan defined by this attribute."
    },
    "splits": {
      "type": "array",
      "description": "Information about split requests defined when creating the plan."
    },
    "metadata": {
      "type": "object",
      "description": "Set of key-value pairs"
    }
  }
}