Module entities

Source
Expand description

Contains all Paddle entity types.

Structs§

Address
Represents an address entity.
AddressPreview
Represents an address entity when previewing addresses.
Adjustment
Represents an adjustment entity.
AdjustmentCreate
Represents an adjustment entity when creating adjustments.
AdjustmentItem
AdjustmentItemInput
AdjustmentItemTotals
Breakdown of the total for an adjustment item.
AdjustmentPayoutTotals
Breakdown of how this adjustment affects your payout balance.
AdjustmentPreview
Represents an adjustment entity when previewing adjustments.
AdjustmentTaxRateUsed
AdjustmentTaxRateUsedTotals
Calculated totals for the tax applied to this adjustment.
AdjustmentTotals
Breakdown of the total for an adjustment.
ApiKey
ApiKey entity
BillingDetails
Details for invoicing. Required if collection_mode is manual.
BillingDetailsUpdate
Details for invoicing. Required if collection_mode is manual.
Business
Represents a business entity.
Card
Card metadata
ChargebackFee
Chargeback fees incurred for this adjustment. Only returned when the adjustment action is chargeback or chargeback_warning.
Contact
CreditBalance
Represents a credit balance for a customer.
Customer
Represents a customer entity.
CustomerAuthenticationToken
Represents a customer authentication token.
CustomerBalance
CustomerPortalSession
Represents a customer portal session.
CustomerPortalSessionGeneralUrls
Authenticated customer portal deep links that aren’t associated with a specific entity.
CustomerPortalSessionSubscriptionUrls
CustomerPortalSessionUrls
Authenticated customer portal deep links. For security, the token appended to each link is temporary. You shouldn’t store these links.
Discount
Represents a discount entity.
Duration
Error
Represents an error.
Errors
Event
Represents an event entity.
EventType
Represents an event type.
ImportMeta
Import information for this entity. null if this entity is not imported.
Meta
Information about this response.
MetaPaginated
Information about this response.
MethodDetails
Information about the payment method used for a payment attempt.
Money
A base representation of monetary value unformatted in the lowest denomination with currency code.
NextTransaction
Preview of the next transaction for this subscription. May include prorated charges that aren’t yet billed and one-time charges. null if the subscription is scheduled to cancel or pause.
Notification
Represents a notification entity.
NotificationLog
Represents a notification log entity.
NotificationPayload
Notification payload. Includes the new or changed event.
NotificationSetting
Represents a notification destination.
NotificationSettingCreate
Represents a notification destination when creating notification destinations.
NotificationSettingUpdate
Represents a notification destination when updating notification destinations.
Original
Chargeback fee before conversion to the payout currency. null when the chargeback fee is the same as the payout currency.
Pagination
Keys used for working with paginated results.
PayPal
PayPal metadata
PaymentMethod
Represents a customer payment method entity.
Payout
Payout entity received from a payout event
Price
Represents a price entity.
PricePreview
Represents a price preview entity.
PricePreviewBase
PricePreviewDetails
Calculated totals for a price preview, including discounts, tax, and currency conversion.
PricePreviewDiscounts
Array of discounts applied to this preview line item. Empty if no discounts applied.
PricePreviewItem
PricePreviewLineItem
Information about line items for this preview. Includes totals calculated by Paddle. Considered the source of truth for line item totals.
PriceQuantity
PricingPreview
Represents an entity for previewing prices.
Product
Represents a product entity.
ProductPreview
Represents a product (preview) entity.
Proration
How proration was calculated for this item. Populated when a transaction is created from a subscription change, where proration_billing_mode was prorated_immediately or prorated_next_billing_period. Set automatically by Paddle.
ReportBase
Represents a report entity.
ReportFilter
SimulationEvent
Represents a simulation event.
SimulationEventRequest
Information about the request. Sent by Paddle as part of the simulation.
SimulationEventResponse
Information about the response. Sent by the responding server for the notification setting.
SimulationRunScenario
Represents a simulation run entity for a scenario.
SimulationRunSingleEvent
Represents a simulation run entity for a single event.
SimulationScenario
Represents a simulation entity for a scenario.
SimulationScenarioCreate
Represents a simulation entity for a scenario when creating.
SimulationScenarioUpdate
Represents a simulation entity for a scenario when updating.
SimulationSingleEventCreate
Represents a simulation entity for a single event when creating.
SimulationSingleEventUpdate
Represents a simulation entity for a single event when updating.
SimulationType
Represents a simulation type.
Subscription
Represents a subscription entity.
SubscriptionCharge
Represents a one-time charge for a subscription.
SubscriptionChargeCreateWithPrice
SubscriptionChargeCreateWithPriceAndProduct
Price object for a non-catalog item to charge for. Include a product object to create a non-catalog product for this non-catalog price.
SubscriptionChargeCreateWithPricePrice
Price object for a non-catalog item to bill for. Include a product_id to relate this non-catalog price to an existing catalog price.
SubscriptionDiscountEffectiveFrom
Details of the discount applied to this subscription. Include to add a discount to a subscription. null to remove a discount.
SubscriptionDiscountTimePeriod
Details of the discount applied to this subscription.
SubscriptionItem
Represents a subscription item.
SubscriptionItemCreateWithPrice
SubscriptionItemCreateWithPriceId
SubscriptionManagementUrls
Authenticated customer portal deep links for this subscription. For security, the token appended to each link is temporary. You shouldn’t store these links.
SubscriptionPreview
Represents a subscription preview when previewing a subscription.
SubscriptionPreviewUpdateSummary
Impact of this subscription change. Includes whether the change results in a charge or credit, and totals for prorated amounts.
SubscriptionScheduledChange
Change that’s scheduled to be applied to a subscription. Use the pause subscription, cancel subscription, and resume subscription operations to create scheduled changes. null if no scheduled changes.
SubscriptionTransactionDetailsPreview
Calculated totals for a transaction preview, including discounts, tax, and currency conversion. Considered the source of truth for totals on a transaction preview.
SubscriptionTransactionDetailsPreviewItem
SubscriptionTransactionDetailsPreview requires same fields as TransactionLineItemPreview but proration is optional
SubscriptionUpdate
Represents a subscription entity when updating subscriptions.
SubscriptionUpdateItem
TaxRatesUsed
TimePeriod
Totals
Breakdown of a charge in the lowest denomination of a currency (e.g. cents for USD).
TotalsWithoutDiscount
Breakdown of a charge in the lowest denomination of a currency (e.g. cents for USD).
Transaction
Represents a transaction entity.
TransactionCheckout
Paddle Checkout details for this transaction. Returned for automatically-collected transactions and where billing_details.enable_checkout is true for manually-collected transactions; null otherwise.
TransactionCreate
Represents a transaction entity when creating transactions.
TransactionDetails
Calculated totals for a transaction, including proration, discounts, tax, and currency conversion. Considered the source of truth for totals on a transaction.
TransactionDetailsPreview
Calculated totals for a transaction preview, including discounts, tax, and currency conversion. Considered the source of truth for totals on a transaction preview.
TransactionInvoice
Contains an invoice PDF url for a transaction.
TransactionItem
TransactionItemCreateBase
TransactionItemNonCatalogPrice
Price object for a non-catalog item to charge for.
TransactionItemPreviewBase
TransactionLineItem
Information about line items for this transaction. Different from transaction items as they include totals calculated by Paddle. Considered the source of truth for line item totals.
TransactionLineItemPreview
Information about line items for this transaction preview. Different from transaction preview items as they include totals calculated by Paddle. Considered the source of truth for line item totals.
TransactionLineItemWithId
Information about line items for this transaction. Different from transaction items as they include totals calculated by Paddle. Considered the source of truth for line item totals.
TransactionPaymentAttempt
TransactionPayoutTotals
Breakdown of the payout total for a transaction. null until the transaction is completed. Returned in your payout currency.
TransactionPayoutTotalsAdjusted
Breakdown of the payout total for a transaction after adjustments. null until the transaction is completed.
TransactionPreview
Represents a transaction entity when previewing transactions.
TransactionPreviewCreate
Represents a transaction entity when previewing.
TransactionPriceCreateBase
Represents a price entity.
TransactionPriceCreateWithProductId
TransactionRevise
Represents a customer information revision for a transaction.
TransactionSubscriptionProductCreate
TransactionTotals
Breakdown of the total for a transaction. These numbers can be negative when dealing with subscription updates that result in credit.
TransactionTotalsAdjusted
Breakdown of the totals for a transaction after adjustments.
TransactionUpdate
Represents a transaction entity when updating transactions.
UnitPriceOverride
UpdateSummaryResult
Details of the result of credits and charges. Where the total of any credit adjustments is greater than the total charge, the result is a prorated credit; otherwise, the result is a prorated charge.
ValidationError

Enums§

ReportFilterValue
SubscriptionChargeItem