{
  "openapi": "3.0.2",
  "servers": [
    {
      "url": "https://fraud-detector-api.iron.statsd.io/"
    }
  ],
  "info": {
    "title": "Authentic-Action",
    "version": "1.0",
    "description": ""
  },
  "externalDocs": {"description": "Developer Documentation",  "url": "https://docsjs.ironvest.com/ironvest-authenticaction-client-sdk/"},
  "paths": {
    "/api/v1/validate": {
      "post": {
        "tags": [
          "validate"
        ],
        "summary": "Process Validate Post Request",
        "operationId": "process_validate_post_request_api_v1_validate_post",
        "parameters": [
          {
            "required": false,
            "schema": {
              "title": "User-Agent",
              "type": "string"
            },
            "name": "user-agent",
            "in": "header"
          },
          {
            "required": false,
            "schema": {
              "title": "X-Forwarded-For",
              "type": "string"
            },
            "name": "X-Forwarded-For",
            "in": "header"
          },
          {
            "required": false,
            "schema": {
              "title": "Http-Referer",
              "type": "string"
            },
            "name": "http-referer",
            "in": "header"
          },
          {
            "required": false,
            "schema": {
              "title": "Apikey",
              "type": "string"
            },
            "name": "apiKey",
            "in": "header"
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/ValidatePostRequestV1"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ValidatePostResponseV1"
                }
              }
            }
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "security": [
          {
            "APIKeyHeader": []
          },
          {
            "APIKeyCookie": []
          }
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "ValidatePostRequestV1": {
        "properties": {
          "cid": {
            "type": "string",
            "title": "Cid"
          },
          "csid": {
            "type": "string",
            "title": "Csid"
          },
          "userID": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Userid"
          },
          "additionalData": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Additionaldata"
          }
        },
        "type": "object",
        "required": [
          "cid",
          "csid"
        ],
        "title": "ValidatePostRequest"
      },
      "ValidatePostResponseV1":{
        "properties": {
          "errorMessage": {
            "anyOf": [
              {
                "type": "string"
              },
              {
                "type": "null"
              }
            ],
            "title": "Errormessage"
          },
          "verifiedAction": {
            "anyOf": [
              {
                "type": "boolean"
              },
              {
                "type": "null"
              }
            ],
            "title": "Verifiedaction"
          },
          "success": {
            "anyOf": [
              {
                "type": "integer"
              },
              {
                "type": "null"
              }
            ],
            "title": "Success"
          },
          "indicators": {
            "anyOf": [
              {
                "type": "object"
              },
              {
                "type": "null"
              }
            ],
            "title": "Indicators"
          }
        },
        "type": "object",
        "title": "ValidatePostResponse"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }

    },
    "securitySchemes": {
      "APIKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "apiKey"
      },
      "APIKeyCookie": {
        "type": "apiKey",
        "in": "cookie",
        "name": "apiKey"
      }
    }
  }
}