Inspiration

Managing digital payments involves more than simply processing transactions. Businesses also need clear payment analytics, transaction visibility, risk monitoring, and useful insights to make better operational decisions.

I wanted to bring these capabilities together in one platform. This inspired me to build PayPilot AI — an AI-powered Payment Operations Assistant.

What it does

PayPilot AI provides a unified dashboard for payment operations.

  • PayPal Sandbox Integration: Creates payment orders and supports the test checkout and payment capture workflow.
  • Payment Analytics: Displays completed sales, transaction counts, pending payments, and payment activity.
  • Transaction Management: Stores and displays transaction IDs, amounts, payment statuses, and timestamps.
  • Risk Monitoring: Provides transparent risk-review signals to identify transactions that may require manual inspection.
  • Smart Payment Assistant: Answers natural-language questions using transaction records and provides AI-generated operational insights.
  • CSV Export: Allows users to download transaction records for further analysis.

How I built it

I developed PayPilot AI using Python and FastAPI for the backend, with HTML, CSS, and JavaScript for the frontend.

PayPal Sandbox is integrated for payment order creation and checkout. The Smart Payment Assistant uses the Groq API with the openai/gpt-oss-20b model to generate insights based on stored transaction information.

Transaction records are maintained locally using JSON storage, and the dashboard presents the resulting payment analytics.

Challenges we ran into

One of the main challenges was integrating the complete PayPal Sandbox workflow, including authentication, order creation, checkout approval, and payment capture.

Another challenge was connecting transaction data with the analytics dashboard and AI assistant while ensuring that generated insights were based on actual stored records.

Accomplishments that we're proud of

I successfully built a working prototype that brings together PayPal Sandbox payment processing, payment analytics, transaction management, risk monitoring, AI-assisted insights, and CSV reporting.

I am especially proud that the Smart Payment Assistant can answer questions about actual transaction records instead of relying only on generic responses.

What we learned

This project helped me gain practical experience in API integration, backend development, frontend development, payment workflows, AI API integration, data handling, and building a complete software prototype.

What's next for PayPilot AI

Future improvements include cloud-based transaction storage, advanced risk-analysis techniques, multi-currency analytics, real-time payment monitoring, and additional AI-powered business insights.

PayPilot AI aims to make payment operations more understandable, transparent, and intelligent.

This is a hackathon prototype using PayPal Sandbox. It does not process real payments or provide certified fraud detection.

Built With

Share this project:

Updates

Submission history