You can obtain the details of subscription purchase using
Google Play Developer API
"kind": string,
"startTimeMillis": string,
"expiryTimeMillis": string,
"autoResumeTimeMillis": string,
"autoRenewing": boolean,
"priceCurrencyCode": string,
"priceAmountMicros": string,
"introductoryPriceInfo": {
object (IntroductoryPriceInfo)
},
"countryCode": string,
"developerPayload": string,
"paymentState": integer,
"cancelReason": integer,
"userCancellationTimeMillis": string,
...
where field cancelReason
defines the details of cancelation. Possible values are:
-
- User canceled the subscription
-
- Subscription was canceled by the system, for example because of a billing problem
-
- Subscription was replaced with a new subscription
-
- Subscription was canceled by the developer