Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

payments-service

Internal payment processing microservice for handling transactions, refunds, and ledger accounting.

Setup

python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Running Tests

pytest

Architecture

The service is organized into focused modules under src/payments/:

  • processor -- orchestrates payment lifecycle (authorize, capture, void)
  • validator -- validates payment requests against business rules
  • refund -- handles full and partial refund workflows
  • models -- data models for payments, refunds, and ledger entries
  • ledger -- transaction ledger and balance tracking
  • utils -- shared formatting and helper functions

Development

  • Python 3.11+
  • No external runtime dependencies (stdlib + dataclasses)
  • pytest for testing

About

Research-backed evaluation fixtures for testing AI code review agents

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages