Authorization header. All requests must be made over HTTPS.
Bash
Token Types
Org API Token
System-level token scoped to a single organization. Use this for backend integrations where your server makes API calls on behalf of the business.- Access to all resources within the organization
- Never expose in client-side code
- Can be bound to specific IP addresses for added security
Platform API Token
Cross-organization token for multi-tenant platforms. Grants access to the primary organization and any businesses created through the Platform API.- Requires special enablement — contact your account manager
- Business-specific calls require the
X-MultiTenantKeyheader
Bash
User Token
Token scoped to an individual end-user (admin, employee, or contractor). Grants access only to that user’s resources.- Valid for 1 hour
- Designed for frontend API calls (browser or mobile)
Public API Key
Client-side key for embedded widgets (prefixcdpk_). Only grants access to public-facing resources like the salary calculator.
- Safe to include in client-side code
- Restricted by domain whitelisting
Environments
| Environment | Base URL |
|---|---|
| Production | https://api.cadanapay.com |
| Sandbox | https://dev-api.cadanapay.com |