Skip to content

Latest commit

 

History

History
26 lines (19 loc) · 440 Bytes

README.md

File metadata and controls

26 lines (19 loc) · 440 Bytes

Payments Engine

Simple payments engine with the following functions:

  • Deposits
  • Withdrawals
  • Disputes
  • Resolves
  • Chargebacks

Instructions for CLI

cargo run -- --help

Test with

cargo test

Execute a transactions file, and save accounts to csv. One of the test fixtures with sample transactions can be used to demonstrate this:

cargo run -- fixtures/chargeback_transactions.csv > accounts.csv