Reference
API Reference
Complete list of CamelPay API endpoints, webhook events, and supported payment methods.
Public Endpoints (no auth)
| Method | Endpoint | Description |
|---|---|---|
POST | /v1/students/register | Create account |
POST | /v1/students/auth/otp/request | Request OTP |
POST | /v1/students/auth/otp/verify | Verify OTP, get JWT |
POST | /v1/students/auth/login | Start login (email/phone + password) |
POST | /v1/students/auth/login/verify | Complete login with emailed MFA code |
POST | /v1/payments/checkout | Initiate a payment (scoped to a page slug) |
GET | /v1/payments/{reference}/status | Check payment status |
JWT Endpoints (dashboard / account)
| Method | Endpoint | Description |
|---|---|---|
GET | /v1/students/me | Get profile + verification_status |
POST | /v1/students/me/documents | Submit KYC documents |
POST | /v1/storage/presign | Get a purpose-bound KYC image upload URL |
GET | /v1/wallets/me | Get wallet balance |
GET | /v1/wallets/me/transactions | List wallet transactions |
POST | /developers/apps | Create developer app |
GET | /developers/apps | List developer apps |
POST | /developers/keys | Generate API key |
GET | /developers/keys | List API keys (requires ?app_id=) |
POST | /developers/keys/{id}/rotate | Rotate API key |
DELETE | /developers/keys/{id} | Revoke API key |
POST | /developers/apps/{id}/webhook | Register/update webhook URL |
GET | /developers/apps/{id}/webhook | View webhook config + secret |
POST | /developers/apps/{id}/webhook/rotate | Rotate webhook secret |
DELETE | /developers/apps/{id}/webhook | Remove webhook |
GET | /developers/apps/{id}/webhook/deliveries | Recent webhook delivery attempts |
POST | /v1/merchant/payment-pages | Create payment page (dashboard) |
GET | /v1/merchant/payment-pages/me | List payment pages (dashboard) |
PATCH | /v1/merchant/payment-pages/{id} | Update payment page (dashboard) |
POST | /v1/merchant/payouts | Request payout (dashboard) |
GET | /v1/merchant/payouts/me | List payouts (dashboard) |
POST | /v1/admin/students/{id}/verify | Approve or reject KYC (admin) |
API Key Endpoints (/v1/*)
| Method | Endpoint | Scope |
|---|---|---|
GET | /v1/balance | balance:read |
GET | /v1/profile | profile:read |
GET | /v1/transactions | transactions:read |
GET | /v1/payment-pages | pages:read |
GET | /v1/payment-pages/{id} | pages:read |
POST | /v1/payment-pages | pages:write (KYC-verified) |
PATCH | /v1/payment-pages/{id} | pages:write (KYC-verified) |
POST | /v1/payouts | payouts:write |
GET | /v1/payouts | payouts:read |
GET | /v1/payouts/{reference}/status | payouts:read |
Webhook Events
| Event | Description |
|---|---|
payment.completed | Payment successful, wallet credited |
Supported Payment Methods
- M-Pesa
- Airtel Money
- Mixx by Yas
- Halotel
Support
- Documentation: https://docs.camelpay.in
- Email: developers@cameltech.online
- Status: https://status.camelpay.in
