Integrations & API
Paymob, Stripe, Firebase, WhatsApp, and using the Clinit API.
Payment integrations
Paymob (Egypt) — Primary payment gateway for EGP transactions. Supports Visa, Mastercard, Meeza, Fawry, ValU, InstaPay, and bank transfers. Configure from Settings → Billing → Paymob.
Stripe (International) — For USD/EUR card payments from international patients. Configure from Settings → Billing → Stripe.
Both gateways operate independently. You can enable both and let patients choose.
Clinit API for developers
Base URL: https://doctor.clinit.app/api
Authentication: Bearer token (JWT) in the Authorization header. Obtain from POST /api/auth/login.
Tokens expire in 15 minutes. Use POST /api/auth/refresh with your refresh token to obtain a new access token.
All responses are JSON. Errors follow the format: { "error": "message" }.
Rate limiting: 10 requests per 15 minutes per IP on auth endpoints. Standard endpoints: 300 requests per minute.
Full API documentation with all 366 routes is available to Enterprise plan subscribers. Contact api@clinit.app.
Firebase push notifications
Clinit uses Firebase Cloud Messaging (FCM) for push notifications to the mobile app.
To enable push notifications for your clinic:
- Ensure patients have the Clinit mobile app installed
- Go to Settings → Notifications → Push and confirm push is enabled
- Test by sending a test notification from the panel
Notification types: appointment reminders, invoice due, lab results ready, prescription ready, system announcements.