Skip to main content
POST
/
v3
/
card
/
{cardId}
Post transactions to given card
curl --request POST \
  --url 'https://integration-api-cat2.{{environment}}.ext.{{realm}}.cia.enfuce.com/transaction/v3/card/{cardId}' \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "type": "<string>",
  "amount": 123,
  "currency": "EUR",
  "text": "<string>",
  "additionalInfo": {
    "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>",
    "receivedFromCollectionAgency": true,
    "vatRate": "<string>",
    "vatAmount": "<string>",
    "billNumber": "<string>"
  },
  "transactionDetails": "<string>"
}
'
{
  "description": "<string>",
  "id": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

cardId
string<biginteger>
required

The card 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

Example:

"EUR"

text
string

Free input text

Maximum string length: 255
additionalInfo
additionalInfo · object
transactionDetails
string

Merchant name

Maximum string length: 255

Response

Successful creation of the product

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