Get started with the PlotObit API in minutes:
1. Create a farmer account:
curl -X POST https://billing.plotobit.com/api/accounts \
-H "Content-Type: application/json" \
-d '{"phone": "+254712345678", "farmer_name": "John Kamau"}'
2. Create a plot billing account:
curl -X POST https://billing.plotobit.com/api/plot-accounts/create \
-H "Content-Type: application/json" \
-d '{"plot_id": 67, "farmer_phone": "+254712345678", "savings_product_id": 1}'
3. Register an IoT gateway:
curl -X POST https://iot.plotobit.com/api/gateway/register \
-H "Content-Type: application/json" \
-d '{"farm_id": "farm-001", "hardware_id": "gw-pi-001", "gateway_name": "Main Gateway"}'
See the full documentation below for all available endpoints.