---
updatedAt: 2025-07-07T11:45:30.000Z
agentTools:
  projectIndex: https://rivhit-api.readme.io/llms.txt
---

# SaleDetails

### Get Sale Details

> 🚧 Note: Use one of the sale identifiers - SaleId/SalePrivateToken !!

# OpenAPI definition

```json
{
  "openapi": "3.0.0",
  "info": {
    "title": "Get Sale Details",
    "version": "1.0.0"
  },
  "paths": {
    "/API/PaymentPageRequest.svc/SaleDetails": {
      "post": {
        "summary": "SaleDetails",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "SaleId": {
                    "type": "string",
                    "format": "uuid",
                    "example": "35926487-be48-408b-aaea-39c9f9efda09",
                    "description": "Sale Identifier.\n\n**Default:** No\n",
                    "nullable": false,
                    "deprecated": false
                  },
                  "SalePrivateToken": {
                    "type": "string",
                    "format": "uuid",
                    "example": "53037c08-001c-4569-bee3-08beffcbdaee",
                    "description": "The Sale Private Identifier.\n\n**Default:** No\n",
                    "nullable": false,
                    "deprecated": false
                  }
                },
                "required": [
                  "SaleId",
                  "SalePrivateToken"
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Sale Details Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "ClientMessage": {
                      "type": "string",
                      "example": "String content",
                      "description": "The Client Error Message."
                    },
                    "DebugMessage": {
                      "type": "string",
                      "example": "String content",
                      "description": "The Response Error Message."
                    },
                    "Status": {
                      "type": "integer",
                      "example": 0,
                      "description": "Response Status Code."
                    },
                    "data": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "Address": {
                            "type": "string",
                            "description": "Customer Address."
                          },
                          "Amount": {
                            "type": "number",
                            "format": "double",
                            "description": "Payment Total Amount."
                          },
                          "AuthNum": {
                            "type": "string",
                            "description": "Transaction Approval Number."
                          },
                          "CardDueDate": {
                            "type": "string",
                            "description": "Credit Card Due Date (MMDD)."
                          },
                          "CardHolderId": {
                            "type": "string",
                            "description": "Card Holder Israeli ID."
                          },
                          "CardLabel": {
                            "type": "integer",
                            "description": "Credit Card Label."
                          },
                          "CardName": {
                            "type": "string",
                            "description": "Credit Card Type Name."
                          },
                          "CardNum": {
                            "type": "string",
                            "description": "Credit Card Number."
                          },
                          "CardProducer": {
                            "type": "integer",
                            "description": "Credit Card Producer."
                          },
                          "City": {
                            "type": "string",
                            "description": "Customer City."
                          },
                          "CreditTerms": {
                            "type": "integer",
                            "description": "Transaction Mutiple Payments Type (Single or Multiple/Credit Payments)."
                          },
                          "Custom1": {
                            "type": "string",
                            "description": "Custom1 Value."
                          },
                          "Custom2": {
                            "type": "string",
                            "description": "Custom2 Value."
                          },
                          "Custom3": {
                            "type": "string",
                            "description": "Custom3 Value."
                          },
                          "Custom4": {
                            "type": "string",
                            "description": "Custom4 Value."
                          },
                          "Custom5": {
                            "type": "string",
                            "description": "Custom5 Value."
                          },
                          "Custom6": {
                            "type": "string",
                            "description": "Custom6 Value."
                          },
                          "Custom7": {
                            "type": "string",
                            "description": "Custom7 Value."
                          },
                          "Custom8": {
                            "type": "string",
                            "description": "Custom8 Value."
                          },
                          "Custom9": {
                            "type": "string",
                            "description": "Custom9 Value."
                          },
                          "CustomerFirstName": {
                            "type": "string",
                            "description": "Customer First Name."
                          },
                          "CustomerId": {
                            "type": "integer",
                            "description": "Customer ID Serial Number (Rivhit system)."
                          },
                          "CustomerLastName": {
                            "type": "string",
                            "description": "Customer Last Name/Company Name."
                          },
                          "CustomerTransactionId": {
                            "type": "string",
                            "description": "J5 Charge Customer Transaction ID."
                          },
                          "DefrayelCompany": {
                            "type": "integer",
                            "description": "Defrayal Company."
                          },
                          "Discount": {
                            "type": "number",
                            "format": "double",
                            "description": "Discount Amount - in Invoice/Receipt Produced."
                          },
                          "DocumentNum": {
                            "type": "integer",
                            "description": "Produced Document Number."
                          },
                          "DocumentType": {
                            "type": "integer",
                            "description": "Produced Document Type."
                          },
                          "DocumentURL": {
                            "type": "string",
                            "description": "Produced Document URL."
                          },
                          "EmailAddress": {
                            "type": "string",
                            "description": "Customer Email Address."
                          },
                          "FaxNumber": {
                            "type": "string",
                            "description": "Customer Fax Number."
                          },
                          "FirstAmount": {
                            "type": "number",
                            "format": "double",
                            "description": "First Payment Amount of the transaction."
                          },
                          "ForeignSign": {
                            "type": "integer",
                            "description": "Foreign Credit Card Flag."
                          },
                          "GroupId": {
                            "type": "string",
                            "description": "Sale GroupId (Payment Page Identifier)."
                          },
                          "IdNumber": {
                            "type": "integer",
                            "description": "Customer Israeli ID (by Custom Format)."
                          },
                          "Is3DS": {
                            "type": "boolean",
                            "description": "3ds Service Flag."
                          },
                          "Items": {
                            "type": "array",
                            "properties": {
                              "Description": {
                                "type": "string",
                                "description": "Item Description."
                              },
                              "IsTicket": {
                                "type": "boolean",
                                "description": "Item Ticket Flag."
                              },
                              "ItemCatalog": {
                                "type": "string",
                                "description": "Rivhit Item SKU."
                              },
                              "ItemId": {
                                "type": "string",
                                "description": "Item Identifier."
                              },
                              "Quantity": {
                                "type": "number",
                                "format": "double",
                                "description": "Item Quantity."
                              },
                              "RivhitItemId": {
                                "type": "integer",
                                "description": "Rivhit Item Identifier."
                              },
                              "RowNum": {
                                "type": "integer",
                                "description": "Item Row Number."
                              },
                              "TicketId": {
                                "type": "string",
                                "description": "Item Ticket Identifier."
                              },
                              "TicketStatus": {
                                "type": "integer",
                                "description": "Item Ticket Status."
                              },
                              "TicketStatusDatetime": {
                                "type": "string",
                                "description": "Item Status Date."
                              },
                              "UnitPrice": {
                                "type": "number",
                                "format": "double",
                                "description": "Item Price."
                              }
                            }
                          },
                          "NonFirstAmount": {
                            "type": "number",
                            "format": "double",
                            "description": "Constent Payment Amount."
                          },
                          "NumOfPayment": {
                            "type": "integer",
                            "description": "Number of Multiple Payments."
                          },
                          "Order": {
                            "type": "string",
                            "description": "The Sale Order Value."
                          },
                          "POB": {
                            "type": "integer",
                            "description": "Customer Post Office Box."
                          },
                          "PayPalPayingCustomer": {
                            "type": "string",
                            "description": "PayPal Paying Customer."
                          },
                          "PayPalTransactionId": {
                            "type": "string",
                            "description": "PayPal Transaction ID."
                          },
                          "PhoneNumber": {
                            "type": "string",
                            "description": "Customer Phone Number."
                          },
                          "PhoneNumber2": {
                            "type": "string",
                            "description": "Secondary Customer Phone Number."
                          },
                          "ReceiptNum": {
                            "type": "integer",
                            "description": "Produced Receipt Number."
                          },
                          "ReceiptType": {
                            "type": "integer",
                            "description": "Produced Receipt Type."
                          },
                          "ReceiptURL": {
                            "type": "string",
                            "description": "Produced Receipt URL."
                          },
                          "RecurringId": {
                            "type": "string",
                            "description": "Recurring Sale Identifier."
                          },
                          "Reference": {
                            "type": "integer",
                            "description": "The Reference Value - Saved in the Invoice."
                          },
                          "SaleId": {
                            "type": "string",
                            "description": "Sale Unique Identifier."
                          },
                          "SalePrivateToken": {
                            "type": "string",
                            "description": "Private Token for the Sale."
                          },
                          "SaleTime": {
                            "type": "string",
                            "description": "Sale Timestamp (e.g. /Date(928138800000+0300)/)."
                          },
                          "SolekSapak": {
                            "type": "string",
                            "description": "Solek Sapak String Content."
                          },
                          "Status": {
                            "type": "integer",
                            "description": "Status Code."
                          },
                          "TerminalName": {
                            "type": "string",
                            "description": "Name of Terminal."
                          },
                          "Token": {
                            "type": "string",
                            "description": "Security Token."
                          },
                          "TransactionAmount": {
                            "type": "number",
                            "format": "double",
                            "description": "Transaction Total Amount."
                          },
                          "TransactionDateTime": {
                            "type": "string",
                            "description": "Transaction Date and Time (e.g. /Date(928138800000+0300)/)."
                          },
                          "TransactionId": {
                            "type": "string",
                            "description": "Transaction Unique Identifier."
                          },
                          "TransactionParamJ": {
                            "type": "integer",
                            "description": "Transaction ParamJ."
                          },
                          "TransactionStatus": {
                            "type": "integer",
                            "description": "Transaction Status Code."
                          },
                          "TransactionType": {
                            "type": "integer",
                            "description": "Transaction Type Code."
                          },
                          "VatNumber": {
                            "type": "integer",
                            "description": "VAT Number."
                          },
                          "Zipcode": {
                            "type": "string",
                            "description": "Customer Zip Code."
                          }
                        }
                      }
                    }
                  }
                },
                "example": {
                  "Address": "Ben Yehuda 77",
                  "Amount": 10,
                  "AuthNum": "1292681",
                  "CardDueDate": "0530",
                  "CardHolderId": null,
                  "CardLable": 4,
                  "CardName": "אמריקן אקספרס",
                  "CardNum": "375511XXXXX1519",
                  "CardProducer": 4,
                  "City": "Tel Aviv",
                  "Comments": "",
                  "CreditTerms": 1,
                  "Custom1": null,
                  "Custom2": null,
                  "Custom3": null,
                  "Custom4": null,
                  "Custom5": null,
                  "Custom6": null,
                  "Custom7": null,
                  "Custom8": null,
                  "Custom9": null,
                  "CustomerFirstName": "Moshe",
                  "CustomerId": null,
                  "CustomerLastName": "Israeli88",
                  "CustomerTransactionId": "799b3594-3068-4559-8d4f-ce74ab721811",
                  "DefrayelCompany": 1,
                  "Discount": 0,
                  "DocumentNum": 5775,
                  "DocumentType": 2,
                  "DocumentURL": "https://api.rivhit.co.il/pdf/test/FileService.svc/GetDocument/000008888/d8aae8de-264e-47d8-8c22-a156238d4fb8/true/02_005775",
                  "EmailAddress": "m@gmail.co.il",
                  "FaxNumber": null,
                  "FirstAmount": 0,
                  "ForeignSign": 0,
                  "GroupId": "1beb572a-0db9-4854-908b-cdf7378e49c9",
                  "IdNumber": null,
                  "Is3DS": false,
                  "Items": {
                    "Description": "item test",
                    "IsTicket": false,
                    "ItemCatalog": "",
                    "ItemId": "fadb1406-f546-441e-931d-001c2d5f8730",
                    "Quantity": 1,
                    "RivhitItemId": 0,
                    "RowNum": 1,
                    "TicketId": "00000000-0000-0000-0000-000000000000",
                    "TicketStatus": null,
                    "TicketStatusDatetime": null,
                    "UnitPrice": 10
                  },
                  "NonFirstAmount": 0,
                  "NumOfPayment": 0,
                  "Order": null,
                  "POB": null,
                  "PayPalPayingCustomer": "",
                  "PayPalTransactionId": "",
                  "PhoneNumber": null,
                  "PhoneNumber2": null,
                  "ReceiptNum": null,
                  "ReceiptType": null,
                  "ReceiptURL": null,
                  "RecurringId": null,
                  "Reference": null,
                  "SaleId": "35926487-be48-408b-aaea-39c9f9efda09",
                  "SalePrivateToken": "2486b26d-876b-4d9c-a36a-33e0e8eaaf5d",
                  "SaleTime": "/Date(1734508540943+0200)/",
                  "SolekSapak": "0071506",
                  "Status": 0,
                  "TerminalName": "טל.ש .טכנולוגיו",
                  "Token": "552fde57-fe60-4607-9f82-da266089a770",
                  "TransactionAmount": 1000,
                  "TransactionDateTime": "/Date(1751795420890+0300)/",
                  "TransactionId": "39c0cd24-4644-40db-99b8-f598240ad022",
                  "TransactionParamJ": 0,
                  "TransactionStatus": 0,
                  "TransactionType": 1,
                  "VatNumber": 123456790,
                  "Zipcode": null
                }
              }
            }
          },
          "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": {
                      "type": "string",
                      "example": "Internal Server Error"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://testicredit.rivhit.co.il"
    }
  ]
}
```