🔌 Developer Tools
Nafaa API
Build powerful integrations and custom workflows with our REST API
Bearer Auth
JWT-based authentication
REST API
JSON over HTTPS
Swagger UI
Interactive playground
Example: Create a sale
curl -X POST https://api.nafaa.pk/v1/sales \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"items": [
{ "productId": "uuid", "quantity": 2, "price": 250 }
],
"paymentMethod": "CASH",
"customerId": "uuid"
}'Full documentation available at nafaa.pk/docs