|
1 | 1 | ## [Released] |
2 | 2 |
|
| 3 | +## [2.8.0] - 2025-11-07 |
| 4 | + |
| 5 | +### Added |
| 6 | +- **Virtual Accounts Resource**: Complete virtual account management for Australian payments 🏦 |
| 7 | + - `ZaiPayment.virtual_accounts.list(wallet_account_id)` - List all virtual accounts for a wallet account |
| 8 | + - `ZaiPayment.virtual_accounts.show(virtual_account_id)` - Get virtual account details |
| 9 | + - `ZaiPayment.virtual_accounts.create(wallet_account_id, account_name:, aka_names:)` - Create virtual account for a wallet account |
| 10 | + - `ZaiPayment.virtual_accounts.update_aka_names(virtual_account_id, aka_names)` - Update AKA names (0-3 items) |
| 11 | + - `ZaiPayment.virtual_accounts.update_account_name(virtual_account_id, account_name)` - Update account name (used in CoP lookups) |
| 12 | + - `ZaiPayment.virtual_accounts.update_status(virtual_account_id, status)` - Close a virtual account (status: 'closed') |
| 13 | + - Support for AKA names for account aliases |
| 14 | + - Support for Confirmation of Payee (CoP) lookups via account names |
| 15 | + - Validation for account names (max 140 characters) |
| 16 | + - Validation for AKA names (0-3 items) |
| 17 | + - Full RSpec test suite with 65+ test examples |
| 18 | + - Comprehensive documentation in `docs/virtual_accounts.md` |
| 19 | + - Practical examples in `examples/virtual_accounts.md` |
| 20 | + |
| 21 | +- **PayID Resource**: PayID registration management for Australian NPP payments 💳 |
| 22 | + - `ZaiPayment.pay_ids.create(virtual_account_id, pay_id:, type:, details:)` - Register a PayID for a virtual account |
| 23 | + - `ZaiPayment.pay_ids.show(pay_id_id)` - Get PayID details including status |
| 24 | + - `ZaiPayment.pay_ids.update_status(pay_id_id, status)` - Deregister a PayID (status: 'deregistered') |
| 25 | + - Support for EMAIL PayID type |
| 26 | + - Validation for PayID format (max 256 characters) |
| 27 | + - Validation for details (pay_id_name and owner_legal_name, 1-140 characters each) |
| 28 | + - Asynchronous status update with 202 Accepted response |
| 29 | + - Full RSpec test suite with 35+ test examples |
| 30 | + - Comprehensive documentation in `docs/pay_ids.md` |
| 31 | + - Practical examples in `examples/pay_ids.md` |
| 32 | + |
| 33 | +### Documentation |
| 34 | +- **Virtual Accounts Guide** (`docs/virtual_accounts.md`): |
| 35 | + - Complete guide for all 6 virtual account endpoints |
| 36 | + - Detailed workflow for account creation and management |
| 37 | + - AKA names for account aliases |
| 38 | + - Account name updates for CoP lookups |
| 39 | + - Status updates for closing accounts |
| 40 | + - Error handling patterns |
| 41 | + - Comprehensive use cases |
| 42 | + |
| 43 | +- **Virtual Accounts Examples** (`examples/virtual_accounts.md`): |
| 44 | + - List virtual accounts examples |
| 45 | + - Show virtual account examples |
| 46 | + - Create virtual account examples |
| 47 | + - Update AKA names examples |
| 48 | + - Update account name examples |
| 49 | + - Update status (close account) examples |
| 50 | + - Complete workflow patterns |
| 51 | + - Rails integration examples |
| 52 | + |
| 53 | +- **PayID Guide** (`docs/pay_ids.md`): |
| 54 | + - Complete guide for all 3 PayID endpoints |
| 55 | + - PayID registration with EMAIL type |
| 56 | + - PayID format validation rules |
| 57 | + - Status updates for deregistration |
| 58 | + - Integration with virtual accounts |
| 59 | + - Error handling patterns |
| 60 | + - Comprehensive use cases |
| 61 | + |
| 62 | +- **PayID Examples** (`examples/pay_ids.md`): |
| 63 | + - Register PayID examples |
| 64 | + - Show PayID examples |
| 65 | + - Update status (deregister) examples |
| 66 | + - Complete workflow patterns |
| 67 | + - Rails integration examples |
| 68 | + |
| 69 | +### Enhanced |
| 70 | +- **README.md**: |
| 71 | + - Added Virtual Accounts to features section |
| 72 | + - Added PayID to features section |
| 73 | + - Added documentation links to virtual accounts and PayID guides |
| 74 | + - Updated roadmap to mark Virtual Accounts and PayID as Done |
| 75 | + |
| 76 | +**Full Changelog**: https://github.com/Sentia/zai-payment/compare/v2.7.0...v2.8.0 |
| 77 | + |
3 | 78 | ## [2.7.0] - 2025-11-04 |
4 | 79 |
|
5 | 80 | ### Added |
|
0 commit comments