OBJECT

SubscriptionPurchaseDetails

The receipt details for a subscription purchase.

link GraphQL Schema definition

1type SubscriptionPurchaseDetails {
2
3# Date the purchase was cancelled at, if applicable, else null.
4cancelledAt: Time
5
6# Currency for the price, e.g. "USD".
7currency: String!
8
9# Divisor for the price based on the currency. e.g. Divisor for USD is 100.
10divisor: Int!
11
12# Purchase's payment provider.
13paymentProvider: PaymentProvider!
14
15# Price in smallest subunit of currency, e.g. "499" cents.
16price: Int!
17
18# The tier of the subscription purchase product.
19productTier: String
20
21# The type of subscription purchase.
22productType: SubscriptionProductType!
23
24# Purchase state.
25state: SubscriptionPurchaseState!
26
27}