Method: purchases.subscriptions.acknowledge
HTTP リクエスト
POST https://androidpublisher.googleapis.com/androidpublisher/v3/applications/{packageName}/purchases/subscriptions/{subscriptionId}/tokens/{token}:acknowledge
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
packageName |
string
この定期購入が購入されたアプリのパッケージ名(例: 「com.some.thing」)。
|
subscriptionId |
string
購入した定期購入の ID(例: 「monthly001」)。
|
token |
string
定期購入の購入時にユーザーのデバイスに提供されたトークン。
|
リクエスト本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"developerPayload": string
} |
フィールド |
developerPayload |
string
購入にアタッチされているペイロード。
|
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/androidpublisher
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-12-17 UTC。
[null,null,["最終更新日 2024-12-17 UTC。"],[[["Acknowledges a subscription purchase using the provided token, subscription ID, and package name."],["Requires the `https://www.googleapis.com/auth/androidpublisher` OAuth scope for authorization."],["The request can include an optional `developerPayload` in the JSON body."],["A successful acknowledgement results in an empty response body."]]],["The core content outlines acknowledging a subscription purchase via a POST HTTP request to a specific URL. This requires three path parameters: `packageName`, `subscriptionId`, and `token`. The request body, represented in JSON, includes a single field, `developerPayload`, a string for attaching data to the purchase. Upon successful execution, the response body will be empty. The operation requires the `https://www.googleapis.com/auth/androidpublisher` authorization scope.\n"]]