v1

latestOpenAPI 3.0.32026-07-26208618579.9 KB
Create transactions

Post transactions to given account

This operation will post transactions to account given by accountId

post/v3/account/{accountId}

Path parameters

accountIdstring biginteger required

The account id to post transactions to

Query parameters

auditUserstring required

The audit user to log the request

Request body

typestring required

Transaction type

amountnumber required

Transaction amount. It is possible to post only amount which is equal or more than minimal currency unit (For example, for EUR, SEK, NOK minimal unit is 0,01)

currencystring required

A valid ISO 4217 currency code

textstring

Free input text

transactionDetailsstring

Merchant name

datestring date

The date when transaction was posted at Enfuce in ISO-8601 date format (YYYY-MM-DD). Only one of date or postingDate can be used at a time. This field will always post a transaction even if this date is not valid.

postingDatestring date

The date when transaction was posted at Enfuce in ISO-8601 date format (YYYY-MM-DD). Only one of date or postingDate can be used at a time. When using this field an exception will be thrown if posting date is not valid. For a postingDate to be valid, it must be no later than the due date of the account's contract.

transactionDatestring date

The local date when the transaction was made in ISO-8601 date format (YYYY-MM-DD).

Example request

{
  "currency": "EUR"
}

Response

Successful creation of transaction

descriptionstring

Short description of the result of the action

idstring

Will contain the ID of the resource that has been created or updated