Prerequisites
Platform API token
Generate a Platform token from your Dashboard under Settings > Developers.
Create a Business
Create a business on your platform. The response includes thetenantKey you’ll need for all subsequent calls to this business.
Response:
Store the
tenantKey in your database mapped to the business. You’ll need it for every API call that targets this business.Use the Tenant Key
For all business-specific operations, include theX-MultiTenantKey header with the tenant key. Without it, the request returns 400 Bad Request.
X-MultiTenantKey header. Platform-level endpoints (/v1/platform/*) like creating and listing businesses do not. See the API Reference for all available endpoints.
List Your Businesses
Retrieve all businesses on your platform. No tenant key needed. Response:Complete KYB
Businesses must complete Know Your Business (KYB) verification before they can process payments. You can either generate a hosted form link for the business owner to complete, or submit the data directly via API. See KYB Requirements for full details on both approaches, required fields, and document uploads.Webhooks
Platform integrations receive webhooks for all businesses. The payload includes atenantKey field to identify which business the event relates to.
Sandbox Testing
In sandbox mode, businesses are created instantly and KYB can be auto-approved using test values (e.g., tax ID000-CAD-AUTO-APPROVE). All API calls work the same as production.
Use https://dev-api.cadanapay.com as the base URL. See Sandbox & Testing for all test values and simulated scenarios.
Troubleshooting
| Error | Cause | Solution |
|---|---|---|
400 X-MultiTenantKey header cannot be blank | Missing X-MultiTenantKey header | Add the header with the correct tenant key |
401 Unauthorized | Invalid or expired token | Verify your Platform token is valid |
403 Forbidden | Tenant key doesn’t belong to your platform | Verify the tenant key matches a business you created |
400 Platform access required | Account not enabled for platform access | Contact your account manager |
Next Steps
KYB Requirements
Business verification requirements
Fund Your Account
Fund business accounts before running payroll
Onboard Workers
Create Person and User records for each business
Pay Workers via Payroll
Run payroll for a business
Transaction Reconciliation
Reconcile transactions across businesses
Workforce API Reference
Full API documentation