payments-ai · Schema

PublicCheckoutByPlanResponse

CompanyPaymentsAIFinTechMerchant of RecordPayment Orchestration

Properties

Name Type Description
planId string
externalPlanId string
externalMerchantId string
productId string
merchantId string
productName string
productDescription string
richDescription string Long-form copy authored on the plan (`plans.rich_description`), rendered as plain text beneath the short description. Newlines are preserved; markup is not interpreted.
productImagePath string
productImageExpiresAt string ISO-8601 UTC expiry of `productImagePath`. Present only when the image is a presigned URL.
type string
billingPeriod string Present for recurring plans; drives checkout recurrence policy copy (day | week | month | year).
lengthOfBillingPeriod integer Number of billing periods per charge cycle (e.g. 3 with month = every 3 months).
amount object
initialPrice object Amount charged at checkout today. Zero for recurring plans with a free trial; otherwise matches amount.
currency string
checkoutUrl string
websiteUrl stringnull Merchant store URL from business settings (`merchants.url`). Null when not configured.
termsUrl stringnull Seller Terms URL or stable API redirect for a PDF. Null when unset (hosted checkout uses the default terms).
privacyUrl stringnull Seller Privacy URL or stable API redirect for a PDF. Null when unset (hosted checkout uses the default privacy policy).
returnPolicyUrl stringnull Seller Return policy URL or stable API redirect for a PDF. Null when unset (link omitted on checkout).
eulaUrl stringnull Seller EULA URL or stable API redirect for a PDF. Null when unset (link omitted on checkout).
customization object
View JSON Schema on GitHub

JSON Schema

payments-ai-public-checkout-by-plan-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/payments-ai/json-schema/payments-ai-public-checkout-by-plan-response-schema.json",
  "title": "PublicCheckoutByPlanResponse",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/payments-ai-mor-openapi.json#/components/schemas/PublicCheckoutByPlanResponse",
  "type": "object",
  "required": [
    "planId",
    "productId",
    "merchantId",
    "productName",
    "type",
    "amount",
    "initialPrice",
    "currency",
    "checkoutUrl",
    "customization"
  ],
  "properties": {
    "planId": {
      "type": "string"
    },
    "externalPlanId": {
      "type": "string"
    },
    "externalMerchantId": {
      "type": "string"
    },
    "productId": {
      "type": "string"
    },
    "merchantId": {
      "type": "string"
    },
    "productName": {
      "type": "string"
    },
    "productDescription": {
      "type": "string"
    },
    "richDescription": {
      "type": "string",
      "description": "Long-form copy authored on the plan (`plans.rich_description`), rendered as plain text beneath the short description. Newlines are preserved; markup is not interpreted."
    },
    "productImagePath": {
      "type": "string"
    },
    "productImageExpiresAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO-8601 UTC expiry of `productImagePath`. Present only when the image is a presigned URL."
    },
    "type": {
      "type": "string"
    },
    "billingPeriod": {
      "type": "string",
      "description": "Present for recurring plans; drives checkout recurrence policy copy (day | week | month | year)."
    },
    "lengthOfBillingPeriod": {
      "type": "integer",
      "format": "int32",
      "description": "Number of billing periods per charge cycle (e.g. 3 with month = every 3 months)."
    },
    "amount": {
      "$ref": "#/$defs/SharedTypes.MoneyAmountValue"
    },
    "initialPrice": {
      "allOf": [
        {
          "$ref": "#/$defs/SharedTypes.MoneyAmountValue"
        }
      ],
      "description": "Amount charged at checkout today. Zero for recurring plans with a free trial; otherwise matches amount."
    },
    "currency": {
      "type": "string"
    },
    "checkoutUrl": {
      "type": "string"
    },
    "websiteUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "Merchant store URL from business settings (`merchants.url`). Null when not configured."
    },
    "termsUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "Seller Terms URL or stable API redirect for a PDF. Null when unset (hosted checkout uses the default terms)."
    },
    "privacyUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "Seller Privacy URL or stable API redirect for a PDF. Null when unset (hosted checkout uses the default privacy policy)."
    },
    "returnPolicyUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "Seller Return policy URL or stable API redirect for a PDF. Null when unset (link omitted on checkout)."
    },
    "eulaUrl": {
      "type": [
        "string",
        "null"
      ],
      "description": "Seller EULA URL or stable API redirect for a PDF. Null when unset (link omitted on checkout)."
    },
    "customization": {
      "$ref": "#/$defs/CheckoutCustomization"
    }
  },
  "$defs": {
    "CheckoutCustomization": {
      "type": "object",
      "properties": {
        "themeMode": {
          "$ref": "#/$defs/CheckoutThemeMode"
        },
        "backgroundColor": {
          "type": "string"
        },
        "buttonColor": {
          "type": "string"
        },
        "buttonTextColor": {
          "type": "string"
        },
        "fontColor": {
          "type": "string",
          "description": "Primary body/content text color for the merchant product panel."
        },
        "logoUrl": {
          "type": "string",
          "description": "Presigned URL resolved on the read side from the stored `logoPath` S3 key."
        },
        "logoExpiresAt": {
          "type": "string",
          "format": "date-time",
          "description": "ISO-8601 UTC expiry of `logoUrl`. Refresh the checkout context before this moment."
        },
        "fontFamily": {
          "$ref": "#/$defs/CheckoutFontFamily"
        },
        "inputStyle": {
          "allOf": [
            {
              "$ref": "#/$defs/CheckoutInputStyle"
            }
          ],
          "description": "Corner radius preset for checkout inputs (`rounded` maps to 8px, `square` to 0)."
        }
      }
    },
    "CheckoutFontFamily": {
      "type": "string",
      "enum": [
        "Inter",
        "Roboto"
      ]
    },
    "CheckoutInputStyle": {
      "type": "string",
      "enum": [
        "rounded",
        "square"
      ]
    },
    "CheckoutThemeMode": {
      "type": "string",
      "enum": [
        "light",
        "dark"
      ]
    },
    "SharedTypes.MoneyAmountValue": {
      "type": "number",
      "format": "decimal",
      "description": "Decimal money amount for financial values."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/payments-ai-public-checkout-by-plan-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.