Collectly · Schema

PaymentMethod

CompanyHealth TechRevenue Cycle ManagementPatient PaymentsMedical BillingPaymentsHealthcareInsurance Eligibility

Properties

Name Type Description
collectly_id string Unique Collectly resource ID
customer_id stringnull Payment method owner's ID in payment provider account (e.g. Stripe)
exp_month integernull Payment method expiration month number
exp_year integernull Payment method expiration year in YYYY format (e.g. 2024)
external_payment_method_id stringnull Payment method ID in payment provider account. This can be the ID of a card or bank account etc.
last4 stringnull Last four numbers of the payment method number
name stringnull Display name
patient_id string Patient ID from your integration who owns the resource
status string Payment method activity status. Only `active` payment methods can be used for charging
type object Card brand or bank account
View JSON Schema on GitHub

JSON Schema

collectly-payment-method-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/collectly/main/json-schema/collectly-payment-method-schema.json",
  "title": "PaymentMethod",
  "x-generated": "2026-10-14",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/collectly-partners1-openapi.yml#/components/schemas/PaymentMethod",
  "properties": {
    "collectly_id": {
      "description": "Unique Collectly resource ID",
      "readOnly": true,
      "type": "string"
    },
    "customer_id": {
      "description": "Payment method owner's ID in payment provider account (e.g. Stripe)",
      "type": [
        "string",
        "null"
      ]
    },
    "exp_month": {
      "description": "Payment method expiration month number",
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "exp_year": {
      "description": "Payment method expiration year in YYYY format (e.g. 2024)",
      "format": "int32",
      "type": [
        "integer",
        "null"
      ]
    },
    "external_payment_method_id": {
      "description": "Payment method ID in payment provider account. This can be the ID of a card or bank account etc.",
      "type": [
        "string",
        "null"
      ]
    },
    "last4": {
      "description": "Last four numbers of the payment method number",
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "description": "Display name",
      "type": [
        "string",
        "null"
      ]
    },
    "patient_id": {
      "description": "Patient ID from your integration who owns the resource",
      "type": "string"
    },
    "status": {
      "description": "Payment method activity status. Only `active` payment methods can be used for charging",
      "enum": [
        "active",
        "invalid",
        "expired",
        "one_time",
        "no_consent",
        "deleted"
      ],
      "type": "string"
    },
    "type": {
      "description": "Card brand or bank account",
      "enum": [
        "bank_account",
        "amex",
        "diners",
        "discover",
        "eftpos_au",
        "jcb",
        "mastercard",
        "unionpay",
        "visa",
        "unknown"
      ],
      "maxLength": 12
    }
  },
  "required": [
    "patient_id"
  ],
  "type": "object"
}

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/collectly-payment-method"
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.