API for payroll providers to integrate with Aslan. This API enables payroll providers to manage company registrations and employee onboarding for Aslan services.
- Retrieve employee deduction details
Retrieve company deductions report summary
Retrieve employee deducti...
Partner API (0.0.1)
Download OpenAPI description
Languages
Servers
Mock server
https://developer.aslan.io/_mock/openapi/
https://uat.partner.aslan.io/api/v1/
https://partner.aslan.io/api/v1/
- Mock serverhttps://developer.aslan.io/_mock/openapi/deductions/reports/company/{reportId}
- https://uat.partner.aslan.io/api/v1/deductions/reports/company/{reportId}
- https://partner.aslan.io/api/v1/deductions/reports/company/{reportId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.aslan.io/_mock/openapi/deductions/reports/company/{reportId}' \
-H 'Authorization: Bearer <YOUR_token:signature_HERE>' \
-H 'X-Aslan-Timestamp: 1730000000'Successfully retrieved company deductions report summary
Unique identifier of the company
Example: "a3f2e1d0-5c4b-4a3e-9f8e-7d6c5b4a3e2f"
Unique identifier for the report
Example: "a1b2c3d4-e5f6-4a8b-9c0d-e1f2a3b4c5d6"
List of employee deductions within this report period
Unique identifier of the employee
Example: "f7e6d5c4-b3a2-4918-8e7d-6c5b4a3f2e1d"
Unique identifier for the report
Example: "a1b2c3d4-e5f6-4a8b-9c0d-e1f2a3b4c5d6"
Start date of the deduction period
Example: "2024-10-01"
End date of the deduction period
Example: "2024-10-31"
Response
application/json
{ "companyId": "a3f2e1d0-5c4b-4a3e-9f8e-7d6c5b4a3e2f", "reportId": "a1b2c3d4-e5f6-4a8b-9c0d-e1f2a3b4c5d6", "employeeDeductionsReports": [ { … } ] }
- Mock serverhttps://developer.aslan.io/_mock/openapi/deductions/reports/employee/{reportId}
- https://uat.partner.aslan.io/api/v1/deductions/reports/employee/{reportId}
- https://partner.aslan.io/api/v1/deductions/reports/employee/{reportId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X GET \
'https://developer.aslan.io/_mock/openapi/deductions/reports/employee/{reportId}' \
-H 'Authorization: Bearer <YOUR_token:signature_HERE>' \
-H 'X-Aslan-Timestamp: 1730000000'Response
application/json
{ "employeeId": "f7e6d5c4-b3a2-4918-8e7d-6c5b4a3f2e1d", "reportId": "a1b2c3d4-e5f6-4a8b-9c0d-e1f2a3b4c5d6", "from": "2024-10-01", "to": "2024-10-31", "deductionAmount": 862.75 }