We are implementing the subscription using in-app purchase in android, We are getting the purchase timestamp like the below format
\'{
\"orderId\":\"GPA.1234
I tried with this API "https://www.googleapis.com/androidpublisher/v2/applications/" + AppController.getInstance().getPackageName() + "/purchases/subscriptions/" + mSubscriptionId + "/" + "tokens/" + mPurchaseToken;
with proper valid data but I found this error :
**{
"error": {
"errors": [
{
"domain": "androidpublisher",
"reason": "permissionDenied",
"message": "The current user has insufficient permissions to perform the requested operation."
}
],
"code": 401,
"message": "The current user has insufficient permissions to perform the requested operation."
}
}**
Please tell me if any solutions . I follow all steps and get all done with play console and google cloud console account.