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

# Turn on auto-renew

> <Info>This API is in beta. Endpoints, fields, and behavior may still change, so avoid depending on it in production.</Info>

Turns automatic renewal back on for a Wix-billed plan that's set to end at the close of its billing period. Only the workspace owner can turn it on. Calling it on a plan that already renews changes nothing.

<Warning>This takes effect right away, with no confirmation step. Nothing is charged now, but the plan renews on its renewal date again, and that renewal charges the saved payment method.</Warning>

This works only for workspaces billed through Wix. For a Stripe-billed workspace, use [Reactivate subscription](/api-reference/reactivate-subscription). To cancel again, use [Cancel subscription](/api-reference/cancel-subscription).

The base rate limit is 5 requests per hour per user. See [Rate limits](/developers/references/apps-api/get-started/rate-limits) for the multiplier your plan gets.



## OpenAPI

````yaml /developers/references/app-management/app-management-openapi.json post /api/billing/wix-turn-auto-renew-on
openapi: 3.1.0
info:
  title: Base44 App Management API
  version: 1.0.0
servers:
  - url: https://app.base44.com
security:
  - PersonalAccessTokenAuth: []
paths:
  /api/billing/wix-turn-auto-renew-on:
    post:
      summary: Turn on auto-renew
      description: >-
        <Info>This API is in beta. Endpoints, fields, and behavior may still
        change, so avoid depending on it in production.</Info>


        Turns automatic renewal back on for a Wix-billed plan that's set to end
        at the close of its billing period. Only the workspace owner can turn it
        on. Calling it on a plan that already renews changes nothing.


        <Warning>This takes effect right away, with no confirmation step.
        Nothing is charged now, but the plan renews on its renewal date again,
        and that renewal charges the saved payment method.</Warning>


        This works only for workspaces billed through Wix. For a Stripe-billed
        workspace, use [Reactivate
        subscription](/api-reference/reactivate-subscription). To cancel again,
        use [Cancel subscription](/api-reference/cancel-subscription).


        The base rate limit is 5 requests per hour per user. See [Rate
        limits](/developers/references/apps-api/get-started/rate-limits) for the
        multiplier your plan gets.
      operationId: wix_turn_auto_renew_on_api_billing_wix_turn_auto_renew_on_post
      responses:
        '200':
          description: Auto-renew is on.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BillingActionResult'
              example:
                success: true
        '400':
          description: >-
            The workspace isn't billed through Wix, or has no Wix billing
            account.
        '401':
          description: >-
            Missing or invalid credentials. A read-only token gets this response
            too.
        '403':
          description: >-
            You aren't the workspace owner, or a payment dispute is open on the
            workspace.
        '429':
          description: >-
            Rate limit exceeded. The base rate limit is 5 requests per hour per
            user. See [Rate
            limits](/developers/references/apps-api/get-started/rate-limits) for
            the multiplier your plan gets.
        '503':
          description: >-
            Database temporarily unavailable (`database_unavailable`): the data
            cluster did not answer in time. Retry after the `Retry-After`
            seconds.
          headers:
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StandardErrorEnvelope'
              examples:
                database_unavailable:
                  summary: database_unavailable
                  value:
                    error:
                      code: database_unavailable
                      message: Database temporarily unavailable, please retry
                      details: {}
      security:
        - PersonalAccessTokenAuth:
            - full_access
components:
  schemas:
    BillingActionResult:
      properties:
        success:
          type: boolean
          title: Success
          description: Always `true`. A failure returns an error status instead.
          example: true
      type: object
      required:
        - success
      title: BillingActionResult
      description: Confirms the change is applied.
    StandardErrorEnvelope:
      properties:
        error:
          $ref: '#/components/schemas/StandardError'
          description: What went wrong.
      type: object
      required:
        - error
      title: StandardErrorEnvelope
      description: The error body returned in the standard envelope.
    StandardError:
      properties:
        code:
          type: string
          title: Code
          description: >-
            Stable machine-readable cause of the failure. Match on this, not on
            `message`.
          example: not_found
        message:
          type: string
          title: Message
          description: Human-readable explanation. It isn't a stable contract.
          example: App not found
        details:
          additionalProperties: true
          type: object
          title: Details
          description: >-
            Structured context for the failure, or an empty object when there's
            none.
          example: {}
      type: object
      required:
        - code
        - message
      title: StandardError
  securitySchemes:
    PersonalAccessTokenAuth:
      type: http
      scheme: bearer
      description: >-
        Personal access token, sent as `Authorization: Bearer <token>`. Each
        operation lists the permission it needs: `read_only` or `full_access`. A
        full-access token can call every operation. A read-only token can call
        only the operations that list `read_only`; anything else returns 403
        `read_only_credential_route_not_allowed`.

````

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