{
  "service": "veriphone",
  "displayName": "Veriphone",
  "categories": [
    "Communication",
    "Data"
  ],
  "authTypes": [
    "api_key"
  ],
  "auth": [
    {
      "type": "api_key",
      "label": "API Key",
      "placeholder": "VERIPHONE_API_KEY",
      "description": "Veriphone API key sent with the Authorization Bearer header. Sign up and manage your key from the control panel via https://veriphone.io/docs.",
      "extraFields": []
    }
  ],
  "homepageUrl": "https://veriphone.io",
  "actions": [
    {
      "id": "veriphone.get_credits",
      "service": "veriphone",
      "name": "get_credits",
      "description": "Retrieve the current Veriphone verification credit summary for the account.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {},
        "additionalProperties": false,
        "description": "The input payload for retrieving the current Veriphone credit summary."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "The response status returned by Veriphone."
          },
          "credits": {
            "type": "integer",
            "description": "The remaining verification credits on the account."
          },
          "total_verified_phone_numbers": {
            "type": "integer",
            "description": "The cumulative number of verified phone numbers on the account."
          },
          "active": {
            "type": "boolean",
            "description": "Whether the Veriphone account is active."
          },
          "email": {
            "type": "string",
            "description": "The account email returned by Veriphone."
          },
          "country": {
            "type": "string",
            "description": "The account country returned by Veriphone."
          },
          "counter": {
            "type": "integer",
            "description": "The account counter value returned by Veriphone."
          }
        },
        "additionalProperties": false,
        "required": [
          "status",
          "credits"
        ],
        "description": "The current credit summary returned by Veriphone."
      }
    },
    {
      "id": "veriphone.verify_phone_number",
      "service": "veriphone",
      "name": "verify_phone_number",
      "description": "Verify whether a phone number is valid and return its carrier and region data.",
      "requiredScopes": [],
      "providerPermissions": [],
      "inputSchema": {
        "type": "object",
        "properties": {
          "phone": {
            "type": "string",
            "minLength": 1,
            "description": "The phone number to verify in E.164 or another commonly used format."
          },
          "default_country": {
            "type": "string",
            "minLength": 2,
            "maxLength": 2,
            "description": "The optional ISO 3166-1 alpha-2 country code used to interpret local numbers.",
            "pattern": "^[A-Z]{2}$"
          }
        },
        "additionalProperties": false,
        "required": [
          "phone"
        ],
        "description": "The input payload for verifying a phone number with Veriphone."
      },
      "outputSchema": {
        "type": "object",
        "properties": {
          "status": {
            "type": "string",
            "description": "The response status returned by Veriphone."
          },
          "phone": {
            "type": "string",
            "description": "The phone number echoed back by Veriphone."
          },
          "phone_valid": {
            "type": "boolean",
            "description": "Whether Veriphone considers the phone number valid."
          },
          "phone_type": {
            "type": "string",
            "description": "The detected line type, such as mobile or landline."
          },
          "phone_region": {
            "type": "string",
            "description": "The detected region or area associated with the phone number."
          },
          "country": {
            "type": "string",
            "description": "The detected country name."
          },
          "country_code": {
            "type": "string",
            "description": "The detected ISO 3166-1 alpha-2 country code."
          },
          "country_prefix": {
            "type": "string",
            "description": "The detected country calling prefix."
          },
          "international_number": {
            "type": "string",
            "description": "The international presentation of the phone number."
          },
          "local_number": {
            "type": "string",
            "description": "The local significant number."
          },
          "e164": {
            "type": "string",
            "description": "The E.164 representation of the phone number."
          },
          "carrier": {
            "type": "string",
            "description": "The detected carrier name, when available."
          }
        },
        "additionalProperties": false,
        "required": [
          "status",
          "phone",
          "phone_valid"
        ],
        "description": "The phone verification result returned by Veriphone."
      }
    }
  ]
}
