Method: purchases.products.get
একটি ইনঅ্যাপ আইটেমের ক্রয় এবং ব্যবহার স্থিতি পরীক্ষা করে।
HTTP অনুরোধ
GET https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/purchases/products/{productId}/tokens/{token}
URL gRPC ট্রান্সকোডিং সিনট্যাক্স ব্যবহার করে।
পাথ প্যারামিটার
পরামিতি |
---|
package Name | string অ্যাপ্লিকেশনটির প্যাকেজের নাম যেটিতে অ্যাপ পণ্যটি বিক্রি হয়েছিল (উদাহরণস্বরূপ, 'com.some.thing')। |
product Id | string ইনঅ্যাপ পণ্য SKU (উদাহরণস্বরূপ, 'com.some.thing.inapp1')। |
token | string ইনঅ্যাপ পণ্য কেনার সময় ব্যবহারকারীর ডিভাইসে দেওয়া টোকেন। |
শরীরের অনুরোধ
অনুরোধের বডি খালি হতে হবে।
প্রতিক্রিয়া শরীর
সফল হলে, প্রতিক্রিয়া বডিতে ProductPurchase
একটি উদাহরণ থাকে।
অনুমোদনের সুযোগ
নিম্নলিখিত OAuth সুযোগ প্রয়োজন:
-
https://www.googleapis.com/auth/androidpublisher
অন্য কিছু উল্লেখ না করা থাকলে, এই পৃষ্ঠার কন্টেন্ট Creative Commons Attribution 4.0 License-এর অধীনে এবং কোডের নমুনাগুলি Apache 2.0 License-এর অধীনে লাইসেন্স প্রাপ্ত। আরও জানতে, Google Developers সাইট নীতি দেখুন। Java হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2024-12-18 UTC-তে শেষবার আপডেট করা হয়েছে।
[null,null,["2024-12-18 UTC-তে শেষবার আপডেট করা হয়েছে।"],[[["This operation checks the purchase and consumption status of an in-app product."],["It requires an HTTP GET request to a specific URL with the package name, product ID, and purchase token."],["The request body must be empty, and the response provides details about the product purchase."],["This functionality requires authorization with the `https://www.googleapis.com/auth/androidpublisher` scope."]]],["This document outlines the process to check the status of an in-app purchase. It uses a `GET` HTTP request to a specific URL, structured with `packageName`, `productId`, and `token` as path parameters. The request body must be empty. A successful request returns a `ProductPurchase` instance in the response body. The operation requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization. It includes instructions to obtain a purchase status.\n"]]