> ## Documentation Index
> Fetch the complete documentation index at: https://devdocs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# XStoreSubscriptionInfo

> XStoreSubscriptionInfo

# XStoreSubscriptionInfo

Contains information on a subscription.

## Syntax

```cpp theme={null}
typedef struct XStoreSubscriptionInfo {  
    bool hasTrialPeriod;  
    XStoreDurationUnit trialPeriodUnit;  
    uint32_t trialPeriod;  
    XStoreDurationUnit billingPeriodUnit;  
    uint32_t billingPeriod;  
} XStoreSubscriptionInfo  
```

### Members

*hasTrialPeriod*\
Type: bool

Indicates whether the subscription has a trial period.

*trialPeriodUnit*\
Type: [XStoreDurationUnit](/reference/system/xstore/enums/xstoredurationunit)

The trial period unit type.

*trialPeriod*\
Type: uint32\_t

The trial length period.

*billingPeriodUnit*\
Type: [XStoreDurationUnit](/reference/system/xstore/enums/xstoredurationunit)

The billing period unit type.

*billingPeriod*\
Type: uint32\_t

The billing period for the subscription.

## Remarks

Subscriptions are created and configured in Partner Center. Each subscription type offered for your game requires a separate subscription configuration.
**XStoreSubscriptionInfo** is a member of the [XStoreSku](/reference/system/xstore/structs/xstoresku) struct.

## Requirements

**Header:** XStore.h (included in XGameRuntime.h)

**Supported platforms:** Windows, XBOX One family consoles and XBOX Series consoles

## See also

[XStore](/reference/system/xstore/xstore_members)\
[XStoreSku](/reference/system/xstore/structs/xstoresku)


## Related topics

- [XStoreDurationUnit](/reference/system/xstore/enums/xstoredurationunit.md)
- [XStore](/reference/system/xstore/xstore_members.md)
- [XStoreSku](/reference/system/xstore/structs/xstoresku.md)
- [Subscriptions](/services/playfab/api-references/events/data-types/subscriptions.md)
- [Managing subscription products from your service](/publishing/xstore-commerce/xstore-managing-subscriptions.md)
