> Portal Navigation:
> 
> - Append `.md` to any URL under `https://dev.wix.com/docs/` to get its markdown version.
> - Pages are either content pages (article or reference text) or menu pages (a list of links to child pages).
> - To get a menu page, truncate any URL to a parent path and append `.md` (e.g. `https://dev.wix.com/docs/sdk.md`, `https://dev.wix.com/docs/sdk/core-modules.md`).
> - Top-level index of all portals: https://dev.wix.com/docs/llms.txt
> - Full concatenated docs: https://dev.wix.com/docs/llms-full.txt

# Resource: Premium Asset V2

# Type: Premium Asset Object

# Link: https://dev.wix.com/docs/api-reference/account-level/premium/premium-platform/core-services/premium-asset-v2/premium-asset-object.md

## Description: An asset is a materialized view of a Premium subscription and the related
product. The product may be saved in the Premium Product Catalog.

## Schema:

```json
 Type: Premium Asset Object | type: PremiumAsset
 Description: An asset is a materialized view of a Premium subscription and the related
product. The product may be saved in the Premium Product Catalog.
       - name: createdDate  | type: string | description: Date and time the asset was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
           - name: seconds  | type: string | description: 
           - name: nanos  | type: number | description: 
       - name: updatedDate  | type: string | description: Date and time the asset was last updated in `YYYY-MM-DDThh:mm:ss.sssZ` format.
       - name: premiumId  | type: string | description: Premium ID of the asset. Available for all product types.  + For subscriptions identical to the ID of the subscription. + For domains identical to the [registration ID](https://dev.wix.com/docs/rest/business-management/domain-registrar/registar/registration-object.md). + For digital goods identical to the ID of the digital goods package. + For mailboxes identical to the Google mailbox GUID.
       - name: sourceEntityCreatedDate  | type: string | description: Date and time the source entity was created in `YYYY-MM-DDThh:mm:ss.sssZ` format.
       - name: sourceEntityOriginalCreationDate  | type: string | description: Date and time the original source entity was created in `YYYY-MM-DDThh:mm:ss.sssZ` format. Differs from `source_entity_created_date` when the subscription was created by transfer, and is equal when created by purchase.
       - name: siteData  | type: SiteData | description: Information about the site to which the asset is connected to.
           - name: metasiteId  | type: string | description: ID of the metassite that the asset belongs to.
           - name: siteName  | type: string | description: Human-readable display name of the Wix site that the asset belongs to.
       - name: accountOwnerId  | type: string | description: ID of the Wix account that owns the asset. Can be a workspace ID or an account ID.
       - name: billingReference  | type: BillingReference | description: Information about the asset's billing provider.
           - name: providerName  | type: string | description: Name of the billing system that manages the subscription.
               enum: UNKNOWN_BILLING_PROVIDER, SBS, LICENSER, BASS, RESELLER, RECURRING_INVOICES
           - name: providerReferenceId  | type: string | description: Current provider reference ID.
       - name: status  | type: string | description: Status of the asset.
           enum: UNKNOWN_STATUS, ACTIVE, NOT_ACTIVE, TRANSFERRED, PENDING
       - name: deliveryComplete  | type: boolean | description: Whether the asset is actually available to the owner. Relevant only for domains with status `"ACTIVE"`.
       - name: renewalType  | type: string | description: Information about whether the asset renews at the end of the current billing cycle.
           enum: UNKNOWN_RENEWAL_TYPE, AUTO_RENEW_ON, AUTO_RENEW_OFF, MANUAL
       - name: billingCycle  | type: Cycle | description: Information about the asset's billing cycle.
           - name: cycleType  | type: string | description: Payment type. + `UNKNOWN`: The payment type hasn't been set. + `ONE_TIME`: The reseller pays Wix in a single payment. + `RECURRING`: The reseller pays Wix on a recurring schedule.
               enum: ONE_TIME, RECURRING
           - name: cycleDuration  | type: Duration | description: Duration of the billing cycle. Available only for `RECURRING` payments.
               - name: unit  | type: string | description: Unit of the billing cycle.
               - name: count  | type: number | description: Count of units that make up the billing cycle.
       - name: subscriptionEndDate  | type: string | description: Date and time the asset expires in `YYYY-MM-DDThh:mm:ss.sssZ` format. Available only for `{"renewalType": "AUTO_RENEW_OFF"}`.
       - name: pendingChanges  | type: ServicePendingChanges | description: Information about changes to the asset that are still pending. Available only for `{"status": "PENDING"}`.
           - name: billingCycle  | type: Cycle | description: Information about the billing cycle.
           - name: productId  | type: string | description: ID of the product that's not yet available to the customer.
               - name: value  | type: string | description: 
           - name: product  | type: ProductData | description: The product that will be change to at the end of period. Only id and name are populated
               - name: productId  | type: string | description: Product ID of the asset as defined in the product catalog.
               - name: productFamilyId  | type: string | description: Product family ID of the asset as defined in the product catalog.
               - name: productTypeId  | type: string | description: Product type ID of the asset as defined in the product catalog.
               - name: productTypeName  | type: string | description: Name of the product type as defined in the product catalog.
               - name: productName  | type: string | description: Name of the product as defined in the product catalog.  Returned as an empty string for domains, business email, and digital goods. For those assets, use `domainsData.domain`, `mailboxesData.domainName`, or `digitalGoodsData.digitalGoodsType` instead.
               - name: productContext  | type: string | description: Whether the assets belongs to a Wix account or site. Account level assets can't be assigned to a site. Each account may only own a single asset for each product. Site level assets can be assigned to a site or exist floating (assigned to an account but not to a site). Each site may only own a single asset for each product.
       - name: productData  | type: ProductData | description: Information about the Premium entity related to the asset. Available for all assets.
       - name: wixBillingDetails  | type: BillingDetails | description: Information about the asset's billing.
           - name: paymentMethod  | type: PaymentMethod | description: Information about the payment method.
               - name: paymentMethodType  | type: string | description: Information about the payment method.
               - name: paymentMethodSubType  | type: string | description: Subtype of the payment method.
               - name: paymentBrand  | type: string | description: The brand of the payment method
               - name: displayLabel  | type: string | description: Human-readable description. Relevant for credit cards.
               - name: paymentSourceId  | type: string | description: ID of the payment source.
               - name: billingAccountOwner  | type: string | description: ID of the owner of the payment method.
           - name: lastInvoiceDetails  | type: InvoiceDetails | description: Details about the last invoice. Identical to `last_successful_invoice_details` in case the `paymentStatus` of the last invoice is `"PAID"` or `"REFUNDED"`.
               - name: invoiceId  | type: string | description: ID of the invoice.
               - name: date  | type: string | description: Date of the invoice in `YYYY-MM-DDThh:mm:ss.sssZ` format.
               - name: currencyCode  | type: string | description: 3-letter currency code in [ISO-4217 alphabetic](https://en.wikipedia.org/wiki/ISO_4217#Active_codes) format.
               - name: amount  | type: string | description: Amount the customer was charged, as a string.  The representation isn't guaranteed to be consistent across billing providers: some report the amount in the currency's minor units, for example `950` for 9.50, and others report a decimal value, for example `9.50`. Read `billingReference.providerName` to see which billing provider an asset comes from, and don't assume a single format across assets.
               - name: paymentStatus  | type: string | description: Status of the payment.
           - name: nextInvoiceDetails  | type: NextInvoiceDetails | description: Details about the next invoice. Doesn't include information about the price and currency, since those values may change before the next invoice is sent. If needed, you can retrieve this information directly from the relevant billing system.
               - name: date  | type: string | description: Next billing date in `YYYY-MM-DDThh:mm:ss.sssZ` format.
           - name: lastSuccessfulInvoiceDetails  | type: InvoiceDetails | description: Details about the last succesful invoice. Identical to `last_invoice_details` in case the `paymentStatus` of the last invoice is `"PAID"` or `"REFUNDED"`.
           - name: customCharges  | type: boolean | description: Whether the invoice is sent on behalf of a non-Wix app, with the app provider using the Custom Charges SPI.
       - name: moneyBackPeriodEndDate  | type: string | description: End date and time of the refund period in `YYYY-MM-DDThh:mm:ss.sssZ` format. Available only for products that support a money back policy.
       - name: freeTrialData  | type: FreeTrialData | description: Information about the asset's free trial or deferred billing state. Populated when the asset was purchased with a free trial, and also while billing is deferred pending an external activation. Remains populated after a trial ends, with `inFreeTrialPeriod` set to `false`.
           - name: endDate  | type: string | description: date when the free trial ends
           - name: inFreeTrialPeriod  | type: boolean | description: Whether the asset is currently within its free trial period. Also `true` when billing is deferred pending external activation (`pendingExternalActivation` is `true`). Use `pendingExternalActivation` to distinguish a free trial from a deferred-billing hold.
           - name: pendingExternalActivation  | type: boolean | description: Whether billing for the asset is on hold pending activation by an external party. While this is `true` the customer isn't charged, and the asset only starts billing once the external activation completes.
       - name: seats  | type: number | description: Number of seats/licenses for the subscription. Null means the asset doesn't support seats.
           - name: value  | type: number | description: 

```