POST
/
v3
/
account
/
{accountId}
curl --request POST \
  --url https://integration-api-cat2./%7B{environment}%7D.ext.%7B{realm}%7D.cia.enfuce.com/transaction/v3/account/{accountId} \
  --header 'Content-Type: application/json' \
  --data '{
  "type": "<string>",
  "amount": 123,
  "currency": "EUR",
  "text": "<string>",
  "additionalInfo": {
    "siteNumber": "<string>",
    "externalGoodsCode": "<string>",
    "grossAmount": "<string>",
    "netAmount": "<string>",
    "quantity": "<string>",
    "vatAmount": "<string>",
    "vatRate": "<string>",
    "ref": "<string>",
    "message": "<string>",
    "paymentReceiver": "<string>",
    "transferId": "<string>",
    "text": "<string>",
    "discLinkTransactionId": "<string>",
    "discLinkPurchaseDetailId": "<string>",
    "paymentReference": "<string>",
    "payerName": "<string>",
    "fromAddress": "<string>",
    "fromZip": "<string>",
    "fromCity": "<string>",
    "fromBankAccountNumber": "<string>",
    "fromCustomerAccountNumber": "<string>",
    "fromOrganizationalNumber": "<string>",
    "fromBankName": "<string>",
    "toBic": "<string>",
    "fromBankAccountType": "BBAN",
    "toBankAccountType": "BBAN",
    "toBankAccountNumber": "<string>",
    "fileName": "<string>"
  },
  "transactionDetails": "<string>",
  "date": "2023-12-25",
  "postingDate": "2023-12-25",
  "transactionDate": "2023-12-25"
}'
{
  "description": "<string>",
  "id": "<string>"
}

Path Parameters

accountId
string
required

The account id to post transactions to

Query Parameters

auditUser
string
required

The audit user to log the request

Body

application/json
The fields that you want to apply to your newly created transaction, these values will override the predefined template values
type
string
required

Transaction type

amount
number
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)

currency
string
required

A valid ISO 4217 currency code

text
string

Free input text

Maximum length: 255
additionalInfo
object
transactionDetails
string

Merchant name

Maximum length: 255
date
string

Posting date of the transaction in ISO-8601 date format (YYYY-MM-DD). This field will always post a transaction even if this date is not valid.

postingDate
string

Posting date of the transaction in ISO-8601 date format (YYYY-MM-DD). When using this field an exception will be thrown if posting date is not valid.

transactionDate
string

Date of the transaction in ISO-8601 date format (YYYY-MM-DD)

Response

201
application/json
Successful creation of transaction
description
string

Short description of the result of the action

id
string

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