from whop_sdk.types import (
AccessLevel,
AccessPassType,
App,
AppBuild,
AppBuildPlatforms,
AppBuildStatuses,
AppStatuses,
AppViewType,
AuthorizedUserRoles,
ChatChannel,
CheckoutConfiguration,
CollectionMethod,
Company,
CourseLessonInteraction,
CourseLessonInteractionListItem,
Currency,
CustomCta,
Direction,
DmsPostTypes,
EmailNotificationPreferences,
Entry,
EntryStatus,
Experience,
Forum,
ForumPost,
FriendlyReceiptStatus,
GlobalAffiliateStatus,
Invoice,
InvoiceListItem,
InvoiceStatus,
MemberMostRecentActions,
MemberStatuses,
Membership,
MembershipStatus,
Message,
PageInfo,
Payment,
Plan,
PlanType,
Product,
ProductListItem,
PromoType,
Reaction,
ReceiptStatus,
ReleaseMethod,
Shipment,
ShipmentCarrier,
ShipmentStatus,
ShipmentSubstatus,
SupportChannel,
TaxType,
Visibility,
VisibilityFilter,
WhoCanCommentTypes,
WhoCanPost,
WhoCanPostTypes,
WhoCanReact,
)Types:
from whop_sdk.types import AppType, AppListResponse, AppLogsResponseMethods:
client.apps.create(**params) -> Appclient.apps.retrieve(id) -> Appclient.apps.update(id, **params) -> Appclient.apps.list(**params) -> SyncCursorPage[AppListResponse]client.apps.logs(id, **params) -> AppLogsResponse
Types:
from whop_sdk.types import (
TaxIdentifierType,
InvoiceDeleteResponse,
InvoiceMarkPaidResponse,
InvoiceMarkUncollectibleResponse,
InvoiceVoidResponse,
)Methods:
client.invoices.create(**params) -> Invoiceclient.invoices.retrieve(id) -> Invoiceclient.invoices.update(id, **params) -> Invoiceclient.invoices.list(**params) -> SyncCursorPage[InvoiceListItem]client.invoices.delete(id) -> InvoiceDeleteResponseclient.invoices.mark_paid(id) -> InvoiceMarkPaidResponseclient.invoices.mark_uncollectible(id) -> InvoiceMarkUncollectibleResponseclient.invoices.void(id) -> InvoiceVoidResponse
Methods:
client.course_lesson_interactions.retrieve(id) -> CourseLessonInteractionclient.course_lesson_interactions.list(**params) -> SyncCursorPage[CourseLessonInteractionListItem]
Types:
from whop_sdk.types import ProductDeleteResponseMethods:
client.products.create(**params) -> Productclient.products.retrieve(id) -> Productclient.products.update(id, **params) -> Productclient.products.list(**params) -> SyncCursorPage[ProductListItem]client.products.delete(id) -> ProductDeleteResponse
Types:
from whop_sdk.types import (
SocialAccount,
SocialAccountPost,
SocialAccountDeleteResponse,
SocialAccountConnectResponse,
SocialAccountPostsResponse,
)Methods:
client.social_accounts.create(**params) -> SocialAccountclient.social_accounts.list(**params) -> SyncCursorPage[SocialAccount]client.social_accounts.delete(id, **params) -> SocialAccountDeleteResponseclient.social_accounts.connect(**params) -> SocialAccountConnectResponseclient.social_accounts.posts(id, **params) -> SocialAccountPostsResponse
Types:
from whop_sdk.types import Audience, AudienceDeleteResponseMethods:
client.audiences.create(**params) -> Audienceclient.audiences.list(**params) -> SyncCursorPage[Audience]client.audiences.delete(audience_id) -> AudienceDeleteResponse
Types:
from whop_sdk.types import MediaAssetMethods:
client.media.retrieve(id) -> MediaAssetclient.media.generate(**params) -> MediaAsset
Types:
from whop_sdk.types import PersonRetrieveResponse, PersonListResponseMethods:
client.people.retrieve(person_id, **params) -> PersonRetrieveResponseclient.people.list(**params) -> SyncCursorPage[PersonListResponse]
Types:
from whop_sdk.types import EventCreateResponse, EventListResponseMethods:
client.events.create(**params) -> EventCreateResponseclient.events.list(**params) -> SyncCursorPage[EventListResponse]
Types:
from whop_sdk.types import SocialLinkWebsites, CompanyListResponse, CompanyCreateAPIKeyResponseMethods:
client.companies.create(**params) -> Companyclient.companies.retrieve(id) -> Companyclient.companies.update(id, **params) -> Companyclient.companies.list(**params) -> SyncCursorPage[CompanyListResponse]client.companies.create_api_key(parent_company_id, **params) -> CompanyCreateAPIKeyResponse
Types:
from whop_sdk.types import (
APIVersion,
Webhook,
WebhookEvent,
WebhookCreateResponse,
WebhookListResponse,
WebhookDeleteResponse,
ChatMessageCreatedWebhookEvent,
ChatReactionCreatedWebhookEvent,
CourseLessonInteractionCompletedWebhookEvent,
DisputeCreatedWebhookEvent,
DisputeUpdatedWebhookEvent,
DisputeAlertCreatedWebhookEvent,
EntryApprovedWebhookEvent,
EntryCreatedWebhookEvent,
EntryDeletedWebhookEvent,
EntryDeniedWebhookEvent,
IdentityProfileApprovedWebhookEvent,
IdentityProfileNeedsActionWebhookEvent,
IdentityProfileRejectedWebhookEvent,
IdentityProfileUpdatedWebhookEvent,
InvoiceCreatedWebhookEvent,
InvoiceMarkedUncollectibleWebhookEvent,
InvoicePaidWebhookEvent,
InvoicePastDueWebhookEvent,
InvoiceVoidedWebhookEvent,
LedgerAccountFundsAvailableWebhookEvent,
MembershipActivatedWebhookEvent,
MembershipCancelAtPeriodEndChangedWebhookEvent,
MembershipDeactivatedWebhookEvent,
MembershipTrialEndingSoonWebhookEvent,
PaymentCreatedWebhookEvent,
PaymentFailedWebhookEvent,
PaymentPendingWebhookEvent,
PaymentSucceededWebhookEvent,
PayoutAccountStatusUpdatedWebhookEvent,
PayoutMethodCreatedWebhookEvent,
RefundCreatedWebhookEvent,
RefundUpdatedWebhookEvent,
ResolutionCenterCaseCreatedWebhookEvent,
ResolutionCenterCaseDecidedWebhookEvent,
ResolutionCenterCaseUpdatedWebhookEvent,
SetupIntentCanceledWebhookEvent,
SetupIntentRequiresActionWebhookEvent,
SetupIntentSucceededWebhookEvent,
VerificationSucceededWebhookEvent,
WithdrawalCreatedWebhookEvent,
WithdrawalUpdatedWebhookEvent,
UnwrapWebhookEvent,
)Methods:
client.webhooks.create(**params) -> WebhookCreateResponseclient.webhooks.retrieve(id) -> Webhookclient.webhooks.update(id, **params) -> Webhookclient.webhooks.list(**params) -> SyncCursorPage[WebhookListResponse]client.webhooks.delete(id) -> WebhookDeleteResponse
Types:
from whop_sdk.types import (
CheckoutFont,
CheckoutShape,
PlanListResponse,
PlanDeleteResponse,
PlanCalculateTaxResponse,
)Methods:
client.plans.create(**params) -> Planclient.plans.retrieve(id) -> Planclient.plans.update(id, **params) -> Planclient.plans.list(**params) -> SyncCursorPage[PlanListResponse]client.plans.delete(id) -> PlanDeleteResponseclient.plans.calculate_tax(id, **params) -> PlanCalculateTaxResponse
Types:
from whop_sdk.types import EntryListResponse, EntryApproveResponseMethods:
client.entries.retrieve(id) -> Entryclient.entries.list(**params) -> SyncCursorPage[EntryListResponse]client.entries.approve(id) -> EntryApproveResponseclient.entries.deny(id) -> Entry
Types:
from whop_sdk.types import ForumPostVisibilityType, ForumPostListResponseMethods:
client.forum_posts.create(**params) -> ForumPostclient.forum_posts.retrieve(id) -> ForumPostclient.forum_posts.update(id, **params) -> ForumPostclient.forum_posts.list(**params) -> SyncCursorPage[ForumPostListResponse]
Types:
from whop_sdk.types import TransferCreateResponse, TransferRetrieveResponse, TransferListResponseMethods:
client.transfers.create(**params) -> TransferCreateResponseclient.transfers.retrieve(id) -> TransferRetrieveResponseclient.transfers.list(**params) -> SyncCursorPage[TransferListResponse]
Types:
from whop_sdk.types import LedgerAccountRetrieveResponseMethods:
client.ledger_accounts.retrieve(id) -> LedgerAccountRetrieveResponse
Types:
from whop_sdk.types import CancelOptions, MembershipListResponseMethods:
client.memberships.retrieve(id) -> Membershipclient.memberships.update(id, **params) -> Membershipclient.memberships.list(**params) -> SyncCursorPage[MembershipListResponse]client.memberships.add_free_days(id, **params) -> Membershipclient.memberships.cancel(id, **params) -> Membershipclient.memberships.pause(id, **params) -> Membershipclient.memberships.resume(id) -> Membershipclient.memberships.uncancel(id) -> Membership
Types:
from whop_sdk.types import AuthorizedUser, AuthorizedUserListResponse, AuthorizedUserDeleteResponseMethods:
client.authorized_users.create(**params) -> AuthorizedUserclient.authorized_users.retrieve(id) -> AuthorizedUserclient.authorized_users.list(**params) -> SyncCursorPage[AuthorizedUserListResponse]client.authorized_users.delete(id, **params) -> AuthorizedUserDeleteResponse
Types:
from whop_sdk.types import AppBuildListResponseMethods:
client.app_builds.create(**params) -> AppBuildclient.app_builds.retrieve(id) -> AppBuildclient.app_builds.list(**params) -> SyncCursorPage[AppBuildListResponse]client.app_builds.promote(id) -> AppBuild
Types:
from whop_sdk.types import ShipmentListResponseMethods:
client.shipments.create(**params) -> Shipmentclient.shipments.retrieve(id) -> Shipmentclient.shipments.list(**params) -> SyncCursorPage[ShipmentListResponse]
Types:
from whop_sdk.types import (
CheckoutModes,
CheckoutConfigurationCreateResponse,
CheckoutConfigurationRetrieveResponse,
CheckoutConfigurationListResponse,
)Methods:
client.checkout_configurations.create(**params) -> CheckoutConfigurationCreateResponseclient.checkout_configurations.retrieve(id) -> CheckoutConfigurationRetrieveResponseclient.checkout_configurations.list(**params) -> SyncCursorPage[CheckoutConfigurationListResponse]client.checkout_configurations.delete(id) -> None
Types:
from whop_sdk.types import MessageListResponse, MessageDeleteResponseMethods:
client.messages.create(**params) -> Messageclient.messages.retrieve(id) -> Messageclient.messages.update(id, **params) -> Messageclient.messages.list(**params) -> SyncCursorPage[MessageListResponse]client.messages.delete(id) -> MessageDeleteResponse
Types:
from whop_sdk.types import ChatChannelListResponseMethods:
client.chat_channels.retrieve(id) -> ChatChannelclient.chat_channels.update(id, **params) -> ChatChannelclient.chat_channels.list(**params) -> SyncCursorPage[ChatChannelListResponse]
Types:
from whop_sdk.types import User, UserBalance, UserCheckAccessResponseMethods:
client.users.retrieve(id, **params) -> Userclient.users.update(id, **params) -> Userclient.users.list(**params) -> SyncCursorPage[User]client.users.check_access(resource_id, *, id) -> UserCheckAccessResponseclient.users.update_me(**params) -> User
Types:
from whop_sdk.types import (
BillingReasons,
CardBrands,
PaymentMethodTypes,
ReceiptTaxBehavior,
PaymentListResponse,
PaymentListFeesResponse,
)Methods:
client.payments.create(**params) -> Paymentclient.payments.retrieve(id) -> Paymentclient.payments.list(**params) -> SyncCursorPage[PaymentListResponse]client.payments.list_fees(id, **params) -> SyncCursorPage[PaymentListFeesResponse]client.payments.refund(id, **params) -> Paymentclient.payments.retry(id) -> Paymentclient.payments.void(id) -> Payment
Types:
from whop_sdk.types import SupportChannelListResponseMethods:
client.support_channels.create(**params) -> SupportChannelclient.support_channels.retrieve(id) -> SupportChannelclient.support_channels.list(**params) -> SyncCursorPage[SupportChannelListResponse]
Types:
from whop_sdk.types import ExperienceListResponse, ExperienceDeleteResponseMethods:
client.experiences.create(**params) -> Experienceclient.experiences.retrieve(id) -> Experienceclient.experiences.update(id, **params) -> Experienceclient.experiences.list(**params) -> SyncCursorPage[ExperienceListResponse]client.experiences.delete(id) -> ExperienceDeleteResponseclient.experiences.attach(id, **params) -> Experienceclient.experiences.detach(id, **params) -> Experienceclient.experiences.duplicate(id, **params) -> Experience
Types:
from whop_sdk.types import ReactionListResponse, ReactionDeleteResponseMethods:
client.reactions.create(**params) -> Reactionclient.reactions.retrieve(id) -> Reactionclient.reactions.list(**params) -> SyncCursorPage[ReactionListResponse]client.reactions.delete(id, **params) -> ReactionDeleteResponse
Types:
from whop_sdk.types import MemberRetrieveResponse, MemberListResponseMethods:
client.members.retrieve(id) -> MemberRetrieveResponseclient.members.list(**params) -> SyncCursorPage[MemberListResponse]
Types:
from whop_sdk.types import ForumListResponseMethods:
client.forums.retrieve(id) -> Forumclient.forums.update(id, **params) -> Forumclient.forums.list(**params) -> SyncCursorPage[ForumListResponse]
Types:
from whop_sdk.types import (
PromoCode,
PromoCodeStatus,
PromoDuration,
PromoCodeListResponse,
PromoCodeDeleteResponse,
)Methods:
client.promo_codes.create(**params) -> PromoCodeclient.promo_codes.retrieve(id) -> PromoCodeclient.promo_codes.list(**params) -> SyncCursorPage[PromoCodeListResponse]client.promo_codes.delete(id) -> PromoCodeDeleteResponse
Types:
from whop_sdk.types import (
Course,
CourseVisibilities,
Languages,
CourseListResponse,
CourseDeleteResponse,
)Methods:
client.courses.create(**params) -> Courseclient.courses.retrieve(id) -> Courseclient.courses.update(id, **params) -> Courseclient.courses.list(**params) -> SyncCursorPage[CourseListResponse]client.courses.delete(id) -> CourseDeleteResponse
Types:
from whop_sdk.types import CourseChapter, CourseChapterListResponse, CourseChapterDeleteResponseMethods:
client.course_chapters.create(**params) -> CourseChapterclient.course_chapters.retrieve(id) -> CourseChapterclient.course_chapters.update(id, **params) -> CourseChapterclient.course_chapters.list(**params) -> SyncCursorPage[CourseChapterListResponse]client.course_chapters.delete(id) -> CourseChapterDeleteResponse
Types:
from whop_sdk.types import (
AssessmentQuestionTypes,
EmbedType,
Lesson,
LessonTypes,
LessonVisibilities,
CourseLessonListResponse,
CourseLessonDeleteResponse,
CourseLessonMarkAsCompletedResponse,
CourseLessonStartResponse,
CourseLessonSubmitAssessmentResponse,
)Methods:
client.course_lessons.create(**params) -> Lessonclient.course_lessons.retrieve(id) -> Lessonclient.course_lessons.update(id, **params) -> Lessonclient.course_lessons.list(**params) -> SyncCursorPage[CourseLessonListResponse]client.course_lessons.delete(id) -> CourseLessonDeleteResponseclient.course_lessons.mark_as_completed(lesson_id) -> CourseLessonMarkAsCompletedResponseclient.course_lessons.start(lesson_id) -> CourseLessonStartResponseclient.course_lessons.submit_assessment(lesson_id, **params) -> CourseLessonSubmitAssessmentResponse
Types:
from whop_sdk.types import ReviewStatus, ReviewRetrieveResponse, ReviewListResponseMethods:
client.reviews.retrieve(id) -> ReviewRetrieveResponseclient.reviews.list(**params) -> SyncCursorPage[ReviewListResponse]
Types:
from whop_sdk.types import CourseStudentRetrieveResponse, CourseStudentListResponseMethods:
client.course_students.retrieve(id) -> CourseStudentRetrieveResponseclient.course_students.list(**params) -> SyncCursorPage[CourseStudentListResponse]
Types:
from whop_sdk.types import AccessTokenCreateResponseMethods:
client.access_tokens.create(**params) -> AccessTokenCreateResponse
Types:
from whop_sdk.types import NotificationCreateResponseMethods:
client.notifications.create(**params) -> NotificationCreateResponse
Types:
from whop_sdk.types import Dispute, DisputeStatuses, DisputeListResponseMethods:
client.disputes.retrieve(id) -> Disputeclient.disputes.list(**params) -> SyncCursorPage[DisputeListResponse]client.disputes.submit_evidence(id) -> Disputeclient.disputes.update_evidence(id, **params) -> Dispute
Types:
from whop_sdk.types import (
PaymentProvider,
RefundReferenceStatus,
RefundReferenceType,
RefundStatus,
RefundRetrieveResponse,
RefundListResponse,
)Methods:
client.refunds.retrieve(id) -> RefundRetrieveResponseclient.refunds.list(**params) -> SyncCursorPage[RefundListResponse]
Types:
from whop_sdk.types import (
Withdrawal,
WithdrawalFeeTypes,
WithdrawalSpeeds,
WithdrawalStatus,
WithdrawalListResponse,
)Methods:
client.withdrawals.create(**params) -> Withdrawalclient.withdrawals.retrieve(id) -> Withdrawalclient.withdrawals.list(**params) -> SyncCursorPage[WithdrawalListResponse]
Types:
from whop_sdk.types import AccountLinkCreateResponseMethods:
client.account_links.create(**params) -> AccountLinkCreateResponse
Types:
from whop_sdk.types import Account, AccountSocialLink, AccountRecommendActionsResponseMethods:
client.accounts.create(**params) -> Accountclient.accounts.retrieve(account_id) -> Accountclient.accounts.update(account_id, **params) -> Accountclient.accounts.list(**params) -> SyncCursorPage[Account]client.accounts.me() -> Accountclient.accounts.recommend_actions(account_id) -> AccountRecommendActionsResponse
Types:
from whop_sdk.types.accounts import PreferenceRetrieveResponse, PreferenceUpdateResponseMethods:
client.accounts.preferences.retrieve(account_id) -> PreferenceRetrieveResponseclient.accounts.preferences.update(account_id, **params) -> PreferenceUpdateResponse
Types:
from whop_sdk.types import FinancialActivityListResponseMethods:
client.financial_activity.list(**params) -> FinancialActivityListResponse
Types:
from whop_sdk.types import StatRetrieveResponse, StatListResponseMethods:
client.stats.retrieve(metric, **params) -> StatRetrieveResponseclient.stats.list() -> StatListResponse
Types:
from whop_sdk.types import PayoutCreateResponse, PayoutListResponseMethods:
client.payouts.create(**params) -> PayoutCreateResponseclient.payouts.list(**params) -> SyncCursorPage[PayoutListResponse]
Types:
from whop_sdk.types.payouts import MethodListResponseMethods:
client.payouts.methods.list(**params) -> SyncCursorPage[MethodListResponse]
Types:
from whop_sdk.types import ReferralReferredUsersResponseMethods:
client.referrals.referred_users(**params) -> ReferralReferredUsersResponse
Types:
from whop_sdk.types.referrals import (
BusinessRetrieveResponse,
BusinessListResponse,
BusinessLeaderboardResponse,
)Methods:
client.referrals.businesses.retrieve(id) -> BusinessRetrieveResponseclient.referrals.businesses.list(**params) -> SyncCursorPage[BusinessListResponse]client.referrals.businesses.leaderboard(**params) -> BusinessLeaderboardResponse
Types:
from whop_sdk.types.referrals.businesses import EarningListResponseMethods:
client.referrals.businesses.earnings.list(id, **params) -> SyncCursorPage[EarningListResponse]
Types:
from whop_sdk.types.referrals import PartnerCreateResponseMethods:
client.referrals.partners.create() -> PartnerCreateResponse
Types:
from whop_sdk.types import (
CardCreateResponse,
CardRetrieveResponse,
CardUpdateResponse,
CardListResponse,
)Methods:
client.cards.create(**params) -> CardCreateResponseclient.cards.retrieve(card_id, **params) -> CardRetrieveResponseclient.cards.update(card_id, **params) -> CardUpdateResponseclient.cards.list(**params) -> CardListResponse
Types:
from whop_sdk.types import (
SwapCreateResponse,
SwapRetrieveResponse,
SwapListResponse,
SwapCreateQuoteResponse,
)Methods:
client.swaps.create(**params) -> SwapCreateResponseclient.swaps.retrieve(id) -> SwapRetrieveResponseclient.swaps.list(**params) -> SwapListResponseclient.swaps.create_quote(**params) -> SwapCreateQuoteResponse
Types:
from whop_sdk.types import DepositCreateResponse, DepositListResponseMethods:
client.deposits.create(**params) -> DepositCreateResponseclient.deposits.list(**params) -> DepositListResponse
Types:
from whop_sdk.types import SetupIntent, SetupIntentStatus, SetupIntentListResponseMethods:
client.setup_intents.retrieve(id) -> SetupIntentclient.setup_intents.list(**params) -> SyncCursorPage[SetupIntentListResponse]
Types:
from whop_sdk.types import PaymentMethodRetrieveResponse, PaymentMethodListResponseMethods:
client.payment_methods.retrieve(id, **params) -> PaymentMethodRetrieveResponseclient.payment_methods.list(**params) -> SyncCursorPage[PaymentMethodListResponse]
Types:
from whop_sdk.types import (
FeeMarkupType,
FeeMarkupCreateResponse,
FeeMarkupListResponse,
FeeMarkupDeleteResponse,
)Methods:
client.fee_markups.create(**params) -> FeeMarkupCreateResponseclient.fee_markups.list(**params) -> SyncCursorPage[FeeMarkupListResponse]client.fee_markups.delete(id) -> FeeMarkupDeleteResponse
Types:
from whop_sdk.types import (
VerificationErrorCode,
VerificationStatus,
VerificationCreateResponse,
VerificationRetrieveResponse,
VerificationUpdateResponse,
VerificationListResponse,
)Methods:
client.verifications.create(**params) -> VerificationCreateResponseclient.verifications.retrieve(verification_id) -> VerificationRetrieveResponseclient.verifications.update(verification_id, **params) -> VerificationUpdateResponseclient.verifications.list(**params) -> VerificationListResponse
Types:
from whop_sdk.types import Lead, LeadListResponseMethods:
client.leads.create(**params) -> Leadclient.leads.retrieve(id) -> Leadclient.leads.update(id, **params) -> Leadclient.leads.list(**params) -> SyncCursorPage[LeadListResponse]
Types:
from whop_sdk.types import TopupCreateResponseMethods:
client.topups.create(**params) -> TopupCreateResponse
Types:
from whop_sdk.types import FileVisibility, UploadStatus, FileCreateResponse, FileRetrieveResponseMethods:
client.files.create(**params) -> FileCreateResponseclient.files.retrieve(id) -> FileRetrieveResponse
Types:
from whop_sdk.types import (
CompanyTokenTransaction,
CompanyTokenTransactionType,
CompanyTokenTransactionListResponse,
)Methods:
client.company_token_transactions.create(**params) -> CompanyTokenTransactionclient.company_token_transactions.retrieve(id) -> CompanyTokenTransactionclient.company_token_transactions.list(**params) -> SyncCursorPage[CompanyTokenTransactionListResponse]
Types:
from whop_sdk.types import (
DmFeedMemberNotificationPreferences,
DmFeedMemberStatuses,
DmMember,
DmMemberListResponse,
DmMemberDeleteResponse,
)Methods:
client.dm_members.create(**params) -> DmMemberclient.dm_members.retrieve(id) -> DmMemberclient.dm_members.update(id, **params) -> DmMemberclient.dm_members.list(**params) -> SyncCursorPage[DmMemberListResponse]client.dm_members.delete(id) -> DmMemberDeleteResponse
Types:
from whop_sdk.types import AIChat, NotificationPreferences, AIChatListResponse, AIChatDeleteResponseMethods:
client.ai_chats.create(**params) -> AIChatclient.ai_chats.retrieve(id) -> AIChatclient.ai_chats.update(id, **params) -> AIChatclient.ai_chats.list(**params) -> SyncCursorPage[AIChatListResponse]client.ai_chats.delete(id) -> AIChatDeleteResponse
Types:
from whop_sdk.types import DmChannel, DmChannelListResponse, DmChannelDeleteResponseMethods:
client.dm_channels.create(**params) -> DmChannelclient.dm_channels.retrieve(id) -> DmChannelclient.dm_channels.update(id, **params) -> DmChannelclient.dm_channels.list(**params) -> SyncCursorPage[DmChannelListResponse]client.dm_channels.delete(id) -> DmChannelDeleteResponse
Types:
from whop_sdk.types import DisputeAlertType, DisputeAlertRetrieveResponse, DisputeAlertListResponseMethods:
client.dispute_alerts.retrieve(id) -> DisputeAlertRetrieveResponseclient.dispute_alerts.list(**params) -> SyncCursorPage[DisputeAlertListResponse]
Types:
from whop_sdk.types import (
ResolutionCenterCaseCustomerResponse,
ResolutionCenterCaseIssueType,
ResolutionCenterCaseMerchantResponse,
ResolutionCenterCasePlatformResponse,
ResolutionCenterCaseStatus,
ResolutionCenterCaseRetrieveResponse,
ResolutionCenterCaseListResponse,
)Methods:
client.resolution_center_cases.retrieve(id) -> ResolutionCenterCaseRetrieveResponseclient.resolution_center_cases.list(**params) -> SyncCursorPage[ResolutionCenterCaseListResponse]
Types:
from whop_sdk.types import PayoutAccountCalculatedStatuses, PayoutAccountRetrieveResponseMethods:
client.payout_accounts.retrieve(id) -> PayoutAccountRetrieveResponse
Types:
from whop_sdk.types import (
Affiliate,
Status,
AffiliateListResponse,
AffiliateArchiveResponse,
AffiliateUnarchiveResponse,
)Methods:
client.affiliates.create(**params) -> Affiliateclient.affiliates.retrieve(id) -> Affiliateclient.affiliates.list(**params) -> SyncCursorPage[AffiliateListResponse]client.affiliates.archive(id) -> AffiliateArchiveResponseclient.affiliates.unarchive(id) -> AffiliateUnarchiveResponse
Types:
from whop_sdk.types.affiliates import (
AffiliateAppliesToPayments,
AffiliateAppliesToProducts,
AffiliateOverrideRoles,
AffiliatePayoutTypes,
AffiliateRevenueBases,
OverrideCreateResponse,
OverrideRetrieveResponse,
OverrideUpdateResponse,
OverrideListResponse,
OverrideDeleteResponse,
)Methods:
client.affiliates.overrides.create(path_id, **params) -> OverrideCreateResponseclient.affiliates.overrides.retrieve(override_id, *, id) -> OverrideRetrieveResponseclient.affiliates.overrides.update(override_id, *, id, **params) -> OverrideUpdateResponseclient.affiliates.overrides.list(id, **params) -> SyncCursorPage[OverrideListResponse]client.affiliates.overrides.delete(override_id, *, id) -> OverrideDeleteResponse
Types:
from whop_sdk.types import BountyCreateResponse, BountyRetrieveResponse, BountyListResponseMethods:
client.bounties.create(**params) -> BountyCreateResponseclient.bounties.retrieve(id) -> BountyRetrieveResponseclient.bounties.list(**params) -> SyncCursorPage[BountyListResponse]
Types:
from whop_sdk.types.workforce import WorkforceBounty, WorkforceBountyListItemMethods:
client.workforce.bounties.retrieve(id) -> WorkforceBountyclient.workforce.bounties.list(**params) -> SyncCursorPage[WorkforceBountyListItem]
Types:
from whop_sdk.types import AdCampaign, AdCampaignDeleteResponseMethods:
client.ad_campaigns.create(**params) -> AdCampaignclient.ad_campaigns.retrieve(id, **params) -> AdCampaignclient.ad_campaigns.update(id, **params) -> AdCampaignclient.ad_campaigns.list(**params) -> SyncCursorPage[AdCampaign]client.ad_campaigns.delete(id) -> AdCampaignDeleteResponseclient.ad_campaigns.pause(id) -> AdCampaignclient.ad_campaigns.unpause(id) -> AdCampaign
Types:
from whop_sdk.types import AdGroup, AdGroupDeleteResponseMethods:
client.ad_groups.create(**params) -> AdGroupclient.ad_groups.retrieve(id, **params) -> AdGroupclient.ad_groups.update(id, **params) -> AdGroupclient.ad_groups.list(**params) -> SyncCursorPage[AdGroup]client.ad_groups.delete(id) -> AdGroupDeleteResponseclient.ad_groups.pause(id) -> AdGroupclient.ad_groups.unpause(id) -> AdGroup
Types:
from whop_sdk.types import Ad, AdDeleteResponseMethods:
client.ads.create(**params) -> Adclient.ads.retrieve(id, **params) -> Adclient.ads.update(id, **params) -> Adclient.ads.list(**params) -> SyncCursorPage[Ad]client.ads.delete(id) -> AdDeleteResponseclient.ads.pause(id) -> Adclient.ads.unpause(id) -> Ad
Types:
from whop_sdk.types import Granularities, ResultLabelKeys, AdReportRetrieveResponseMethods:
client.ad_reports.retrieve(**params) -> AdReportRetrieveResponse