How governib/paymentib works
Project type and purpose
• From the file tree and README, we see that “paymentib” is not a standalone app but a horizontal software component (a library or SDK) that any application can embed to handle electronic or in-person payments.
• Its primary purpose is to provide a unified API and workflow to perform payments against different platforms, starting with the ATIB (Agència Tributària de les Illes Balears) payment gateway.
File structure
• Top-level files:
• .gitignore, LICENSE, README.md
• No “src/”, “lib/” or “examples/” folders are present in the root, but the README points to a doc/ folder in the paymentib-1.0 branch.
• We assume the real code resides in a src/ or similar directory alongside:
– Core payment engine
– Platform adapters (e.g., ATIB)
– Configuration files
– Utility modules (logging, error handling, security tokens)
– Possibly integration tests
README for additional insights
• Describes functional scope: uniform payment interface + support for multiple payment platforms
• Mentions versioning, branching, and documentation location
• No explicit architecture is supplied, so we must infer a modular, adapter-based design