REST DocumentationPayment MethodsGET List payment methods

List payment methods

Returns a paginated list of the payment methods, sorted by id. The id is the value a receipt carries as payment_method.

Availability: Full version only — a Clock instance answers 404 for this endpoint.

Request

GET /api/v1/payment-methods
curl --request GET \
     --url 'https://www.zep-online.de/zepinstanz/next/api/v1/payment-methods' \
     --header 'Accept: application/json' \
     --header 'Authorization: Bearer {token}'

Query parameters

  • Name
    limit
    Type
    integer, nullable
    Description

    The number of records per page, 1 to 200. Defaults to 15.

  • Name
    page
    Type
    integer, nullable
    Description

    The page of results to return, counting from 1.

Response

{
  "data": [
    {
      "id": "Firma",
      "description": {
        "de": "Firmenkreditkarte"
      },
      "is_refund": false
    }
  ],
  "links": {
    "first": "string",
    "last": "string",
    "prev": "string",
    "next": "string"
  },
  "meta": {
    "current_page": 1,
    "from": 1,
    "last_page": 1,
    "links": [
      {
        "url": "string",
        "label": "string",
        "active": true
      }
    ],
    "path": "string",
    "per_page": 1,
    "to": 1,
    "total": 1
  }
}

Response fields

  • Name
    id
    Type
    string
    Description

    The payment method’s short name, the value a receipt carries as its payment_method.

  • Name
    description
    Type
    object, nullable
    Description

    Description of the payment method per language; null when it has none.

  • Name
    description.de
    Type
    string, nullable
    Description
  • Name
    description.en
    Type
    string
    Description
  • Name
    description.fr
    Type
    string
    Description
  • Name
    description.es
    Type
    string
    Description
  • Name
    description.pl
    Type
    string
    Description
  • Name
    is_refund
    Type
    boolean
    Description

    Whether the payment method refunds the employee (the employee paid privately).

Generated from the OpenAPI specification — edit the source code, not this page.