Search code examples
androidgoogle-apiin-app-purchasein-app-billinggoogle-play-console

When I try verify test purchase product - got error 410 ? Purchase.product get


I’m trying to verify test product purchase on server side but something is going wrong. I created service account with role (viewer) and added financial permissions, Linked app, On server side got acces token to be able to consume API. Make request according to documentation https://developers.google.com/android-publisher/api-ref/purchases/products/get#request-body

with such url

/androidpublisher/v2/applications/{package_name}/purchases/products/{product_id}/tokens/{purchase_token}

and got error 410 I'll be much appreciate if somebody could help.


Solution

  • Are you sure you can still use the v2 api? The link that you included has v3 in url.