> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# EmailTemplateScratchToRevealSectionInput

> Fields for a scratch-to-reveal section. Omitted fields keep their value (update) or the default (insert).

<ResponseField name="cornerRadiusPx" type="Int">
  Corner radius in pixels.
</ResponseField>

<ResponseField name="discountId" type="ID">
  DiscountCode id or legacyId from discountCodes.
</ResponseField>

<ResponseField name="fallbackText" type="String">
  Copy shown before scratching.
</ResponseField>

<ResponseField name="fontFamily" type="String">
  One of the email builder's fonts (Arial, Courier New, Georgia, Lucida Sans Unicode, Tahoma, Times New Roman, Trebuchet MS, Verdana, Nunito, Poppins, Raleway, Inter, Pacifico) or a font from the store's brand kit. A single name gets a fallback of the same kind; a comma-separated list is used as written.
</ResponseField>

<ResponseField name="fontSizePx" type="Int">
  Font size in pixels.
</ResponseField>

<ResponseField name="fontWeight" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-builder-font-weight">EmailTemplateBuilderFontWeight</a>}>
  Font weight.
</ResponseField>

<ResponseField name="horizontalAlignment" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-alignment">EmailTemplateAlignment</a>}>
  Horizontal alignment.
</ResponseField>

<ResponseField name="scratchOffAreaPadding" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-padding-input">EmailTemplatePaddingInput</a>}>
  Padding inside the scratch-off area.

  <Expandable title="fields" lazyRender>
    <ResponseField name="bottom" type="Int">
      Bottom padding in pixels.
    </ResponseField>

    <ResponseField name="left" type="Int">
      Left padding in pixels.
    </ResponseField>

    <ResponseField name="right" type="Int">
      Right padding in pixels.
    </ResponseField>

    <ResponseField name="top" type="Int">
      Top padding in pixels.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="scratchOffColor" type="String">
  Color of the scratch-off overlay.
</ResponseField>

<ResponseField name="scratcherSize" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-scratch-to-reveal-scratcher-size">EmailTemplateScratchToRevealScratcherSize</a>}>
  Size of the scratch cursor.
</ResponseField>

<ResponseField name="secretBackgroundColor" type="String">
  Color behind the hidden discount.
</ResponseField>

<ResponseField name="sectionColor" type="String">
  Section background color.
</ResponseField>

<ResponseField name="sectionPadding" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-padding-input">EmailTemplatePaddingInput</a>}>
  Padding around the section.

  <Expandable title="fields" lazyRender>
    <ResponseField name="bottom" type="Int">
      Bottom padding in pixels.
    </ResponseField>

    <ResponseField name="left" type="Int">
      Left padding in pixels.
    </ResponseField>

    <ResponseField name="right" type="Int">
      Right padding in pixels.
    </ResponseField>

    <ResponseField name="top" type="Int">
      Top padding in pixels.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="textColor" type="String">
  Text color.
</ResponseField>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.