import type * as Whop from "../index.mjs"; export interface PaymentFee { /** The fee in the currency it was collected in. */ amount: Whop.Money; /** When the fee was collected, as an ISO 8601 timestamp, or null when it has not been. */ collected_at: string | null; /** A longer explanation of the fee, when there is one. */ description: string | null; /** The name the dashboard shows for this fee. */ label: string; /** The specific fee this line is, such as `payment_processing_percentage_fee` or `revshare_percentage_fee`. */ origin: PaymentFee.Origin; /** The fee converted to the payment's settlement currency, so lines can be totalled against the payment. */ settlement_amount: Whop.Money; /** The family the fee belongs to: `whop_fee`, `processing_fee`, `affiliate_program_fee`, or `other_fee`. */ type: PaymentFee.Type; } export declare namespace PaymentFee { /** The specific fee this line is, such as `payment_processing_percentage_fee` or `revshare_percentage_fee`. */ const Origin: { readonly StripeDomesticProcessingFee: "stripe_domestic_processing_fee"; readonly StripeInternationalProcessingFee: "stripe_international_processing_fee"; readonly StripeFixedProcessingFee: "stripe_fixed_processing_fee"; readonly StripeBillingFee: "stripe_billing_fee"; readonly StripeRadarFee: "stripe_radar_fee"; readonly SalesTaxRemittance: "sales_tax_remittance"; readonly SalesTaxRemittanceReversal: "sales_tax_remittance_reversal"; readonly StripeSalesTaxFee: "stripe_sales_tax_fee"; readonly WhopProcessingFee: "whop_processing_fee"; readonly MarketplaceAffiliateFee: "marketplace_affiliate_fee"; readonly AffiliateFee: "affiliate_fee"; readonly CryptoFee: "crypto_fee"; readonly StripeStandardProcessingFee: "stripe_standard_processing_fee"; readonly PaypalFee: "paypal_fee"; readonly StripePayoutFee: "stripe_payout_fee"; readonly DisputeFee: "dispute_fee"; readonly DisputeAlertFee: "dispute_alert_fee"; readonly DisputeRepresentmentFee: "dispute_representment_fee"; readonly AppleProcessingFee: "apple_processing_fee"; readonly BuyerFee: "buyer_fee"; readonly SezzleProcessingFee: "sezzle_processing_fee"; readonly SplititProcessingFee: "splitit_processing_fee"; readonly PlatformBalanceProcessingFee: "platform_balance_processing_fee"; readonly PaymentProcessingPercentageFee: "payment_processing_percentage_fee"; readonly PaymentProcessingFixedFee: "payment_processing_fixed_fee"; readonly CrossBorderPercentageFee: "cross_border_percentage_fee"; readonly FxPercentageFee: "fx_percentage_fee"; readonly OrchestrationPercentageFee: "orchestration_percentage_fee"; readonly ThreeDsFixedFee: "three_ds_fixed_fee"; readonly BillingPercentageFee: "billing_percentage_fee"; readonly RevsharePercentageFee: "revshare_percentage_fee"; readonly ApplicationFee: "application_fee"; readonly HighRiskMerchantFee: "high_risk_merchant_fee"; readonly EconomicIntelligencePercentageFee: "economic_intelligence_percentage_fee"; readonly PaymentReturnFee: "payment_return_fee"; }; type Origin = (typeof Origin)[keyof typeof Origin]; /** The family the fee belongs to: `whop_fee`, `processing_fee`, `affiliate_program_fee`, or `other_fee`. */ const Type: { readonly WhopFee: "whop_fee"; readonly ProcessingFee: "processing_fee"; readonly AffiliateProgramFee: "affiliate_program_fee"; readonly OtherFee: "other_fee"; }; type Type = (typeof Type)[keyof typeof Type]; }