Skip to content

OtpContent

Type: schema

TypeScript Definition

typescript
OtpContent: {{
            /** @description Token to pass to the verify-otp endpoint along with the OTP. */
            otp_token: string;
            /** @description Action type to pass to the verify-otp endpoint. */
            otp_action: string;
        };
        /**
         * @description pagination metadata structure
         * @example {
         *       "total_records": 252,
         *       "total_pages": 26,
         *       "previous_page": null,
         *       "next_page": 2,
         *       "limit": 10
         *     }
         */
}

OpenAPI Schema

json
{
  "title": "OtpContent",
  "type": "object",
  "externalDocs": {
    "url": "https://llm-docs.commercengine.io/storefront/schemas/OtpContent",
    "description": "API reference for the OtpContent schema"
  },
  "required": [
    "otp_token",
    "otp_action"
  ],
  "properties": {
    "otp_token": {
      "description": "Token to pass to the verify-otp endpoint along with the OTP.",
      "type": "string"
    },
    "otp_action": {
      "description": "Action type to pass to the verify-otp endpoint.",
      "type": "string"
    }
  }
}

Auto-generated from OpenAPI spec and TypeScript definitions

Last updated: