> ## Documentation Index
> Fetch the complete documentation index at: https://gnosispay-feat-v2-auth-module.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Accept Terms

> Accept one or more terms types and versions



## OpenAPI

````yaml https://core.prod.gnosispay.com/user-api/openapi.json post /user/terms
openapi: 3.1.0
info:
  title: User Service
  version: 0.0.0
servers: []
security: []
tags:
  - name: Health
  - name: Auth
  - name: User
  - name: Cards
  - name: Phone
  - name: PCI
  - name: Terms
  - name: Source of Funds
paths:
  /user/terms:
    post:
      tags:
        - Terms
      summary: Accept Terms
      description: Accept one or more terms types and versions
      operationId: UserTerms_acceptUserTerms
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AcceptUserTermsRequest'
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptUserTermsSuccess'
        '400':
          description: The server could not understand the request due to invalid syntax.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptUserTermsBadRequestBody'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptUserTermsUnauthorized'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptUserTermsNotFound'
        '502':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AcceptUserTermsBadGateway'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - BearerAuth: []
components:
  schemas:
    AcceptUserTermsRequest:
      type: object
      required:
        - terms
      properties:
        terms:
          type: array
          items:
            $ref: '#/components/schemas/AcceptUserTermsItem'
          minItems: 1
    AcceptUserTermsSuccess:
      type: object
      required:
        - ok
      properties:
        ok:
          type: boolean
          enum:
            - true
    AcceptUserTermsBadRequestBody:
      type: object
      oneOf:
        - $ref: '#/components/schemas/AcceptUserTermsValidationError'
        - $ref: '#/components/schemas/AcceptUserTermsBusinessErrorBody'
      discriminator:
        propertyName: kind
        mapping:
          validation:
            $ref: '#/components/schemas/AcceptUserTermsValidationError'
          business:
            $ref: '#/components/schemas/AcceptUserTermsBusinessErrorBody'
      description: >-
        Discriminated 400 body for accept terms. Both variants include `kind` so
        clients

        can branch on validation vs business failures (same pattern as auth POST
        routes).
    AcceptUserTermsUnauthorized:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    AcceptUserTermsNotFound:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    AcceptUserTermsBadGateway:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    Error:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    AcceptUserTermsItem:
      type: object
      required:
        - type
        - version
      properties:
        type:
          type: string
        version:
          type: string
    AcceptUserTermsValidationError:
      type: object
      required:
        - kind
        - success
        - error
      properties:
        kind:
          type: string
          enum:
            - validation
        success:
          type: boolean
          enum:
            - false
        error:
          $ref: '#/components/schemas/ValidationErrorDetail'
      description: Validation failure on accept terms (decoder / request constraints).
    AcceptUserTermsBusinessErrorBody:
      type: object
      required:
        - kind
        - success
        - ok
        - errors
      properties:
        kind:
          type: string
          enum:
            - business
        success:
          type: boolean
          enum:
            - false
        ok:
          type: boolean
          enum:
            - false
        errors:
          type: array
          items:
            $ref: '#/components/schemas/AcceptUserTermsErrorItem'
      description: Domain/business failure on accept terms (invalid type or version).
    ValidationErrorDetail:
      type: object
      required:
        - name
        - message
      properties:
        name:
          type: string
          enum:
            - ValidationError
        message:
          type: string
    AcceptUserTermsErrorItem:
      type: object
      required:
        - type
        - error
      properties:
        type:
          type: string
        error:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````