---
updatedAt: 2026-05-06T13:44:11.000Z
agentTools:
  projectIndex: https://rivhit-api.readme.io/llms.txt
---

# Payment.TypeList

### Get a list of payment types

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Get a list of payment types.",
    "version": "1.0.0"
  },
  "paths": {
    "/online/RivhitOnlineAPI.svc/Payment.TypeList": {
      "post": {
        "summary": "Payment.TypeList",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "api_token": {
                    "type": "string",
                    "format": "uuid",
                    "example": "DECD03E5-E35C-41E8-84F7-FBA2FB483928",
                    "description": "Rivhit Merchant API Identifier.\n\n**Default:** No\n",
                    "nullable": false,
                    "deprecated": false
                  }
                },
                "required": [
                  "api_token"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success - Payment Type List Returned",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_code": {
                      "type": "integer",
                      "description": "The Response Error/Status Number (0 = Success)."
                    },
                    "client_message": {
                      "type": "string",
                      "description": "The Client Error Message."
                    },
                    "debug_message": {
                      "type": "string",
                      "description": "The Response Error Message."
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "payment_type_list": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "payment_type": {
                                "type": "integer",
                                "description": "Payment Type ID."
                              },
                              "payment_name": {
                                "type": "string",
                                "description": "Name of the Payment Type."
                              },
                              "type_code": {
                                "type": "integer",
                                "description": "Payment Type Structure (Cash = 1, Check = 2, Credit Card = 3, Bank Transfer = 4, etc.)"
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "error_code": 0,
                  "client_message": "",
                  "debug_message": "",
                  "data": {
                    "payment_type_list": [
                      {
                        "payment_type": 1,
                        "payment_name": "שיק",
                        "type_code": 2
                      },
                      {
                        "payment_type": 2,
                        "payment_name": "מזומן",
                        "type_code": 1
                      }
                    ]
                  }
                }
              }
            }
          },
          "400": {
            "description": "Request Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "example": "Request Error"
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "error_code": {
                      "type": "integer",
                      "description": "Error code of the response."
                    },
                    "client_message": {
                      "type": "string",
                      "description": "The Client Error Message."
                    },
                    "debug_message": {
                      "type": "string",
                      "description": "The Response Error Message."
                    },
                    "data": {
                      "type": "string",
                      "description": "Error Data."
                    }
                  }
                },
                "example": {
                  "error_code": "-2,",
                  "client_message": "לא נמצאו נתונים",
                  "debug_message": "-2 : NO_DATA_FOUND",
                  "data": null
                }
              }
            }
          }
        },
        "description": "### Get a list of payment types"
      }
    }
  },
  "servers": [
    {
      "url": "https://api.rivhit.co.il/"
    }
  ]
}
```