E-State
  1. SaleRefund
E-State
  • Prepare Api
  • E-state
    • Client
      • Attention Requests
        • index
        • store
        • show
      • Auth
        • profile
        • logout
        • register
        • login
      • Units
        • index
        • show
        • units client
      • Sales
        • index
        • show
    • System
      • Projects
        • index
        • show
      • Units
        • index
        • show units by project
        • show
      • Sales
        • SaleRefund
          • index
            GET
          • show
            GET
        • index
          GET
        • show
          GET
      • Attention Requests
        • index
        • show
      • Clients
        • index
        • show
      • Discounts
        • index
        • show
      • Lands
        • owners
        • index
        • show
        • show land owner
      • marketings
        • campaign-types
        • show campaign type
        • campaign-goals
        • show campaign goals
        • index
        • show
      • Purchase Orders
        • index
        • show
        • raise-budgets
        • show raise-budgets
      • Purchase Requests
        • index
        • show
      • Rental Requests
        • rental-requests
        • show rental-requests
  1. SaleRefund

index

Developing
GET
http://estate.test/api/v1{{url}}/system/sales/sales-refunds
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/system/sales/sales-refunds?search=22&created_at=2025-04-06&type=sale' \
--header 'x-api-key: f482480c-11fe-4426-9f6e-e7d26c8c3eed' \
--header 'x-secret-key: FkSF0PDbMOgLmLlJeMDSDzBFIl5dloAC'
Response Response Example
{
    "status": "success",
    "message": "Operation completed successfully",
    "response": {
        "data": [
            {
                "id": 3,
                "sale_id": 0,
                "sale_operation_id": 2,
                "project_id": 1,
                "unit_id": 5,
                "status": "ut incididunt officia",
                "type": "nisi do veniam minim",
                "request_reason": "Ambulo solitudo tunc caelum caecus crux conventus solutio verbera.",
                "refuse_reason": "Voco sub conservo.",
                "amount": 0,
                "project": {
                    "id": 2,
                    "name": "Recycled Frozen Towels",
                    "code": "P",
                    "status": "truculenter",
                    "type": "statua",
                    "image": "https://abandoned-galoshes.name",
                    "start_work_date": "2024-07-04T16:03:00.598Z",
                    "end_work_date": "2024-10-14T01:20:10.362Z"
                },
                "sale": {
                    "id": 0,
                    "reason_for_pay_id": 1,
                    "project_id": 2,
                    "building_id": 1,
                    "unit_id": 6,
                    "tax_reference_number": 8,
                    "sale_type": "et laborum proident",
                    "target_type": "consectetur",
                    "status": "sed"
                },
                "saleOperation": {
                    "id": 8,
                    "type": "dolore",
                    "payment_method": "quis qui esse",
                    "amount": 5,
                    "check_number": 6,
                    "receipt_date": "2025-06-29T12:44:07.433Z",
                    "is_paid": false,
                    "paid_at": "2024-12-29T16:59:38.733Z",
                    "from_account_name": "Money Market Account",
                    "paid_at_text": "commodo Excepteur dolore consectetur laboris"
                },
                "unit": {
                    "id": 0,
                    "building_id": 8,
                    "project_id": 5,
                    "is_for_rent": false,
                    "name": "Alejandro Cruickshank",
                    "status": "proident",
                    "floor": "nisi dolore velit consectetur culpa",
                    "room_count": 6,
                    "bathroom_count": 2
                }
            },
            {
                "id": 6,
                "sale_id": 2,
                "sale_operation_id": 9,
                "project_id": 1,
                "unit_id": 6,
                "status": "occaecat",
                "type": "nulla nostrud dolor",
                "request_reason": "Charisma aliquid distinctio voco sit comminor adfectus tandem sint architecto.",
                "refuse_reason": "Candidus sperno coniecto volup commodo tremo repellat dens cursus.",
                "amount": 6,
                "project": {
                    "id": 4,
                    "name": "Tasty Steel Gloves",
                    "code": "C",
                    "status": "ullus",
                    "type": "temptatio",
                    "image": "https://excited-dime.biz/",
                    "start_work_date": "2026-03-06T09:37:46.071Z",
                    "end_work_date": "2025-03-23T08:34:15.751Z"
                },
                "sale": {
                    "id": 0,
                    "reason_for_pay_id": 3,
                    "project_id": 7,
                    "building_id": 2,
                    "unit_id": 1,
                    "tax_reference_number": 0,
                    "sale_type": "in",
                    "target_type": "aliqua",
                    "status": "voluptate officia exercitation laborum"
                },
                "saleOperation": {
                    "id": 1,
                    "type": "ex amet in",
                    "payment_method": "anim Lorem",
                    "amount": 3,
                    "check_number": 4,
                    "receipt_date": "2024-10-14T08:37:11.987Z",
                    "is_paid": false,
                    "paid_at": "2026-03-23T21:04:54.366Z",
                    "from_account_name": "Checking Account",
                    "paid_at_text": "veniam"
                },
                "unit": {
                    "id": 6,
                    "building_id": 1,
                    "project_id": 1,
                    "is_for_rent": true,
                    "name": "Shawna Abshire",
                    "status": "consectetur",
                    "floor": "eiusmod aute nostrud",
                    "room_count": 4,
                    "bathroom_count": 8
                }
            },
            {
                "id": 2,
                "sale_id": 6,
                "sale_operation_id": 0,
                "project_id": 3,
                "unit_id": 7,
                "status": "ullamco",
                "type": "in Excepteur commodo adipisicing tempor",
                "request_reason": "Uterque vulariter ascit sustineo advenio.",
                "refuse_reason": "Arx aedificium toties.",
                "amount": 1,
                "project": {
                    "id": 6,
                    "name": "Generic Rubber Bike",
                    "code": "L",
                    "status": "dolorem",
                    "type": "utique",
                    "image": "https://heavy-chap.com",
                    "start_work_date": "2026-02-07T11:32:17.942Z",
                    "end_work_date": "2025-01-01T05:46:56.673Z"
                },
                "sale": {
                    "id": 8,
                    "reason_for_pay_id": 2,
                    "project_id": 3,
                    "building_id": 0,
                    "unit_id": 3,
                    "tax_reference_number": 4,
                    "sale_type": "velit deserunt",
                    "target_type": "laboris Excepteur amet exercitation",
                    "status": "proident minim fugiat magna in"
                },
                "saleOperation": {
                    "id": 0,
                    "type": "eiusmod",
                    "payment_method": "exercitation do nostrud sunt",
                    "amount": 8,
                    "check_number": 0,
                    "receipt_date": "2024-12-23T06:05:42.283Z",
                    "is_paid": false,
                    "paid_at": "2025-09-07T02:37:59.936Z",
                    "from_account_name": "Savings Account",
                    "paid_at_text": "enim incididunt dolore"
                },
                "unit": {
                    "id": 7,
                    "building_id": 0,
                    "project_id": 1,
                    "is_for_rent": false,
                    "name": "Gregg Jacobson",
                    "status": "et",
                    "floor": "cillum exercitation",
                    "room_count": 5,
                    "bathroom_count": 9
                }
            }
        ],
        "links": {
            "first": "http://estate.test/api/v1/system/sales/sales-refunds?page=1",
            "last": "http://estate.test/api/v1/system/sales/sales-refunds?page=1",
            "prev": null,
            "next": null
        },
        "meta": {
            "current_page": 1,
            "from": null,
            "last_page": 1,
            "links": [
                {
                    "url": null,
                    "label": "pagination.previous",
                    "active": false
                },
                {
                    "url": "http://estate.test/api/v1/system/sales/sales-refunds?page=1",
                    "label": "1",
                    "active": true
                },
                {
                    "url": null,
                    "label": "pagination.next",
                    "active": false
                }
            ],
            "path": "http://estate.test/api/v1/system/sales/sales-refunds",
            "per_page": 10,
            "to": null,
            "total": 0
        }
    }
}

Request

Query Params
search
string 
optional
Example:
22
created_at
string 
optional
Example:
2025-04-06
type
string 
optional
Example:
sale
Header Params
x-api-key
string 
optional
Example:
{{x-api-key}}
x-secret-key
string 
optional
Example:
{{x-secret-key}}

Responses

🟢200Success
application/json
Body
status
string 
required
message
string 
required
response
object 
required
data
array[object (SaleRefund) {14}] 
required
Modified at 2025-04-22 07:58:12
Previous
show
Next
show
Built with