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

# Every payment as a CSV an accountant can open



## OpenAPI

````yaml https://raw.githubusercontent.com/Hellonear-AI/hellonear/main/docs/openapi.json get /v1/minds/{mindId}/payments.csv
openapi: 3.1.0
info:
  title: HelloNear API
  version: 1.0.0
  description: >-
    The public HTTP API behind https://app.hellonear.xyz (NEAR testnet). Sign in
    with a NEAR wallet (NEP-413: `/v1/auth/challenge`, then `/v1/auth/login`) or
    start a try-out session with `POST /v1/auth/demo`; both set the `hn_session`
    cookie. Chat, approvals, attack and workflow runs stream server-sent events;
    every event type is described in docs/api-contract.md §3.
servers:
  - url: https://api.hellonear.xyz
    description: Hosted demo (NEAR testnet)
  - url: http://localhost:4000
    description: Local
security:
  - session: []
paths:
  /v1/minds/{mindId}/payments.csv:
    get:
      tags:
        - Wallet
      summary: Every payment as a CSV an accountant can open
      parameters:
        - name: mindId
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: >-
            `text/csv; charset=utf-8` (UTF-8 with a BOM, CRLF), downloaded as
            `hellonear-{mindId}-payments.csv`. Columns: Date (UTC), Status (in
            words; refused rows say no money moved), Direction, Amount (NEAR),
            Counterparty, Purpose (the data report or Mind offer it bought),
            Approved by (`owner` or `your rule`), Transaction hash, Explorer
            link (NearBlocks testnet), Note. Newest first, up to 10,000 rows
          content:
            text/csv:
              schema:
                type: string
        '401':
          description: Not signed in
        '404':
          description: '`mind_not_found` (not yours)'
components:
  securitySchemes:
    session:
      type: apiKey
      in: cookie
      name: hn_session

````

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