Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
zai_payment (2.8.3)
zai_payment (2.8.4)
base64 (~> 0.3.0)
faraday (~> 2.0)
openssl (~> 3.3)
Expand Down
10 changes: 10 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
## [Released]

## [2.8.4] - 2025-12-12

### Fixed
- **Webhook Resource Endpoint**: Fixed webhook client to use `core_base` endpoint 🔧
- Updated `ZaiPayment.webhooks` to use `Client.new(base_endpoint: :core_base)` instead of `va_base`
- Ensures webhooks API uses the correct endpoint for consistency with other resources
- Aligns with the pattern used by other resources (users, items, bank_accounts, etc.)

**Full Changelog**: https://github.com/Sentia/zai-payment/compare/v2.8.3...v2.8.4

## [2.8.3] - 2025-11-21

### Added
Expand Down
2 changes: 1 addition & 1 deletion lib/zai_payment.rb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ def token_type = auth.token_type
# --- Resource accessors ---
# @return [ZaiPayment::Resources::Webhook] webhook resource instance
def webhooks
@webhooks ||= Resources::Webhook.new
@webhooks ||= Resources::Webhook.new(client: Client.new(base_endpoint: :core_base))
end

# @return [ZaiPayment::Resources::User] user resource instance
Expand Down
2 changes: 1 addition & 1 deletion lib/zai_payment/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module ZaiPayment
VERSION = '2.8.3'
VERSION = '2.8.4'
end