zai_payment 2.7.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 510e8e99ba15a794801fbfa54f066f9c9df8037b2b4439f1e4f2a11b19509899
4
- data.tar.gz: 5f699a364d1cc0f50a6e6e36e4a5ffea274a8c7e761dfa01f0f78d71043f9578
3
+ metadata.gz: 98109f5cacbac15031860abc6adb10c57f3ff7f232978965afe4c3052c962805
4
+ data.tar.gz: 126e97d1b18c1fba6e8b98e600727339f949c96e39064e7815832cb2ed5f62de
5
5
  SHA512:
6
- metadata.gz: ad9010a7ed0538881749587f2ea3cf2a7e3bf8dde51f1f2856b62a13726f25ef55c5174dce276c024df5d3ea9f7352a049ad2da29e15495dc7e4b838d08c963a
7
- data.tar.gz: 2d33996bd2e78ab91f8c2ee27f02d9d5d5f0f139cda22141d4c5e0d0d9358c3906872236f13131448da217665db28ed7d3df360119981b9ba87cc11a2acf9ec6
6
+ metadata.gz: e319a397758406f149749a2f7a30f8217ba9b58666d311134f16734bee042c52f2d248c91e90ae83ddbd11445f2d6f58609ae5f3c9b09bed14f3f7a8a990d569
7
+ data.tar.gz: 03fa17ae8f34e051daa8c26ca7d141ff94b0fc712b0f489554cb1636a2c797670c0ae5b4243c9dd851634508599c00979bc98d37dae77ae7032b2453e1e23fa2
data/badges/coverage.json CHANGED
@@ -1 +1 @@
1
- {"schemaVersion": 1, "label": "coverage", "message": "97.47%", "color": "brightgreen"}
1
+ {"schemaVersion": 1, "label": "coverage", "message": "97.64%", "color": "brightgreen"}
data/changelog.md CHANGED
@@ -1,5 +1,80 @@
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