> This page is for Afterpay Online Developer, version Main (default).
> For other versions, use one of these documentation indexes:
> - Main (default): https://developers.afterpay.com/afterpay-online-developer/main/llms.txt
> - v1: https://developers.afterpay.com/afterpay-online-developer/v-1/llms.txt
> - Chinese: https://developers.afterpay.com/afterpay-online-developer/chinese/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://developers.afterpay.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://developers.afterpay.com/_mcp/server.

### Schema (`response.body`)

```yaml
openapi: 3.1.0
info:
  title: API
  version: 1.0.0
paths:
  /interval-model-test:
    get:
      operationId: subpackageModels_get-interval-model-test
      summary: Get Interval Model Test
      description: Interval schema for recurring payments
      tags:
        - subpackage_models
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/Models_get-interval-model-test_Response_200
tags:
  - name: subpackage_models
servers:
  - url: https://global-api-sandbox.afterpay.com
    description: Sandbox
  - url: https://global-api.afterpay.com
    description: Production
components:
  schemas:
    IntervalInterval:
      type: string
      enum:
        - DAY
        - WEEK
        - MONTH
        - YEAR
      description: The unit of time for the recurring billing
      title: IntervalInterval
    Interval:
      type: object
      properties:
        interval:
          $ref: '#/components/schemas/IntervalInterval'
          description: The unit of time for the recurring billing
        frequency:
          type: integer
          minimum: 1
          description: How many intervals between billings
      required:
        - interval
        - frequency
      description: Defines a recurring billing interval
      title: Interval
    Models_get-interval-model-test_Response_200:
      type: object
      properties:
        interval:
          $ref: '#/components/schemas/Interval'
      required:
        - interval
      title: Models_get-interval-model-test_Response_200

```

**`Example`**

```json Example
{
  "interval": "DAY",
  "frequency": 1
}
```