# Get payment types Returns a list of payment types by given storecode Endpoint: GET /slapi/setup/paymenttypes Version: 0.0.1 Security: BasicAuthCredentials ## Query parameters: - `storecode` (string, required) ## 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 fields (applicatoin/json): - `error` (string) - `message` (string)