---
title: "GET /termOfPayment"
method: GET
path: "/termOfPayment"
tags: ["termOfPayment"]
---

# GET /termOfPayment

`GET /termOfPayment`

## Request

- Base URL: `https://www.weclapp.com/api/nullapi/v2`
- URL: `https://www.weclapp.com/api/nullapi/v2/termOfPayment`
- Auth: API key in header `AuthenticationToken`
- TypeScript: <https://skmtc.dev/weclapp/apis/weclapp-api/docs/termOfPayment/get.ts> (a function with typed inputs; its response is checked against the schema)

query termOfPayment

## Query parameters

- `page` integer
- `pageSize` integer
- `sort` string

## Response `200`

termOfPayment response

- object
  - `result` TermOfPayment[]
    - `id` string
    - `version` string
    - `conditions` TermOfPaymentCondition[]
      - `id` string
      - `version` string
      - `createdDate` integer
      - `discountPercentage` string, number
      - `lastModifiedDate` integer
      - `name` string
      - `numberOfDays` integer
    - `createdDate` integer
    - `datevTermOfPaymentNumber` integer
    - `description` string
    - `dueDateOption` 'END_OF_MONTH' | 'FIX' | 'IMMEDIATE' | 'PERIOD', required
    - `fixedDay` integer
    - `lastModifiedDate` integer
    - `name` string
    - `numberOfDays` integer
    - `reference` string
    - `validFrom` integer
    - `validTo` integer

## Other responses

- `default`: error response

---

[API](https://skmtc.dev/weclapp/apis/weclapp-api.md) - [All operations](https://skmtc.dev/weclapp/apis/weclapp-api/llms.txt) - [OpenAPI document](https://skmtc.dev/weclapp/apis/weclapp-api/revisions/0e021229755d?raw)
