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

# Submit profile source-of-funds answers

> Submits a complete set of source-of-funds answers for a KYC profile.

Fetch the current questionnaire first. Every required question must be
answered once using one of its allowed answers.



## OpenAPI

````yaml https://core.sandbox.gnosispay.in/partner-api/openapi.json post /v1/kyc/profiles/{kyc_profile_id}/source-of-funds
openapi: 3.1.0
info:
  title: Gnosis Pay Partner API
  version: 1.0.0
  description: >-
    Server-to-server API for onboarding users, creating accounts and cards,
    moving

    funds, and managing the card lifecycle. Call this API only from a trusted

    backend. Every request requires a partner access token, and every resource
    is

    scoped to the authenticated partner.
servers:
  - url: https://core.prod.gnosispay.com/partner-api
    description: Production
    variables: {}
  - url: https://core.sandbox.gnosispay.in/core
    description: Sandbox
    variables: {}
security:
  - BearerAuth: []
tags:
  - name: Accounts
  - name: Cards
  - name: Card transactions
  - name: KYC
  - name: Deposits
  - name: Withdrawals
  - name: PCI
  - name: 3DS
  - name: Webhooks
paths:
  /v1/kyc/profiles/{kyc_profile_id}/source-of-funds:
    post:
      tags:
        - KYC
      summary: Submit profile source-of-funds answers
      description: |-
        Submits a complete set of source-of-funds answers for a KYC profile.

        Fetch the current questionnaire first. Every required question must be
        answered once using one of its allowed answers.
      operationId: kyc_profiles.submit_source_of_funds.v1
      parameters:
        - name: kyc_profile_id
          in: path
          required: true
          description: The KYC profile ID.
          schema:
            $ref: '#/components/schemas/uuid'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SubmitSOFRequest'
        description: Complete source-of-funds answer set.
      responses:
        '200':
          description: The request has succeeded.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SubmitSOFResponse'
        default:
          description: An unexpected error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
components:
  schemas:
    uuid:
      type: string
      format: uuid
    SubmitSOFRequest:
      type: object
      required:
        - answers
      properties:
        answers:
          type: array
          items:
            $ref: '#/components/schemas/SOFAnswer'
          minItems: 1
          description: Complete set of answers for the current questionnaire.
    SubmitSOFResponse:
      type: object
      required:
        - ok
      properties:
        ok:
          type: boolean
          description: True when the complete answer set was accepted.
        errors:
          type: array
          items:
            $ref: '#/components/schemas/SOFValidationError'
          description: Validation errors, when one or more answers were rejected.
    Error:
      type: object
      required:
        - code
        - message
      properties:
        code:
          type: integer
          format: int32
          description: HTTP status code.
        message:
          type: string
          description: Generic human-readable text for the status code. Do not parse it.
        reason:
          type: string
          description: >-
            Stable machine-readable code identifying the specific cause, present
            only

            for errors that expose one (e.g. `CREATE_CARD_LIMIT_EXCEEDED`).
            Branch on

            this rather than on `message`.
    SOFAnswer:
      type: object
      required:
        - question
        - answer
      properties:
        question:
          type: string
          description: Exact question text returned by the questionnaire.
        answer:
          type: string
          description: Exact text of one of the allowed answers for the question.
    SOFValidationError:
      type: object
      required:
        - question
        - error
      properties:
        question:
          type: string
          description: Question that failed validation.
        error:
          type: string
          description: Machine-readable validation error.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: Bearer

````

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