Subscription status api call - Query related to JWS token

Hello I'm trying to implement the storekit api https://api.storekit.itunes.apple.com/inApps/v1/subscriptions/%7BoriginalTransactionId%7D there for the JWT token is there any way we can retrieve the JWS directly in the decoded format without having to use an external library to get the token or decode it back?

If you are asking about directly accessing either the header or the payload of the JWT, which are separated by periods, they are just base64url encoded, so you could base64url decode them directly.

See https://jwt.io/introduction for more information about the structure of JWTs

Thanks for the response, is there any way to get the JWS within the iOS app using StoreKit methods?

Subscription status api call - Query related to JWS token
 
 
Q