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

show

Developing
GET
http://estate.test/api/v1{{url}}/system/sales/sales-refunds/1
Request Request Example
Shell
JavaScript
Java
Swift
curl --location -g --request GET 'http://estate.test/api/v1/system/sales/sales-refunds/1' \
--header 'x-api-key: f482480c-11fe-4426-9f6e-e7d26c8c3eed' \
--header 'x-secret-key: FkSF0PDbMOgLmLlJeMDSDzBFIl5dloAC'
Response Response Example
{
    "status": "success",
    "message": "Operation completed successfully",
    "data": {
        "id": 7,
        "sale_id": 2,
        "sale_operation_id": 7,
        "project_id": 7,
        "unit_id": 8,
        "status": "pending",
        "type": "sale",
        "request_reason": "Speciosus porro aetas adsum crebro decumbo cuppedia annus aduro.",
        "refuse_reason": "Ceno debitis deripio triumphus textor tui cupio occaecati bonus cruentus.",
        "amount": 34,
        "project": {
            "id": 7,
            "name": "Sleek Soft Soap",
            "code": "2",
            "status": "cedo",
            "type": "spero",
            "image": "https://handsome-polarisation.info",
            "start_work_date": "2025-01-09T00:35:08.710Z",
            "end_work_date": "2025-09-03T11:43:39.962Z"
        },
        "sale": {
            "id": 2,
            "reason_for_pay_id": 1,
            "project_id": 1,
            "building_id": 7,
            "unit_id": 1,
            "tax_reference_number": 3,
            "sale_type": "officia",
            "target_type": "proident occaecat nostrud",
            "status": "deserunt cupidatat tempor eiusmod"
        },
        "saleOperation": {
            "id": 7,
            "sale_id": 1,
            "unit_id": 1,
            "building_id": null,
            "bank_id": null,
            "target_type": null,
            "type": "tax",
            "payment_method": "check",
            "amount": 22,
            "check_number": null,
            "receipt_date": null,
            "is_paid": true,
            "paid_at": null,
            "from_account_name": null,
            "paid_at_text": "---"
        },
        "unit": {
            "id": 8,
            "building_id": 5,
            "project_id": 5,
            "is_for_rent": false,
            "name": "Dwight Zulauf",
            "status": "proident",
            "floor": "ex anim cillum sed officia",
            "room_count": 4,
            "bathroom_count": 6
        }
    }
}

Request

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
data
object (SaleRefund) 
required
id
number 
required
sale_id
number 
required
sale_operation_id
number 
required
project_id
number 
required
unit_id
number 
required
status
string 
required
type
string 
required
request_reason
string 
optional
refuse_reason
string 
optional
amount
number 
optional
project
object (Project Simple) 
required
sale
object (Sale Simple) 
required
saleOperation
object (SaleOperation Simple) 
required
unit
object (Unit Simple) 
required
Modified at 2025-04-22 07:45:58
Previous
index
Next
index
Built with