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

# Correlate an external payment or settlement observation with an instruction.



## OpenAPI

````yaml /openapi/v1.yaml post /financial/reconcile
openapi: 3.1.0
info:
  title: Attexra API
  version: 0.1.0
  description: >-
    Identity, scoped authorization, and auditable action evidence for autonomous
    agents. The MVP is non-custodial and does not execute payments.
servers:
  - url: /v1
    description: Current API server
  - url: https://api.attexra.example/v1
    description: Production example
security:
  - apiKeyAuth: []
  - bearerAuth: []
paths:
  /financial/reconcile:
    post:
      summary: >-
        Correlate an external payment or settlement observation with an
        instruction.
      operationId: reconcileFinancialInstruction
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ReconcileFinancialInstructionRequest'
      responses:
        '201':
          description: Settlement observation recorded.
          content:
            application/json:
              schema:
                type: object
                required:
                  - id
                  - status
                properties:
                  id:
                    type: string
                    format: uuid
                  status:
                    type: string
        '400':
          $ref: '#/components/responses/ValidationError'
        '404':
          $ref: '#/components/responses/NotFound'
components:
  parameters:
    IdempotencyKey:
      in: header
      name: Idempotency-Key
      required: true
      description: Unique key ensuring safe retries on write endpoints.
      schema:
        type: string
        minLength: 1
        maxLength: 255
  schemas:
    ReconcileFinancialInstructionRequest:
      type: object
      required:
        - instructionId
        - providerTransactionId
        - status
        - evidence
      properties:
        instructionId:
          type: string
          format: uuid
        providerTransactionId:
          type: string
        status:
          type: string
          enum:
            - submitted
            - accepted
            - executed
            - confirmed
            - settled
            - failed
            - unknown
        evidence:
          type: object
          additionalProperties: true
  responses:
    ValidationError:
      description: The request failed validation.
    NotFound:
      description: The requested resource does not exist in this tenant.
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        Console session token (also supported via attexra_session HttpOnly
        cookie).

````

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