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

# Subs Trial To Active

> This Api is used to move the subscription from trial to active. This API is only applicable for subscriptions that have trial settings configured. The subscription will be moved to active state.



## OpenAPI

````yaml /api-reference/subscriptions/subs.json post /subscription/v1.0/markSubscriptionTrialActive
openapi: 3.0.3
info:
  title: Subscription API
  description: API for creating and managing subscription sessions and payments.
  version: 1.0.0
servers:
  - url: https://sandbox-api.transactbridge.com
    description: Sandbox Environment
  - url: https://api.transactbridge.com
    description: Production Environment
security:
  - ApiKeyAuth: []
    SignatureAuth: []
paths:
  /subscription/v1.0/markSubscriptionTrialActive:
    post:
      tags:
        - Subscription
      summary: Subs Trial To Active
      description: >-
        This Api is used to move the subscription from trial to active. This API
        is only applicable for subscriptions that have trial settings
        configured. The subscription will be moved to active state.
      operationId: markSubscriptionTrialActive
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - subscriptionId
              properties:
                subscriptionId:
                  type: string
                customerId:
                  type: string
                userId:
                  type: string
      responses:
        '200':
          description: marked subscription from trial to active.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/markSubscriptionTrialActive'
components:
  schemas:
    markSubscriptionTrialActive:
      type: object
      properties:
        status:
          type: string
          description: The response from the API
        sub_status:
          type: string
          description: Used for internal purposes only
        data:
          type: object
          description: Contains the updated subscription details.
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: Merchant API Key
    SignatureAuth:
      type: apiKey
      in: header
      name: x-signature
      description: Generated request signature

````

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