{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phone-com/json-schema/phone-com-payment-schema.json",
  "title": "Payment",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phone-com-payments-api-openapi.yml#/components/schemas/Payment",
  "type": "object",
  "properties": {
    "amount": {
      "type": "integer",
      "minimum": 1,
      "description": "Payment amount in cents"
    },
    "payment_method_id": {
      "type": [
        "integer",
        "null"
      ],
      "minimum": 1,
      "description": "Payment method ID (don't send to use default)"
    }
  },
  "required": [
    "amount"
  ]
}