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

# Restaura una cuenta archivada (ACC-006)



## OpenAPI

````yaml /openapi/v1.json post /v1/accounts/{id}/restore
openapi: 3.0.0
info:
  title: Finzaria API
  description: >-
    API REST de Finzaria — finanzas personales para México, dev-first y
    agent-first. Autentícate con tu API key bxm_ (o un token OAuth).
  version: 1.0.0
  contact: {}
servers:
  - url: https://api.finzaria.com/v1
    description: Producción
security: []
tags: []
paths:
  /v1/accounts/{id}/restore:
    post:
      tags:
        - accounts
      summary: Restaura una cuenta archivada (ACC-006)
      operationId: AccountsController_restore
      parameters:
        - name: id
          required: true
          in: path
          schema:
            type: string
      responses:
        '200':
          description: ''
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AccountDto'
      security:
        - bearer: []
components:
  schemas:
    AccountDto:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          description: Tipo del catálogo (ACC-012).
          allOf:
            - $ref: '#/components/schemas/AccountTypeRefDto'
        bank:
          type: string
          nullable: true
        currency:
          type: string
          example: MXN
        balance:
          type: string
          example: '1500.00'
        fxMode:
          type: string
          enum:
            - auto
            - fixed
        fixedRate:
          type: string
          nullable: true
          example: '17.50000000'
        apy:
          type: string
          nullable: true
        alertThreshold:
          type: string
          nullable: true
        status:
          type: string
          enum:
            - active
            - archived
            - closed
        createdAt:
          type: string
        updatedAt:
          type: string
      required:
        - id
        - name
        - type
        - bank
        - currency
        - balance
        - fxMode
        - fixedRate
        - apy
        - alertThreshold
        - status
        - createdAt
        - updatedAt
    AccountTypeRefDto:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        systemKey:
          type: string
          nullable: true
      required:
        - id
        - name
        - systemKey
  securitySchemes:
    bearer:
      scheme: bearer
      bearerFormat: JWT (Supabase Auth)
      type: http

````