---
updatedAt: 2025-05-28T20:07:09.000Z
agentTools:
  projectIndex: https://devportal.fintensy.com/llms.txt
---

# Add a list of transactions to a bank account for a given bank holder.

POST: /banks/bank-holders/{guid}/accounts/{guid}/transactions

> 📘 Can be used to import transactions on a specific bank accounts, if not retrieved through Open Banking

# OpenAPI definition

```json
{
  "openapi": "3.0.4",
  "info": {
    "title": "OpenBanking API definitions",
    "description": "An overview of the API definitions used in the OpenBanking application.",
    "contact": {
      "name": "Fintensy",
      "url": "https://www.fintensy.com/"
    },
    "version": "v1"
  },
  "paths": {
    "/banks/bank-holders/{referenceId}/accounts/{bankAccountId}/transactions": {
      "post": {
        "tags": [
          "BankHolderAccount"
        ],
        "summary": "Add a list of transactions to a bank account for a given bank holder.",
        "description": "POST: /banks/bank-holders/{guid}/accounts/{guid}/transactions",
        "parameters": [
          {
            "name": "referenceId",
            "in": "path",
            "description": "The identifier of the bank-holder.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          },
          {
            "name": "bankAccountId",
            "in": "path",
            "description": "The identifier of the bank account.",
            "required": true,
            "schema": {
              "type": "string",
              "format": "uuid"
            }
          }
        ],
        "requestBody": {
          "description": "The input model.",
          "content": {
            "application/json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OpenBanking.Web.Api.Models.BankHolderAccounts.AddTransactionInputModel"
                }
              }
            },
            "application/*+json": {
              "schema": {
                "type": "array",
                "items": {
                  "$ref": "#/components/schemas/OpenBanking.Web.Api.Models.BankHolderAccounts.AddTransactionInputModel"
                }
              }
            }
          }
        },
        "responses": {
          "201": {
            "description": "The entity has been created.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "string",
                      "format": "uuid"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "The input model is not valid.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Mozzeno.Web.Api.ErrorModel"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "Mozzeno.Web.Api.ErrorInformationModel": {
        "type": "object",
        "properties": {
          "field": {
            "type": "string",
            "nullable": true
          },
          "actual_value": {
            "type": "string",
            "nullable": true
          },
          "code": {
            "type": "integer",
            "format": "int32"
          },
          "min_length": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "max_length": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "Mozzeno.Web.Api.ErrorModel": {
        "type": "object",
        "properties": {
          "code": {
            "type": "string",
            "nullable": true
          },
          "message": {
            "type": "string",
            "nullable": true
          },
          "errors": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/Mozzeno.Web.Api.ErrorInformationModel"
            },
            "nullable": true
          }
        },
        "additionalProperties": false
      },
      "OpenBanking.Enums.Banks.RemittanceType": {
        "enum": [
          0,
          1,
          2
        ],
        "type": "integer",
        "description": "0 = Unknown, 1 = Structured, 2 = OpenText",
        "format": "int32"
      },
      "OpenBanking.Web.Api.Models.BankHolderAccounts.AddTransactionInputModel": {
        "type": "object",
        "properties": {
          "counterpart_iban": {
            "type": "string",
            "nullable": true
          },
          "counterpart_name": {
            "type": "string",
            "nullable": true
          },
          "description": {
            "type": "string",
            "nullable": true
          },
          "remittance": {
            "type": "string",
            "nullable": true
          },
          "remittance_type": {
            "$ref": "#/components/schemas/OpenBanking.Enums.Banks.RemittanceType"
          },
          "amount": {
            "type": "number",
            "format": "double"
          },
          "currency": {
            "type": "string",
            "nullable": true
          },
          "executed_at": {
            "type": "string",
            "format": "date-time"
          }
        },
        "additionalProperties": false
      }
    }
  },
  "servers": [
    {
      "url": "https://api.myproved.eu"
    }
  ]
}
```