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
Modified at 2025-04-22 07:45:58