GET
/
accounting
/
payments
curl --request GET \
  --url https://api.maesn.dev/accounting/payments
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": [
    {
      "id": "payment id",
      "currency": "EUR",
      "createdDate": "2021-01-01",
      "journalCode": "journal code",
      "updatedDate": "2021-01-01",
      "paymentType": "payment type",
      "paymentLines": [
        {
          "amount": "100",
          "accountId": "account id",
          "description": "description",
          "invoiceId": "invoice id"
        }
      ]
    }
  ]
}

Test Api token:

663222ee

Test Account token:

85b30b51

Field support per integration

Headers

X-API-KEY
string

API key

X-ACCOUNT-KEY
string

Account key

Query Parameters

page
number
limit
enum<number>
Available options:
5,
10,
20,
50,
100
lastModifiedAt
string
invoiceId
string
rawData
boolean

Response

200 - application/json
meta
object
data
object[]