payment-development
Installation
SKILL.md
Payment Development Guide
This skill provides guidance for developers working with the @rytass/payments base package, including creating new payment adapters.
Overview
The @rytass/payments package defines the core interfaces and types that all payment adapters must implement. It follows the adapter pattern to provide a unified API across different Taiwan payment providers.
Architecture
@rytass/payments (Base Package)
│
├── PaymentGateway<OCM, O> # Gateway interface
├── Order<OCM> # Order entity interface
├── BindCardPaymentGateway<...> # Card binding interface (optional)
├── Enums & Types # Shared types
└── Event System # EventEmitter-based callbacks