CM.com · Schema

In3Payment

CompanyCPaaSMessagingSMSVoicePaymentsVerificationTicketing

Properties

Name Type Description
invoice object
expiresAt object
consumer object
items object
webhooks object
View JSON Schema on GitHub

JSON Schema

cm-com-in3-payment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/cm-com/json-schema/cm-com-in3-payment-schema.json",
  "title": "In3Payment",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/cm-com-in3-api-openapi.yml#/components/schemas/In3Payment",
  "allOf": [
    {
      "type": "object",
      "required": [
        "invoice",
        "consumer",
        "items"
      ],
      "properties": {
        "invoice": {
          "type": "object",
          "required": [
            "reference",
            "amount",
            "description"
          ],
          "properties": {
            "reference": {
              "$ref": "#/$defs/Reference"
            },
            "amount": {
              "$ref": "#/$defs/Amount"
            },
            "description": {
              "$ref": "#/$defs/Description"
            }
          }
        },
        "expiresAt": {
          "allOf": [
            {
              "$ref": "#/$defs/Datetime"
            },
            {
              "description": "ISO 8601 date and time. If left empty, the value defaults to 4 hours."
            }
          ]
        },
        "consumer": {
          "$ref": "#/$defs/Consumer-2"
        },
        "items": {
          "$ref": "#/$defs/IN3Items"
        },
        "webhooks": {
          "$ref": "#/$defs/TransactionWebhooks"
        }
      }
    },
    {
      "$ref": "#/$defs/ReturnURLOneOf"
    }
  ],
  "$defs": {
    "Address": {
      "allOf": [
        {
          "$ref": "#/$defs/AddressWithStateAndAdditionalData"
        },
        {
          "type": "object",
          "required": [
            "countryCode"
          ]
        }
      ]
    },
    "AddressWithStateAndAdditionalData": {
      "allOf": [
        {
          "$ref": "#/$defs/AddressWithoutMandatoryCountry"
        },
        {
          "type": "object",
          "properties": {
            "state": {
              "description": "The state or province of the consumer's billing address associated with the card used for this purchase. The value must be the country subdivision code (e.g., 'NH') or the official state/province name (e.g., 'Noord Holland') as defined in ISO 3166-2.",
              "type": "string",
              "maxLength": 40
            },
            "additionalData": {
              "description": "The consumers house number addition.",
              "type": "string",
              "maxLength": 35
            }
          }
        }
      ]
    },
    "AddressWithoutMandatoryCountry": {
      "type": "object",
      "description": "The consumers address.",
      "properties": {
        "street": {
          "description": "The consumers street name.",
          "type": "string",
          "maxLength": 100
        },
        "houseNumber": {
          "description": "The consumers house number.",
          "type": "string",
          "maxLength": 35
        },
        "postalCode": {
          "description": "The consumers postal code.",
          "type": "string",
          "maxLength": 35
        },
        "city": {
          "description": "The consumers city.",
          "type": "string",
          "maxLength": 35
        },
        "countryCode": {
          "$ref": "#/$defs/Country"
        }
      }
    },
    "Amount": {
      "description": "Denomination in the smallest currency subunit, as for example euro cents.",
      "type": "integer",
      "minimum": 1,
      "maximum": 99999999
    },
    "BaseWebhook": {
      "type": "object",
      "description": "A single webhook object consists out of an URL to which we need to send the occurred event together with the event that needs to trigger the webhook call.",
      "required": [
        "url",
        "events"
      ],
      "properties": {
        "url": {
          "description": "The URL the request must be send to.",
          "type": "string",
          "format": "url"
        },
        "events": {
          "description": "Type of events that will trigger a webhook.",
          "type": "array",
          "minItems": 1,
          "items": {
            "type": "string"
          }
        }
      }
    },
    "Consumer-2": {
      "description": "The person initiating the checkout, typically the buyer who places the order.",
      "allOf": [
        {
          "$ref": "#/$defs/GenderlessConsumer"
        },
        {
          "type": "object",
          "required": [
            "name",
            "email",
            "phone",
            "shippingAddress",
            "dateOfBirth"
          ]
        }
      ],
      "properties": {
        "name": {
          "type": "object",
          "required": [
            "lastName"
          ],
          "properties": {
            "initials": {
              "description": "Consumer's initials.",
              "type": "string",
              "maxLength": 20
            },
            "lastName": {
              "allOf": [
                {
                  "$ref": "#/$defs/LastName"
                },
                {
                  "type": "string",
                  "maxLength": 250
                }
              ]
            }
          }
        },
        "shippingAddress": {
          "$ref": "#/$defs/IN3Address"
        },
        "invoiceAddress": {
          "$ref": "#/$defs/IN3Address"
        },
        "business": {
          "type": "object",
          "properties": {
            "name": {
              "type": "string",
              "maxLength": 35
            },
            "cocNumber": {
              "type": "string",
              "maxLength": 20
            }
          }
        }
      }
    },
    "Country": {
      "description": "Country of the consumer (ISO-3166)",
      "type": "string",
      "minLength": 2,
      "maxLength": 2
    },
    "Datetime": {
      "type": "string",
      "format": "date-time",
      "minLength": 20,
      "description": "ISO 8601 date and time."
    },
    "Description": {
      "description": "Description of the underlying value or reason of the payment.",
      "type": "string",
      "maxLength": 255
    },
    "Email": {
      "description": "The email address of the consumer.",
      "type": "string",
      "format": "email"
    },
    "FinalStatusEvent": {
      "description": "* `FINALSTATUS` - This value is deprecated and shouldn't be used anymore. Use `STATUS_CHANGE` instead.\n",
      "type": "string",
      "enum": [
        "FINALSTATUS"
      ]
    },
    "GenderlessConsumer": {
      "type": "object",
      "properties": {
        "email": {
          "$ref": "#/$defs/Email"
        },
        "phone": {
          "$ref": "#/$defs/Phone"
        },
        "dateOfBirth": {
          "type": "string",
          "format": "date",
          "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
          "description": "Date of birth in ISO 8601 format (YYYY-MM-DD)."
        }
      }
    },
    "IN3Address": {
      "type": "object",
      "description": "The consumers address.",
      "allOf": [
        {
          "$ref": "#/$defs/Address"
        },
        {
          "description": "The address of the consumer.\nIt must include all required fields such as street, house number, postal code, city, and country code.\nIf the shipping address is different from the billing address, it should be specified in the `shippingAddress` field.",
          "type": "object",
          "required": [
            "street",
            "houseNumber",
            "postalCode",
            "city",
            "countryCode"
          ]
        }
      ],
      "properties": {
        "addressedTo": {
          "type": "string",
          "maxLength": 250,
          "description": "The name or entity which shall accept the package/invoice"
        },
        "houseNumberSuffix": {
          "type": "string",
          "maxLength": 25
        }
      }
    },
    "IN3Items": {
      "description": "Items included in the order. We request both values 'vatAmount' and 'vatRate' to prevent errors.\n",
      "type": "array",
      "minItems": 1,
      "maxItems": 512,
      "items": {
        "allOf": [
          {
            "$ref": "#/$defs/Item"
          },
          {
            "type": "object",
            "required": [
              "description"
            ],
            "properties": {
              "name": {
                "$ref": "#/$defs/ItemName"
              },
              "description": {
                "description": "Additional item description.",
                "maxLength": 100
              }
            }
          }
        ]
      }
    },
    "Item": {
      "description": "Item object that can be used to provide details of the items in the order.\nThis is only used by payment methods that support it, like Klarna and Riverty.",
      "type": "object",
      "required": [
        "code",
        "unitPrice",
        "quantity",
        "vatAmount",
        "vatRate"
      ],
      "properties": {
        "code": {
          "description": "Merchant Product identification. Each item code must be unique per transaction.",
          "type": "string",
          "minLength": 1,
          "maxLength": 50
        },
        "description": {
          "description": "A human readable description of the item.",
          "$ref": "#/$defs/Description"
        },
        "unitPrice": {
          "description": "Unit price (including VAT) of the item, specified in the smallest currency subunit, as for example euro cents.",
          "$ref": "#/$defs/Amount"
        },
        "quantity": {
          "description": "The number of items of this type.",
          "type": "integer",
          "minimum": 1,
          "maximum": 1000000000
        },
        "vatAmount": {
          "description": "Total VAT amount of the orderline, specified in the smallest currency subunit as for example euro cents.\n",
          "$ref": "#/$defs/Amount"
        },
        "vatRate": {
          "description": "Percentage of VAT applied.\nOnly the first decimal value will be taken into account, the rest will be ignored.\n",
          "type": "number",
          "minimum": 0,
          "maximum": 99.9,
          "multipleOf": 0.1
        }
      }
    },
    "ItemName": {
      "description": "A human readable name of the item.",
      "type": "string",
      "maxLength": 50
    },
    "LastName": {
      "description": "Consumer's last name.",
      "type": "string",
      "maxLength": 35
    },
    "Phone": {
      "description": "The phonenumber of the consumer (E.164 format).",
      "type": "string",
      "maxLength": 16
    },
    "Reference": {
      "description": "The clients identifier. This value will be sent in the webhook payload alongside the ID you receive as part of the response of a transaction.",
      "type": "string",
      "minLength": 1,
      "maxLength": 255
    },
    "RefundStatusEvent": {
      "description": "* `REFUND_STATUS` - Triggered when a transaction receives an update on one of its requested refunds.\n",
      "type": "string",
      "enum": [
        "REFUND_STATUS"
      ]
    },
    "ReturnURLOneOf": {
      "oneOf": [
        {
          "type": "object",
          "required": [
            "returnUrls"
          ],
          "properties": {
            "returnUrls": {
              "$ref": "#/$defs/ReturnUrls"
            }
          }
        },
        {
          "type": "object",
          "required": [
            "returnUrl"
          ],
          "properties": {
            "returnUrl": {
              "$ref": "#/$defs/ReturnUrl"
            }
          }
        }
      ]
    },
    "ReturnUrl": {
      "description": "URL where the Consumer is redirected to after completing the transaction at its issuing bank or at the chosen payment method.\n\nWith this implementation you are responsible to fetch the payment status and incorporated into your site.",
      "type": "string",
      "format": "url",
      "maxLength": 2000
    },
    "ReturnUrls": {
      "type": "object",
      "description": "URLs where the Consumer is redirected to after completing the transaction at its issuing bank or at the chosen payment method.\n\nWith this object we can redirect consumer to a dedicated page per payment result status. Either this object or the returnUrl field is mandatory.",
      "required": [
        "success",
        "cancelled",
        "expired",
        "failed"
      ],
      "properties": {
        "success": {
          "type": "string",
          "format": "url",
          "maxLength": 2000
        },
        "cancelled": {
          "type": "string",
          "format": "url",
          "maxLength": 2000
        },
        "expired": {
          "type": "string",
          "format": "url",
          "maxLength": 2000
        },
        "failed": {
          "type": "string",
          "format": "url",
          "maxLength": 2000
        }
      }
    },
    "StatusChangeEvent": {
      "description": "* `STATUS_CHANGE` - Triggered when the status of a transaction changes.\n",
      "type": "string",
      "enum": [
        "STATUS_CHANGE"
      ]
    },
    "TransactionWebhook": {
      "allOf": [
        {
          "$ref": "#/$defs/BaseWebhook"
        },
        {
          "type": "object",
          "properties": {
            "events": {
              "items": {
                "description": "* `STATUS_CHANGE` - Triggered when the status of a transaction changes.\n* `REFUND_STATUS` - Triggered when a transaction receives an update on one of its requested refunds.\n* `FINALSTATUS` - This value is deprecated and shouldn't be used anymore. Use `STATUS_CHANGE` instead.\n",
                "oneOf": [
                  {
                    "$ref": "#/$defs/StatusChangeEvent"
                  },
                  {
                    "$ref": "#/$defs/RefundStatusEvent"
                  },
                  {
                    "$ref": "#/$defs/FinalStatusEvent"
                  }
                ]
              }
            }
          }
        }
      ]
    },
    "TransactionWebhooks": {
      "description": "Array of webhooks that enables receiving a web request once a given event occurs. We won't do preventive rate-limiting in order to have the highest throughput possible. However, we will honor 429 (Too-many-requests) responses per callback. We use the Retry-After header to retry after a certain period. If the header was not set we use our default exponential delay implementation.\n",
      "type": "array",
      "items": {
        "$ref": "#/$defs/TransactionWebhook"
      }
    }
  }
}

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-in3-payment"
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.