Version: 1.0.1
Paydoss API
Paydoss API document. *
- Multi-company tenants: tokens with the
companies.switchscope can send theX-Company-Idheader on every - endpoint (except /v1/companies) to act on another company of the same tenant. Without the header, requests
- run on the token owner's (primary) company. The company must belong to the tenant and be active.
- Integrator mode: send
X-Id-Type: externalto work with your own numbers instead of Paydoss IDs. - Then company IDs (the {id} path parameter of /v1/companies, the
X-Company-Idheader and the access-control company_idfilter) are your company number (external_id), and employee IDs (the {id} path parameter of- /v1/employees,
employee_idof PUT /v1/employees/gate-password) are the employee number (employee_no, - unique within the company). Without the header, Paydoss IDs are used as before.
- Times are returned in Turkey time (Europe/Istanbul, UTC+3) as
d.m.Y H:i:s.
Authentication
- HTTP: Bearer Auth
Bearer token ile yetkilendirme. Header'a 'Authorization: Bearer {token}' şeklinde gönderilmelidir.
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |
Bearer format: | JWT |