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 .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.0.32"
".": "0.0.33"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 178
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-187882c4d823394e3577f9843c288f4187e4f9b38646105c40b88e4e83b27979.yml
openapi_spec_hash: 16eb1c84681dc3ad39c987b7abf1e191
config_hash: e9bda7cddca13f2b41d8f7521ad36cf5
configured_endpoints: 180
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/frostedinc%2Fwhopsdk-51fb88de05d428f3ea78a4b7ba2d5c6e04ae039816961e810f99d9d5d29bc015.yml
openapi_spec_hash: d59179d7d9a835795741673012f20d79
config_hash: a9229678a4146beeb5be82ed0ae3d4f1
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 0.0.33 (2026-03-12)

Full Changelog: [v0.0.32...v0.0.33](https://github.com/whopio/whopsdk-ruby/compare/v0.0.32...v0.0.33)

### Features

* **api:** api update ([e9bdc24](https://github.com/whopio/whopsdk-ruby/commit/e9bdc24914a094959bb450165e5c7c261cf0063e))
* **api:** manual updates ([a0a3ca0](https://github.com/whopio/whopsdk-ruby/commit/a0a3ca0022cdeed9b42b5b00a7d4e2f57ae4248b))

## 0.0.32 (2026-03-11)

Full Changelog: [v0.0.31...v0.0.32](https://github.com/whopio/whopsdk-ruby/compare/v0.0.31...v0.0.32)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ GIT
PATH
remote: .
specs:
whop_sdk (0.0.32)
whop_sdk (0.0.33)
cgi
connection_pool
standardwebhooks
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ To use this gem, install via Bundler by adding the following to your application
<!-- x-release-please-start-version -->

```ruby
gem "whop_sdk", "~> 0.0.32"
gem "whop_sdk", "~> 0.0.33"
```

<!-- x-release-please-end -->
Expand Down
7 changes: 7 additions & 0 deletions lib/whop_sdk.rb
Original file line number Diff line number Diff line change
Expand Up @@ -323,6 +323,10 @@
require_relative "whop_sdk/models/payment_retry_params"
require_relative "whop_sdk/models/payment_succeeded_webhook_event"
require_relative "whop_sdk/models/payment_void_params"
require_relative "whop_sdk/models/payout_account_calculated_statuses"
require_relative "whop_sdk/models/payout_account_retrieve_params"
require_relative "whop_sdk/models/payout_account_retrieve_response"
require_relative "whop_sdk/models/payout_account_status_updated_webhook_event"
require_relative "whop_sdk/models/payout_destination_category"
require_relative "whop_sdk/models/payout_method_created_webhook_event"
require_relative "whop_sdk/models/payout_method_list_params"
Expand Down Expand Up @@ -427,6 +431,8 @@
require_relative "whop_sdk/models/user_retrieve_params"
require_relative "whop_sdk/models/user_update_profile_params"
require_relative "whop_sdk/models/verification_error_code"
require_relative "whop_sdk/models/verification_list_params"
require_relative "whop_sdk/models/verification_list_response"
require_relative "whop_sdk/models/verification_retrieve_params"
require_relative "whop_sdk/models/verification_retrieve_response"
require_relative "whop_sdk/models/verification_status"
Expand Down Expand Up @@ -493,6 +499,7 @@
require_relative "whop_sdk/resources/notifications"
require_relative "whop_sdk/resources/payment_methods"
require_relative "whop_sdk/resources/payments"
require_relative "whop_sdk/resources/payout_accounts"
require_relative "whop_sdk/resources/payout_methods"
require_relative "whop_sdk/resources/plans"
require_relative "whop_sdk/resources/products"
Expand Down
5 changes: 5 additions & 0 deletions lib/whop_sdk/client.rb
Original file line number Diff line number Diff line change
Expand Up @@ -233,6 +233,10 @@ class Client < WhopSDK::Internal::Transport::BaseClient
# @return [WhopSDK::Resources::ResolutionCenterCases]
attr_reader :resolution_center_cases

# Payout accounts
# @return [WhopSDK::Resources::PayoutAccounts]
attr_reader :payout_accounts

# @api private
#
# @return [Hash{String=>String}]
Expand Down Expand Up @@ -346,6 +350,7 @@ def initialize(
@dm_channels = WhopSDK::Resources::DmChannels.new(client: self)
@dispute_alerts = WhopSDK::Resources::DisputeAlerts.new(client: self)
@resolution_center_cases = WhopSDK::Resources::ResolutionCenterCases.new(client: self)
@payout_accounts = WhopSDK::Resources::PayoutAccounts.new(client: self)
end

# Verifies a Whop user token
Expand Down
8 changes: 8 additions & 0 deletions lib/whop_sdk/models.rb
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,12 @@ module WhopSDK

PaymentVoidParams = WhopSDK::Models::PaymentVoidParams

PayoutAccountCalculatedStatuses = WhopSDK::Models::PayoutAccountCalculatedStatuses

PayoutAccountRetrieveParams = WhopSDK::Models::PayoutAccountRetrieveParams

PayoutAccountStatusUpdatedWebhookEvent = WhopSDK::Models::PayoutAccountStatusUpdatedWebhookEvent

PayoutDestinationCategory = WhopSDK::Models::PayoutDestinationCategory

PayoutMethodCreatedWebhookEvent = WhopSDK::Models::PayoutMethodCreatedWebhookEvent
Expand Down Expand Up @@ -637,6 +643,8 @@ module WhopSDK

VerificationErrorCode = WhopSDK::Models::VerificationErrorCode

VerificationListParams = WhopSDK::Models::VerificationListParams

VerificationRetrieveParams = WhopSDK::Models::VerificationRetrieveParams

VerificationStatus = WhopSDK::Models::VerificationStatus
Expand Down
15 changes: 14 additions & 1 deletion lib/whop_sdk/models/ledger_account_retrieve_response.rb
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,18 @@ class PayoutAccountDetails < WhopSDK::Internal::Type::BaseModel
# @return [String, nil]
required :phone, String, nil?: true

# @!method initialize(id:, address:, business_name:, business_representative:, email:, latest_verification:, phone:)
# @!attribute status
# The granular calculated statuses reflecting payout account KYC and withdrawal
# readiness.
#
# @return [Symbol, WhopSDK::Models::PayoutAccountCalculatedStatuses, nil]
required :status, enum: -> { WhopSDK::PayoutAccountCalculatedStatuses }, nil?: true

# @!method initialize(id:, address:, business_name:, business_representative:, email:, latest_verification:, phone:, status:)
# Some parameter documentations has been truncated, see
# {WhopSDK::Models::LedgerAccountRetrieveResponse::PayoutAccountDetails} for more
# details.
#
# The payout account associated with the LedgerAccount, if any.
#
# @param id [String] The unique identifier for the payout account.
Expand All @@ -298,6 +309,8 @@ class PayoutAccountDetails < WhopSDK::Internal::Type::BaseModel
# @param latest_verification [WhopSDK::Models::LedgerAccountRetrieveResponse::PayoutAccountDetails::LatestVerification, nil] The latest verification for the connected account.
#
# @param phone [String, nil] The business representative's phone
#
# @param status [Symbol, WhopSDK::Models::PayoutAccountCalculatedStatuses, nil] The granular calculated statuses reflecting payout account KYC and withdrawal re

# @see WhopSDK::Models::LedgerAccountRetrieveResponse::PayoutAccountDetails#address
class Address < WhopSDK::Internal::Type::BaseModel
Expand Down
21 changes: 21 additions & 0 deletions lib/whop_sdk/models/payout_account_calculated_statuses.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# frozen_string_literal: true

module WhopSDK
module Models
# The granular calculated statuses reflecting payout account KYC and withdrawal
# readiness.
module PayoutAccountCalculatedStatuses
extend WhopSDK::Internal::Type::Enum

CONNECTED = :connected
DISABLED = :disabled
ACTION_REQUIRED = :action_required
PENDING_VERIFICATION = :pending_verification
VERIFICATION_FAILED = :verification_failed
NOT_STARTED = :not_started

# @!method self.values
# @return [Array<Symbol>]
end
end
end
20 changes: 20 additions & 0 deletions lib/whop_sdk/models/payout_account_retrieve_params.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# frozen_string_literal: true

module WhopSDK
module Models
# @see WhopSDK::Resources::PayoutAccounts#retrieve
class PayoutAccountRetrieveParams < WhopSDK::Internal::Type::BaseModel
extend WhopSDK::Internal::Type::RequestParameters::Converter
include WhopSDK::Internal::Type::RequestParameters

# @!attribute id
#
# @return [String]
required :id, String

# @!method initialize(id:, request_options: {})
# @param id [String]
# @param request_options [WhopSDK::RequestOptions, Hash{Symbol=>Object}]
end
end
end
Loading