# Get payment types

Returns a list of payment types by given storecode

Endpoint: GET /slapi/setup/paymenttypes
Version: 0.0.1
Security: BasicAuthCredentials

## Security:

  - `BasicAuthCredentials` (unknown)
    http basic

## Query parameters:

  - `storecode` (string, required)

## Response 200:

  - `200` (unknown)
    Get payment types

## Response 200 fields (applicaiton/json):

  - `paymentTypes` (array)

  - `paymentTypes.paymentNumber` (string)
    Example: 0000000001

  - `paymentTypes.description` (string)
    Example: Cash Payment

  - `paymentTypes.class` (string)
    Example: Cash

  - `paymentTypes.storecode` (string)
    Example: 0000000001

## Response 500:

  - `500` (unknown)
    Could Not Get Payment Types

## Response 500 fields (applicatoin/json):

  - `error` (string)

  - `message` (string)

