> ## 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.

# Submit SOF Answers

> Submit answers to the Source of Funds questionnaire



## OpenAPI

````yaml https://core.prod.gnosispay.com/user-api/openapi.json post /source-of-funds
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:
  /source-of-funds:
    post:
      tags:
        - Source of Funds
      summary: Submit SOF Answers
      description: Submit answers to the Source of Funds questionnaire
      operationId: SourceOfFunds_submitAnswers
      parameters: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitSOFAnswersRequest'
      responses:
        '201':
          description: >-
            The request has succeeded and a new resource has been created as a
            result.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitSOFAnswersSuccess'
        '400':
          description: The server could not understand the request due to invalid syntax.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitSOFAnswersBadRequestBody'
        '401':
          description: Access is unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitSOFAnswersUnauthorized'
        '404':
          description: The server cannot find the requested resource.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitSOFAnswersNotFound'
        '502':
          description: Server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitSOFAnswersBadGateway'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - BearerAuth: []
components:
  schemas:
    SubmitSOFAnswersRequest:
      type: object
      required:
        - answers
      properties:
        answers:
          type: array
          items:
            $ref: '#/components/schemas/SOFAnswer'
          minItems: 1
    SubmitSOFAnswersSuccess:
      type: object
      required:
        - message
      properties:
        message:
          type: string
    SubmitSOFAnswersBadRequestBody:
      type: object
      oneOf:
        - $ref: '#/components/schemas/SubmitSOFAnswersValidationError'
        - $ref: '#/components/schemas/SubmitSOFAnswersBusinessError'
      discriminator:
        propertyName: kind
        mapping:
          validation:
            $ref: '#/components/schemas/SubmitSOFAnswersValidationError'
          business:
            $ref: '#/components/schemas/SubmitSOFAnswersBusinessError'
      description: >-
        Discriminated 400 body for submit answers. Both variants include `kind`
        so

        clients can branch on validation vs business failures (same pattern as
        the

        accept terms and auth POST routes).
    SubmitSOFAnswersUnauthorized:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    SubmitSOFAnswersNotFound:
      type: object
      required:
        - success
        - error
      properties:
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
    SubmitSOFAnswersBadGateway:
      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
    SOFAnswer:
      type: object
      required:
        - question
        - answer
      properties:
        question:
          type: string
        answer:
          type: string
    SubmitSOFAnswersValidationError:
      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 submit answers (decoder / request constraints).
    SubmitSOFAnswersBusinessError:
      type: object
      required:
        - kind
        - success
        - error
      properties:
        kind:
          type: string
          enum:
            - business
        success:
          type: boolean
          enum:
            - false
        error:
          type: string
        details:
          type: string
      description: Domain/business failure on submit answers (missing or invalid answers).
    ValidationErrorDetail:
      type: object
      required:
        - name
        - message
      properties:
        name:
          type: string
          enum:
            - ValidationError
        message:
          type: string
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````