インテグレータによっては、支払いトークンの有効期限が切れる場合があります。この場合、トークンの有効期限が近づくと、Google はユーザーの認証を再度行い、トークンの有効期限を延長します。これを、更新トークンのフロー(再関連付けフロー)と呼びます。このフローでは、インテグレータは支払いトークンの有効期限が切れるときに Google に通知します。
All rights reserved. Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-25 UTC。
[[["わかりやすい","easyToUnderstand","thumb-up"],["問題の解決に役立った","solvedMyProblem","thumb-up"],["その他","otherUp","thumb-up"]],[["必要な情報がない","missingTheInformationINeed","thumb-down"],["複雑すぎる / 手順が多すぎる","tooComplicatedTooManySteps","thumb-down"],["最新ではない","outOfDate","thumb-down"],["翻訳に関する問題","translationIssue","thumb-down"],["サンプル / コードに問題がある","samplesCodeIssue","thumb-down"],["その他","otherDown","thumb-down"]],["最終更新日 2025-07-25 UTC。"],[[["\u003cp\u003eGoogle automatically extends expiring payment tokens through a refresh token flow, requiring re-authentication.\u003c/p\u003e\n"],["\u003cp\u003eIntegrators inform Google of token expiration, initiating the refresh process where Google provides authentication proof.\u003c/p\u003e\n"],["\u003cp\u003eThe integrator updates the token's expiration date and confirms success to Google, potentially declining the refresh like an initial association.\u003c/p\u003e\n"],["\u003cp\u003eThe refresh token flow uses the existing payment token, returning an error if the token is unknown to the integrator.\u003c/p\u003e\n"],["\u003cp\u003ePayment tokens have a minimum lifetime of one year and the refresh process can occur before the token actually expires.\u003c/p\u003e\n"]]],["The Payment Integrator Server informs the Google Server when a payment token expires or is near expiry. Google then sends a `refreshToken` message, including an `authenticationRequestId` and `GPT`, to the Payment Integrator Server. The Integrator refreshes the token with a new expiry date, which has a minimum lifetime of one year, then confirms the success to Google. The `googlePaymentToken` used in this process is an existing token, not a new one. If token is not known, it returns a `FAILED_PRECONDITION` error message.\n"],null,[]]