> ## 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.

# EmailTemplateScratchToRevealSection

> A scratch-to-reveal discount block.

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

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

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

<ResponseField name="fontFamily" type="String!" required>
  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!" required>
  Font size in pixels.
</ResponseField>

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

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

<ResponseField name="id" type="ID!" required>
  Stable id of this section (`blockId` in storage).
</ResponseField>

<ResponseField name="kind" type={<a href="/docs/api-reference/v3/reference/marketing/email-template-section-kind">EmailTemplateSectionKind!</a>} required>
  Always SCRATCH\_TO\_REVEAL.
</ResponseField>

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

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

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

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

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

<ResponseField name="scratchOffColor" type="String!" required>
  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>} required>
  Size of the scratch cursor.
</ResponseField>

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

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

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

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

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

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

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

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


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