[iOS]How to check Auto-Renewable Subscription buyed(active) now?

I want to use iap.restorePurchases(), and when user cancelled subscription, restore array contain this subscription or may be change state

{"productId":"testsub","date":"2018-03-01T23:31:37Z","transactionId":"1000000379950952","state":3}

? I want do it without own server, it possible?