Autohost · Schema

PaymentEventRequest

CompanyIdentityVerificationBackgroundCheckFraudDetectionHospitalityRealEstate

Properties

Name Type Description
reservation_id string
event_source string
event_id string
event_type string
event_status string
customer_id string
processor_status_code string
processor_message string
network_status_code string
amount number
currency string
charge_descriptor string
name_on_card string
payment_method string
card_type string
card_provider string
card_iin string
card_last4 string
card_expiry_month string
card_expiry_year string
card_fingerprint string
billing_country_code string
billing_address string
billing_city string
billing_state_code string
billing_postal_code string
billing_phone string
billing_email string
billing_name string
ip_address string
user_agent string
timestamp string
View JSON Schema on GitHub

JSON Schema

autohost-payment-event-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/autohost/json-schema/autohost-payment-event-request-schema.json",
  "title": "PaymentEventRequest",
  "x-generated": "2026-10-28",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/autohost-openapi.json#/components/schemas/PaymentEventRequest",
  "required": [
    "reservation_id",
    "event_id",
    "event_source",
    "event_type",
    "event_status"
  ],
  "properties": {
    "reservation_id": {
      "type": "string"
    },
    "event_source": {
      "type": "string",
      "enum": [
        "adyen",
        "stripe"
      ]
    },
    "event_id": {
      "type": "string"
    },
    "event_type": {
      "type": "string",
      "enum": [
        "authorization",
        "charge",
        "refund",
        "dispute",
        "chargeback"
      ]
    },
    "event_status": {
      "type": "string",
      "enum": [
        "info",
        "warning",
        "success",
        "failure"
      ]
    },
    "customer_id": {
      "type": "string"
    },
    "processor_status_code": {
      "type": "string"
    },
    "processor_message": {
      "type": "string"
    },
    "network_status_code": {
      "type": "string"
    },
    "amount": {
      "type": "number",
      "minimum": 0
    },
    "currency": {
      "type": "string",
      "minLength": 3,
      "maxLength": 3
    },
    "charge_descriptor": {
      "type": "string"
    },
    "name_on_card": {
      "type": "string"
    },
    "payment_method": {
      "type": "string",
      "enum": [
        "card",
        "ach"
      ]
    },
    "card_type": {
      "type": "string",
      "enum": [
        "credit",
        "debit",
        "prepaid"
      ]
    },
    "card_provider": {
      "type": "string",
      "enum": [
        "visa",
        "mastercard",
        "amex",
        "discover",
        "jcb",
        "diners",
        "maestro",
        "unionpay",
        "other"
      ]
    },
    "card_iin": {
      "type": "string",
      "minLength": 4,
      "maxLength": 6
    },
    "card_last4": {
      "type": "string",
      "minLength": 4,
      "maxLength": 4
    },
    "card_expiry_month": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2
    },
    "card_expiry_year": {
      "type": "string",
      "minLength": 4,
      "maxLength": 4
    },
    "card_fingerprint": {
      "type": "string"
    },
    "billing_country_code": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2
    },
    "billing_address": {
      "type": "string"
    },
    "billing_city": {
      "type": "string"
    },
    "billing_state_code": {
      "type": "string"
    },
    "billing_postal_code": {
      "type": "string"
    },
    "billing_phone": {
      "type": "string"
    },
    "billing_email": {
      "type": "string",
      "format": "email"
    },
    "billing_name": {
      "type": "string"
    },
    "ip_address": {
      "type": "string",
      "format": "ipv4"
    },
    "user_agent": {
      "type": "string"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}

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/autohost-payment-event-request"
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.