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

# Seed a new transaction to a system wallet




## OpenAPI

````yaml openapi.json post /transactions/seed
openapi: 3.0.0
info:
  description: Generated by encore
  title: API for ledger-api-vq7i
  version: '1'
  x-logo:
    altText: Encore logo
    backgroundColor: '#EEEEE1'
    url: https://encore.dev/assets/branding/logo/logo-black.png
servers:
  - description: Encore local dev environment
    url: http://localhost:4000
  - description: ' local dev environment'
    url: https://staging-ledger-api-vq7i.encr.app
security: []
paths:
  /transactions/seed:
    post:
      summary: |
        Seed a new transaction to a system wallet
      operationId: POST:transaction.seedTransaction
      parameters:
        - allowEmptyValue: true
          explode: true
          in: header
          name: api_key
          required: true
          schema:
            type: string
          style: simple
      requestBody:
        content:
          application/json:
            schema:
              properties:
                amount:
                  type: number
                currency:
                  type: string
                projectId:
                  type: number
                to:
                  type: string
              required:
                - to
                - amount
                - currency
                - projectId
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                properties:
                  transaction:
                    items:
                      $ref: '#/components/schemas/transaction.Transaction'
                    type: array
                required:
                  - transaction
                type: object
          description: Success response
        default:
          $ref: '#/components/responses/APIError'
components:
  schemas:
    transaction.Transaction:
      properties:
        amount:
          type: number
        balance:
          type: number
        currency:
          type: string
        date:
          type: string
        from:
          type: string
        id:
          type: string
        to:
          type: string
      required:
        - amount
        - date
        - currency
        - balance
        - from
        - id
        - to
      type: object
  responses:
    APIError:
      content:
        application/json:
          schema:
            externalDocs:
              url: https://pkg.go.dev/encore.dev/beta/errs#Error
            properties:
              code:
                description: Error code
                example: not_found
                externalDocs:
                  url: https://pkg.go.dev/encore.dev/beta/errs#ErrCode
                type: string
              details:
                description: Error details
                type: object
              message:
                description: Error message
                type: string
            title: APIError
            type: object
      description: Error response

````