CM.com · Schema

CheckoutPayments

CompanyCPaaSMessagingSMSVoicePaymentsVerificationTicketing

Properties

Name Type Description
payments array List of payments created for this checkout.
View JSON Schema on GitHub

JSON Schema

cm-com-checkout-payments-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cm-com/json-schema/cm-com-checkout-payments-schema.json",
  "title": "CheckoutPayments",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-checkout-api-openapi.yml#/components/schemas/CheckoutPayments",
  "type": "object",
  "properties": {
    "payments": {
      "type": "array",
      "description": "List of payments created for this checkout.",
      "items": {
        "type": "object",
        "description": "Payment details. Multiple payment attempts will be returned.",
        "required": [
          "id",
          "type",
          "status",
          "createdAt"
        ],
        "properties": {
          "id": {
            "$ref": "#/$defs/TransactionId"
          },
          "type": {
            "type": "string",
            "description": "The payment method used for this payment attempt.",
            "enum": [
              "apple_pay",
              "bancontact",
              "bank_transfer",
              "creditcard",
              "google_pay",
              "ideal",
              "klarna",
              "paypal",
              "in3"
            ]
          },
          "status": {
            "description": "The status of the payment attempt.",
            "oneOf": [
              {
                "$ref": "#/$defs/StatusOpen"
              },
              {
                "$ref": "#/$defs/StatusSuccess"
              },
              {
                "$ref": "#/$defs/StatusCancelled"
              },
              {
                "$ref": "#/$defs/StatusExpired"
              },
              {
                "$ref": "#/$defs/StatusFailure"
              },
              {
                "$ref": "#/$defs/StatusAuthorized"
              },
              {
                "$ref": "#/$defs/StatusPending"
              }
            ]
          },
          "createdAt": {
            "$ref": "#/$defs/Datetime"
          }
        }
      }
    }
  },
  "$defs": {
    "Datetime": {
      "type": "string",
      "format": "date-time",
      "minLength": 20,
      "description": "ISO 8601 date and time."
    },
    "StatusAuthorized": {
      "description": "The transaction has been authorized.",
      "type": "string",
      "format": "enum",
      "enum": [
        "AUTHORIZED"
      ]
    },
    "StatusCancelled": {
      "description": "The transaction has been cancelled by the consumer.",
      "type": "string",
      "format": "enum",
      "enum": [
        "CANCELLED"
      ]
    },
    "StatusExpired": {
      "description": "The transaction has expired.",
      "type": "string",
      "format": "enum",
      "enum": [
        "EXPIRED"
      ]
    },
    "StatusFailure": {
      "description": "The transaction has failed.",
      "type": "string",
      "format": "enum",
      "enum": [
        "FAILURE"
      ]
    },
    "StatusOpen": {
      "description": "The transaction is open and can be paid.",
      "type": "string",
      "format": "enum",
      "enum": [
        "OPEN"
      ]
    },
    "StatusPending": {
      "description": "The transaction is pending, meaning it could not be completed yet; waiting for something.",
      "type": "string",
      "format": "enum",
      "enum": [
        "PENDING"
      ]
    },
    "StatusSuccess": {
      "description": "The transaction has been successfully paid.",
      "type": "string",
      "format": "enum",
      "enum": [
        "SUCCESS"
      ]
    },
    "TransactionId": {
      "description": "ID received in the POST transaction response root object, which can be used in up following calls like refunds or cancellations as transactionId.",
      "type": "string",
      "format": "uuid",
      "minLength": 36,
      "maxLength": 36
    }
  }
}

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/cm-com-checkout-payments"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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