### Careem — Software Engineer
*Dubai, UAE | April – December 2018*

Software Engineer in the **Captain Payments** team, responsible for the end-to-end process of payments to captains (Careem's term for drivers), pooling trips verification, and cash trips blocking/unblocking.

#### Captain Earning Service

Co-built the **Captain Earning Service** from scratch — an internal web service acting as the single, reliable source of truth for all captains' transactions.

- **Decreased querying time by 80+%** compared to the previous system.
- Introduced **real-time captain balance calculation** and **real-time cash trips blocking/unblocking** — a feature anticipated since Careem's inception.
- The service listened to events from the booking flow (monolith "core" service), computed payment splits across cash, credit card, and loyalty points, maintained debt tracking tables, and triggered block/unblock flows.
- Integrated the Captain Earning Service with **Careem Solutions** (internal customer support portal), migrating all direct database access flows to go through the new service via feature toggles.

#### Other Contributions

- **Main contributor** to Careem's most critical microservice, **core-service** — the former monolith containing booking, pooling, routing, and other essential flows.
- Maintained the cash blocking and pooling routes verification scripts.
- Built a **QA bot** as a serverless **AWS Lambda** function to automate clean test data creation, simulating external transactions through pay-out vendors (e.g., Fawry in Egypt, Easypaisa in Pakistan).
- Built the first version of an **API backend for the Marketplace data science team** to control their ML pipeline parameters.
- Onboarded multiple new team members and cross-team contributors.
