AI Agent for payments automatic
Idea and design by Rsync25
-
The
main.rs
initializes aPaymentRequest
and sends it to theprocess_payment_request
function. -
The
decision_engine.rs
contains the decision-making rules for payments. -
The
payments.rs
handles the actual payment processing (using a mock API for simplicity)
- Payment Request: The AI agent receives a payment request from a user.
- Decision Engine: The AI agent uses the decision engine to determine if the payment should be approved or denied.
- Payment Processing: The AI agent processes the payment using the payment processing module.
- Response: The AI agent sends a response to the user.
-
Clone the repository:
git clone https://github.com/AI-Robotic-Labs/payment-automatic.git
-
Navigate to the project directory:
cd payment-automatic
-
Build the project:
cargo build
-
Run the project:
cargo run