POST
/
accounting
/
bank-transactions
curl --request POST \
  --url https://api.maesn.dev/accounting/bank-transactions \
  --header 'Content-Type: application/json' \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>' \
  --data '{
  "accountId": "1",
  "contact": "eaa28f49-6028-4b6e-bb12-d8f6278073fc",
  "valueDate": "2021-01-01T00:00:00Z",
  "bookingDate": "<string>",
  "purpose": "Fee payment",
  "amount": 100,
  "status": "CREATED",
  "reference": "<string>",
  "type": "RECEIVE",
  "code": "<string>",
  "feeAmount": 123,
  "feeTaxRatePercentage": 123,
  "feePostingCategory": "<string>"
}'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": {
    "id": "1",
    "name": "Category 1",
    "status": "ACTIVE",
    "categoryName": "Category name"
  }
}

Test Api token:

663222ee33ebba4015340680c7685723a0703c2ad953cefaa1536dc1bac02e20

Test Account token:

85b30b510f09120b199a4dbd9111ff7b3aaf28f1f72701418e111a551fb77b4c

Headers

X-API-KEY
string
required

API key

X-ACCOUNT-KEY
string
required

Account key

Body

application/json
accountId
string
required
contact
string
required
valueDate
string
required
bookingDate
string
required
purpose
string
required
amount
number
required
status
enum<string>
required
Available options:
CREATED,
LINKED,
PRIVATE,
BOOKED,
AUTHORISED,
DELETED
reference
string
type
enum<string>
Available options:
RECEIVE,
RECEIVE-OVERPAYMENT,
RECEIVE-PREPAYMENT,
SPEND,
SPEND-OVERPAYMENT,
SPEND-PREPAYMENT,
RECEIVE-TRANSFER,
SPEND-TRANSFER
code
string
feeAmount
number
feeTaxRatePercentage
number
feePostingCategory
string

Response

200 - application/json
meta
object
data
object

Was this page helpful?