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

# Initialize a reconciliation for a contract

> Creates a reconciliation and returns the identifiers and funding context for settlement processing.



## OpenAPI

````yaml /contracts/svrn-integration-api.json post /contracts/reconciliations/init
openapi: 3.0.3
info:
  title: SVRN Sequential Client API
  version: '2026-04-27'
  description: >-
    OpenAPI spec generated from scripts/dux_requests and the current Lambda
    handlers. This reflects the real sequential client flow used by DUX and
    corrects the main mismatches in the published docs: POST /auth authenticates
    with X-Client-Id and X-Client-Secret headers, POST
    /onboarding/{customer_id}/create-bank-account is the active bank-account
    route, POST /due-diligence/init returns a due_diligence_id plus
    contracts_preview while upload URLs are requested separately via POST
    /due-diligence/{due_diligence_id}/uploads, and due diligence signature
    confirmation is not a client API step because it is performed by the signer
    through an emailed link outside the integrator flow.
servers:
  - url: https://api.sandbox.svrn.digital
    description: Sandbox
  - url: https://api.svrn.digital
    description: Production
security:
  - bearerAuth: []
tags:
  - name: 01 Authentication
    description: Bearer token issuance for client integrations.
  - name: 02 Onboarding
    description: >-
      Customer onboarding, listing, verification resumption, and artist PIX
      registration.
  - name: 03 Due Diligence
    description: >-
      Case creation, file upload URL issuance, offer publication, and status
      polling. Signature confirmation happens out-of-band through emailed links.
  - name: 04 Reconciliation
    description: >-
      Contract reconciliation initialization, file upload URL issuance, and
      settlement tracking.
paths:
  /contracts/reconciliations/init:
    post:
      tags:
        - 04 Reconciliation
      summary: Initialize a reconciliation for a contract
      description: >-
        Creates a reconciliation and returns the identifiers and funding context
        for settlement processing.
      operationId: initReconciliation
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReconciliationInitRequest'
      responses:
        '202':
          description: Reconciliation initialized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReconciliationInitResponse'
        '400':
          $ref: '#/components/responses/BadRequest'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/NotFound'
        '409':
          $ref: '#/components/responses/Conflict'
        '422':
          $ref: '#/components/responses/UnprocessableEntity'
components:
  schemas:
    ReconciliationInitRequest:
      type: object
      required:
        - contract_id
      properties:
        contract_id:
          type: string
    ReconciliationInitResponse:
      type: object
      properties:
        contract_id:
          type: string
        reconciliation_id:
          type: string
          format: uuid
        funding_mode:
          type: string
        funding_wallet_address:
          type: string
        funding_wallet_blockchain:
          type: string
        expires_at:
          type: string
          format: date-time
        settlement_status:
          type: string
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
      example:
        error: MISSING_FIELD
        message: artist.customer_id is required
  responses:
    BadRequest:
      description: Bad request.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Forbidden:
      description: The authenticated client cannot access this resource.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    NotFound:
      description: The target resource was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    Conflict:
      description: The request conflicts with the current workflow state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
    UnprocessableEntity:
      description: >-
        The request is syntactically valid but cannot be processed in the
        current business state.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````

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