GET
/
accounting
/
paymentTerms
curl --request GET \
  --url https://api.maesn.dev/accounting/paymentTerms \
  --header 'X-ACCOUNT-KEY: <x-account-key>' \
  --header 'X-API-KEY: <x-api-key>'
{
  "meta": {
    "warnings": [
      "Field not used by target system"
    ],
    "pagination": {
      "total": 123,
      "perPage": 123,
      "currentPage": 123,
      "totalPages": 123
    }
  },
  "data": [
    {
      "id": "08d52c49-b90c-4328-b1ec-623df74f904a",
      "code": "1",
      "createdDate": "2021-01-01T00:00:00Z",
      "description": "31 dagen",
      "discountDays": 10,
      "discountPercentage": 5,
      "name": "31 DAYS",
      "paymentDays": 31,
      "updatedDate": "2021-01-01T00:00:00Z"
    }
  ]
}

Field support per integration

Headers

X-API-KEY
string
required

API key

Example:

"example value"

X-ACCOUNT-KEY
string
required

Account key

Example:

"example value"

Query Parameters

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

Response

200 - application/json

The response is of type object.