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

# Activate a pending enrollment

> Creates or resumes the enrollment for the authenticated Meridian account and returns the current enrollment state.



## OpenAPI

````yaml /products/meridian-accounts/api-reference/meridian-accounts.json post /v1/enrollment/activate
openapi: 3.1.1
info:
  title: Meridian API
  version: '1.0'
  description: API documentation for Meridian services
  contact:
    name: Meridian
    url: https://mnai.com
    email: support@mnai.com
  license:
    name: Proprietary
    url: https://mnai.com
servers:
  - url: https://sandbox-api.va.meridianpay.com
    description: Sandbox
  - url: https://api.va.mnai.com
    description: Production
security: []
paths:
  /v1/enrollment/activate:
    post:
      tags:
        - Enrollment
      summary: Activate a pending enrollment
      description: >-
        Creates or resumes the enrollment for the authenticated Meridian account
        and returns the current enrollment state.
      operationId: createMeridianEnrollment
      parameters:
        - name: Authorization
          in: header
          description: >-
            Bearer authentication header of the form `Bearer {token}`. Required
            for client-server (JWT) authentication. See
            [Authentication](/products/meridian-accounts/guides/authentication-overview).
          schema:
            type: string
        - name: X-Meridian-Program-Id
          in: header
          description: >-
            Identifies the program context for the request. Required for
            server-to-server (HMAC) authentication. See
            [Authentication](/products/meridian-accounts/guides/authentication-overview).
          schema:
            type: string
        - name: X-Meridian-User-Id
          in: header
          description: >-
            Identifies the Meridian user targeted by the request. Required for
            server-to-server (HMAC) authentication with MULTI_USER integrations;
            omit for SINGLE_USER. See
            [Authentication](/products/meridian-accounts/guides/authentication-overview).
          schema:
            type: string
        - name: X-Meridian-Api-Key
          in: header
          description: >-
            Partner API key issued by Meridian during provisioning. Required for
            server-to-server (HMAC) authentication. See
            [Authentication](/products/meridian-accounts/guides/authentication-overview).
          schema:
            type: string
        - name: X-Meridian-Timestamp
          in: header
          description: >-
            Current time in milliseconds since the Unix epoch. Must be within 60
            seconds of the request. Required for server-to-server (HMAC)
            authentication. See
            [Authentication](/products/meridian-accounts/guides/authentication-overview).
          schema:
            type: string
        - name: X-Meridian-Signature
          in: header
          description: >-
            HMAC SHA-256 signature of the canonical request string, computed per
            request. Required for server-to-server (HMAC) authentication. See
            [Authentication](/products/meridian-accounts/guides/authentication-overview)
            for how to construct it.
          schema:
            type: string
      responses:
        '200':
          description: >-
            The activated or existing enrollment state for the authenticated
            account
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Enrollment Response'
        '401':
          description: Missing or invalid authentication
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeridianError'
        '403':
          description: >-
            The authenticated caller is not permitted: JWT scope missing, or the
            partner API key lacks entitlement, user ownership, or user-type
            match
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeridianError'
        '500':
          description: Unexpected error while activating the enrollment
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MeridianError'
      security:
        - meridian-account-jwt: []
        - partner-api-key: []
components:
  schemas:
    Enrollment Response:
      type: object
      title: Enrollment Response
      description: Enrollment state for the authenticated Meridian account
      required:
        - id
        - createdAt
        - updatedAt
        - status
      properties:
        id:
          type: string
          description: Unique identifier of the enrollment
          example: enrollment_123
        createdAt:
          type: string
          description: Timestamp when the enrollment was created
          example: '2026-04-01T12:00:00Z'
          format: date-time
        updatedAt:
          type: string
          description: Timestamp when the enrollment was last updated
          example: '2026-04-01T12:05:00Z'
          format: date-time
        status:
          type: string
          description: Current status of the enrollment
          example: ACTIVE
          enum:
            - INACTIVE
            - ACTIVE
        statusReason:
          type:
            - string
            - 'null'
          description: Reason for the current enrollment status, when one applies
          example: REVOKED
          enum:
            - REVOKED
        latestInformationRequest:
          oneOf:
            - $ref: '#/components/schemas/Information Request Summary'
            - type: 'null'
    MeridianError:
      type: object
      title: com.meridianpay.core.common.api.MeridianError
      description: >-
        Represents an error response from the Meridian API, including validation
        errors and an optional error code.
      required:
        - message
      properties:
        validationErrors:
          type: array
          description: >-
            An array of validation errors that occurred during the processing of
            the request. This field is optional and may be empty if there are no
            validation errors.
          items:
            $ref: '#/components/schemas/ValidationError'
        errorCode:
          type:
            - string
            - 'null'
          description: >-
            An optional error code that provides additional information about
            the error. This field is optional and may be null.
        message:
          type: string
          description: >-
            A human-readable message describing the error. This field is
            required and should provide a clear explanation of the error that
            occurred.
    Information Request Summary:
      type: object
      title: Information Request Summary
      description: Summary Information Request entry for the authenticated Meridian account
      required:
        - id
        - status
        - subjectType
        - subjectId
        - validationStatus
        - createdAt
        - updatedAt
      properties:
        id:
          type: string
          description: Unique identifier of the Information Request
          example: ir_01HZX1A2B3C4D5E6F7G8H9J0K
        status:
          type: string
          description: Current status of the Information Request
          example: DRAFT
          enum:
            - DRAFT
            - PROCESSING_SUBMISSION
            - PENDING_REVIEW
            - COMPLETED
            - CANCELED
        subjectType:
          type: string
          description: Type of the entity the Information Request is associated with
          example: ENROLLMENT
          enum:
            - ENROLLMENT
        subjectId:
          type: string
          description: Identifier of the entity the Information Request is associated with
          example: subject-123
        validationStatus:
          type: string
          description: Validation status of the Information Request data
          example: MISSING
          enum:
            - MISSING
            - VALID
            - INVALID
        decision:
          type:
            - string
            - 'null'
          description: >-
            Current manual review decision status for the Information Request,
            if it has been reviewed
          example: PENDING
          enum:
            - PENDING
            - APPROVED
            - REJECTED
        createdAt:
          type: string
          description: Timestamp when the Information Request was created
          example: '2026-04-01T12:00:00Z'
          format: date-time
        updatedAt:
          type: string
          description: Timestamp when the Information Request was last updated
          example: '2026-04-01T12:05:00Z'
          format: date-time
    ValidationError:
      type: object
      title: com.meridianpay.core.common.api.ValidationError
      description: >-
        Represents a validation error that occurred during the processing of a
        request to the Meridian API. One of the following types of validation
        errors may be present: InvalidFormat, InvalidValue, MissingValue,
        UnprocessableValue, UnexpectedVerificationError, MissingRequestBody,
        MissingPathParameter, MissingQueryParameter, or NotFound. Each
        validation error includes a reference to the field that caused the error
        and a message describing the error.
      oneOf:
        - $ref: '#/components/schemas/InvalidFormat'
        - $ref: '#/components/schemas/InvalidValue'
        - $ref: '#/components/schemas/MissingPathParameter'
        - $ref: '#/components/schemas/MissingQueryParameter'
        - $ref: '#/components/schemas/MissingRequestBody'
        - $ref: '#/components/schemas/MissingValue'
        - $ref: '#/components/schemas/NotFound'
        - $ref: '#/components/schemas/UnexpectedVerificationError'
        - $ref: '#/components/schemas/UnprocessableValue'
      discriminator:
        propertyName: type
        mapping:
          com.meridianpay.core.common.api.ValidationError.InvalidFormat:
            $ref: '#/components/schemas/InvalidFormat'
          com.meridianpay.core.common.api.ValidationError.InvalidValue:
            $ref: '#/components/schemas/InvalidValue'
          com.meridianpay.core.common.api.ValidationError.MissingPathParameter:
            $ref: '#/components/schemas/MissingPathParameter'
          com.meridianpay.core.common.api.ValidationError.MissingQueryParameter:
            $ref: '#/components/schemas/MissingQueryParameter'
          com.meridianpay.core.common.api.ValidationError.MissingRequestBody:
            $ref: '#/components/schemas/MissingRequestBody'
          com.meridianpay.core.common.api.ValidationError.MissingValue:
            $ref: '#/components/schemas/MissingValue'
          com.meridianpay.core.common.api.ValidationError.NotFound:
            $ref: '#/components/schemas/NotFound'
          com.meridianpay.core.common.api.ValidationError.UnexpectedVerificationError:
            $ref: '#/components/schemas/UnexpectedVerificationError'
          com.meridianpay.core.common.api.ValidationError.UnprocessableValue:
            $ref: '#/components/schemas/UnprocessableValue'
    InvalidFormat:
      type: object
      title: com.meridianpay.core.common.api.ValidationError.InvalidFormat
      description: The provided value exists, but its format is invalid for the field.
      required:
        - fieldRef
      properties:
        fieldRef:
          type: string
          description: The field or parameter that triggered the validation error.
        message:
          type: string
          description: A human-readable explanation of the validation failure.
    InvalidValue:
      type: object
      title: com.meridianpay.core.common.api.ValidationError.InvalidValue
      description: >-
        The provided value is syntactically valid, but not accepted for the
        field.
      required:
        - fieldRef
      properties:
        fieldRef:
          type: string
          description: The field or parameter that triggered the validation error.
        message:
          type: string
          description: A human-readable explanation of the validation failure.
    MissingPathParameter:
      type: object
      title: com.meridianpay.core.common.api.ValidationError.MissingPathParameter
      description: A required path parameter was not supplied.
      required:
        - fieldRef
      properties:
        fieldRef:
          type: string
          description: The field or parameter that triggered the validation error.
        message:
          type: string
          description: A human-readable explanation of the validation failure.
    MissingQueryParameter:
      type: object
      title: com.meridianpay.core.common.api.ValidationError.MissingQueryParameter
      description: A required query parameter was not supplied.
      required:
        - fieldRef
      properties:
        fieldRef:
          type: string
          description: The field or parameter that triggered the validation error.
        message:
          type: string
          description: A human-readable explanation of the validation failure.
    MissingRequestBody:
      type: object
      title: com.meridianpay.core.common.api.ValidationError.MissingRequestBody
      description: >-
        The request body is missing or does not contain the required non-null
        fields.
      properties:
        message:
          type: string
          description: A human-readable explanation of the validation failure.
        fieldRef:
          type: string
    MissingValue:
      type: object
      title: com.meridianpay.core.common.api.ValidationError.MissingValue
      description: A required value for the field was not provided.
      required:
        - fieldRef
      properties:
        fieldRef:
          type: string
          description: The field or parameter that triggered the validation error.
        message:
          type: string
          description: A human-readable explanation of the validation failure.
    NotFound:
      type: object
      title: com.meridianpay.core.common.api.ValidationError.NotFound
      description: The referenced principal object was not found.
      required:
        - fieldRef
      properties:
        fieldRef:
          type: string
          description: The field or parameter that triggered the validation error.
        message:
          type: string
          description: A human-readable explanation of the validation failure.
    UnexpectedVerificationError:
      type: object
      title: >-
        com.meridianpay.core.common.api.ValidationError.UnexpectedVerificationError
      description: A downstream verification step failed while checking the value.
      required:
        - fieldRef
      properties:
        fieldRef:
          type: string
          description: The field or parameter that triggered the validation error.
        message:
          type: string
          description: A human-readable explanation of the validation failure.
    UnprocessableValue:
      type: object
      title: com.meridianpay.core.common.api.ValidationError.UnprocessableValue
      description: The provided value cannot be processed into a valid result.
      required:
        - fieldRef
      properties:
        fieldRef:
          type: string
          description: The field or parameter that triggered the validation error.
        message:
          type: string
          description: A human-readable explanation of the validation failure.

````