Skip to content

OtpChallenge ​

Type: schema

TypeScript Definition ​

typescript
OtpChallenge: {{
            /** @description Use with the operation appropriate to `otp_action`. */
            otp_token: string;
            otp_action: components["schemas"]["GenerateOtpAction"];
            /** @description The OTP value itself. Only present in non-production environments where OTP exposure is enabled. */
            otp?: string;
        };
        /** OtpContent */
}

Component References ​

ReferenceResolves To
components["schemas"]["GenerateOtpAction"]GenerateOtpAction

OpenAPI Schema ​

json
{
  "title": "OtpChallenge",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/OtpChallenge",
    "description": "API reference for the OtpChallenge schema"
  },
  "required": [
    "otp_token",
    "otp_action"
  ],
  "properties": {
    "otp_token": {
      "description": "Use with the operation appropriate to `otp_action`.",
      "type": "string"
    },
    "otp_action": {
      "$ref": "#/components/schemas/GenerateOtpAction"
    },
    "otp": {
      "description": "The OTP value itself. Only present in non-production environments where OTP exposure is enabled.",
      "type": "string"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: