zai_payment 2.8.2 → 2.8.4
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 +4 -4
- data/badges/coverage.json +1 -1
- data/changelog.md +26 -0
- data/lib/zai_payment/version.rb +1 -1
- data/lib/zai_payment.rb +1 -1
- metadata +5 -8
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a725388d79a0a177977ce611857c0e9330dedd27ad5e967385eba39909e2f34d
|
|
4
|
+
data.tar.gz: 62bf0e6522be29481903ee2a0767b15f1feded7c52fc0db50fe2547d40c3d2f7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b232b33246da5ee0141a2eaf3d359671e759eea8624d043b44f42619ba707ffa8d5e81d3721ef09effc172fcd63726034bfce627824122a3912e10350d495514
|
|
7
|
+
data.tar.gz: ff40f3f12972eafffcdee6a95d34415ac845df5e9091459e54ea1124b34f727c643728ef4ec9e421fe8209d8f088df3f3b0a0bee100163ffa1281217e234f541
|
data/badges/coverage.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"schemaVersion": 1, "label": "coverage", "message": "
|
|
1
|
+
{"schemaVersion": 1, "label": "coverage", "message": "95.51%", "color": "brightgreen"}
|
data/changelog.md
CHANGED
|
@@ -1,5 +1,31 @@
|
|
|
1
1
|
## [Released]
|
|
2
2
|
|
|
3
|
+
## [2.8.4] - 2025-12-12
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- **Webhook Resource Endpoint**: Fixed webhook client to use `core_base` endpoint 🔧
|
|
7
|
+
- Updated `ZaiPayment.webhooks` to use `Client.new(base_endpoint: :core_base)` instead of `va_base`
|
|
8
|
+
- Ensures webhooks API uses the correct endpoint for consistency with other resources
|
|
9
|
+
- Aligns with the pattern used by other resources (users, items, bank_accounts, etc.)
|
|
10
|
+
|
|
11
|
+
**Full Changelog**: https://github.com/Sentia/zai-payment/compare/v2.8.3...v2.8.4
|
|
12
|
+
|
|
13
|
+
## [2.8.3] - 2025-11-21
|
|
14
|
+
|
|
15
|
+
### Added
|
|
16
|
+
- **Wallet Account Withdraw**: New withdraw method for Wallet Account resource 💰
|
|
17
|
+
- `ZaiPayment.wallet_accounts.withdraw(wallet_account_id, account_id:, amount:, **options)` - Withdraw funds from a wallet account to a disbursement account
|
|
18
|
+
- Support for basic withdrawals with account_id and amount
|
|
19
|
+
- Support for custom descriptors (max 200 chars for NPP, 18 for DE batch)
|
|
20
|
+
- Support for reference IDs (cannot contain '.' character)
|
|
21
|
+
- Support for NPP IFTI payouts with end_to_end_id and ifti_information
|
|
22
|
+
- Validation for required fields (account_id, amount)
|
|
23
|
+
- Validation for custom descriptor length
|
|
24
|
+
- Validation for reference_id format
|
|
25
|
+
- Comprehensive YARD documentation with examples
|
|
26
|
+
|
|
27
|
+
**Full Changelog**: https://github.com/Sentia/zai-payment/compare/v2.8.2...v2.8.3
|
|
28
|
+
|
|
3
29
|
## [2.8.1] - 2025-11-07
|
|
4
30
|
|
|
5
31
|
### Fixed
|
data/lib/zai_payment/version.rb
CHANGED
data/lib/zai_payment.rb
CHANGED
|
@@ -46,7 +46,7 @@ module ZaiPayment
|
|
|
46
46
|
# --- Resource accessors ---
|
|
47
47
|
# @return [ZaiPayment::Resources::Webhook] webhook resource instance
|
|
48
48
|
def webhooks
|
|
49
|
-
@webhooks ||= Resources::Webhook.new
|
|
49
|
+
@webhooks ||= Resources::Webhook.new(client: Client.new(base_endpoint: :core_base))
|
|
50
50
|
end
|
|
51
51
|
|
|
52
52
|
# @return [ZaiPayment::Resources::User] user resource instance
|
metadata
CHANGED
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: zai_payment
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.8.
|
|
4
|
+
version: 2.8.4
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Eddy Jaga
|
|
8
|
-
autorequire:
|
|
9
8
|
bindir: exe
|
|
10
9
|
cert_chain: []
|
|
11
|
-
date:
|
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
12
11
|
dependencies:
|
|
13
12
|
- !ruby/object:Gem::Dependency
|
|
14
13
|
name: base64
|
|
@@ -119,18 +118,17 @@ files:
|
|
|
119
118
|
- lib/zai_payment/version.rb
|
|
120
119
|
- readme.md
|
|
121
120
|
- sig/zai_payment.rbs
|
|
122
|
-
homepage: https://
|
|
121
|
+
homepage: https://www.sentia.com.au
|
|
123
122
|
licenses:
|
|
124
123
|
- MIT
|
|
125
124
|
metadata:
|
|
126
125
|
allowed_push_host: https://rubygems.org
|
|
127
|
-
homepage_uri: https://
|
|
126
|
+
homepage_uri: https://www.sentia.com.au
|
|
128
127
|
source_code_uri: https://github.com/Sentia/zai-payment
|
|
129
128
|
changelog_uri: https://github.com/Sentia/zai-payment/blob/main/changelog.md
|
|
130
129
|
code_of_conduct_uri: https://github.com/Sentia/zai-payment/blob/main/code_of_conduct.md
|
|
131
130
|
rubygems_mfa_required: 'true'
|
|
132
131
|
documentation_uri: https://github.com/Sentia/zai-payment#readme
|
|
133
|
-
post_install_message:
|
|
134
132
|
rdoc_options: []
|
|
135
133
|
require_paths:
|
|
136
134
|
- lib
|
|
@@ -145,8 +143,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
145
143
|
- !ruby/object:Gem::Version
|
|
146
144
|
version: '0'
|
|
147
145
|
requirements: []
|
|
148
|
-
rubygems_version: 3.
|
|
149
|
-
signing_key:
|
|
146
|
+
rubygems_version: 3.7.1
|
|
150
147
|
specification_version: 4
|
|
151
148
|
summary: Ruby gem for Zai payment integration
|
|
152
149
|
test_files: []
|