MyPayslip.lk Sri Lanka Salary Calculator API
Deterministic, read-only Sri Lankan 2026/27 salary calculation API using rates effective from 1 April 2025. No key, storage or tracking.
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Deterministic, read-only Sri Lankan 2026/27 salary calculation API using rates effective from 1 April 2025. No key, storage or tracking.
Endpoints 1
Salary calculation
- GETCalculate a Sri Lankan monthly payslip
/api/calc?salary=200000Returns APIT, EPF, ETF, stamp duty, net salary and employer cost for regular primary employment.
API details
- Base URL
https://mypayslip.lk- Authentication
- None declared in the description
- Operations
- 1 operation on 1 pathGET 1
- Main resources
- Salary calculation 1
- Response formats
application/json- Description format
- OpenAPI 3.1.0, API version
2026.07.17 - Links
- Documentation · OpenAPI document
- Listed from
- Mypayslip's published OpenAPI description
How to test the MyPayslip.lk Sri Lanka Salary Calculator API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the MyPayslip.lk Sri Lanka Salary Calculator API collection, without the publisher's secrets.
- Add your credentialsOpen the collection's variables or an environment and enter your API key or token, if the API needs one.
- Send a requestPick an endpoint, for example “Calculate a Sri Lankan monthly payslip” (GET /api/calc?salary=200000), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the MyPayslip.lk Sri Lanka Salary Calculator API?
Deterministic, read-only Sri Lankan 2026/27 salary calculation API using rates effective from 1 April 2025. No key, storage or tracking. It is listed under Finance & banking and has 1 endpoint.
Who publishes the MyPayslip.lk Sri Lanka Salary Calculator API?
It is listed from MyPayslip.lk's public API description (an OpenAPI document), not published by MyPayslip.lk on Swastik Codes. Anyone who controls mypayslip.lk can claim the profile by adding a DNS TXT record.
What is the base URL of the MyPayslip.lk Sri Lanka Salary Calculator API?
Requests go to https://mypayslip.lk. Endpoint paths are added to this base URL.
How do I authenticate with the MyPayslip.lk Sri Lanka Salary Calculator API?
Its OpenAPI description does not declare an authentication scheme. Some endpoints may be open; check the provider's documentation before relying on that.
How many endpoints does the MyPayslip.lk Sri Lanka Salary Calculator API have?
1 operation on 1 path (1 GET). The largest groups are Salary calculation.
Is forking the MyPayslip.lk Sri Lanka Salary Calculator API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.