Transactions API will be deprecated on May 3, 2023, ahead of the Conversational Actions sunset on June 13, 2023. For more information, see Conversational Actions sunset
.
GooglePaymentOption
Stay organized with collections
Save and categorize content based on your preferences.
Requirements for Google-provided payment method.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License
, and code samples are licensed under the Apache 2.0 License
. For details, see the Google Developers Site Policies
. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["\u003cp\u003eGoogle-provided payment methods require a JSON representation for payment facilitation.\u003c/p\u003e\n"],["\u003cp\u003eThis JSON object, \u003ccode\u003efacilitationSpec\u003c/code\u003e, follows the PaymentDataRequest structure defined in Google Pay API documentation.\u003c/p\u003e\n"],["\u003cp\u003eIt includes details like merchant information, allowed payment methods (card networks, authentication), and transaction specifics (currency, total price).\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003efacilitationSpec\u003c/code\u003e enables Google to process payments on behalf of integrators by specifying necessary payment parameters.\u003c/p\u003e\n"]]],[],null,["# GooglePaymentOption\n\n- [JSON representation](#SCHEMA_REPRESENTATION)\n\nRequirements for Google-provided payment method.\n\n| JSON representation ||\n|----------------------------------------|---|\n| ``` { \"facilitationSpec\": string } ``` |\n\n| Fields ||\n|--------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `facilitationSpec` | `string` This JSON blob captures the specification for how Google facilitates the payment for integrators, which is the PaymentDataRequest object as defined in \u003chttps://developers.google.com/pay/api/web/reference/object#PaymentDataRequest\u003e Example: { \"apiVersion\": 2, \"apiVersionMinor\": 0, \"merchantInfo\": { \"merchantName\": \"Example Merchant\" }, \"allowedPaymentMethods\": \\[ { \"type\": \"CARD\", \"parameters\": { \"allowedAuthMethods\": \\[\"PAN_ONLY\", \"CRYPTOGRAM_3DS\"\\], \"allowedCardNetworks\": \\[\"AMEX\", \"DISCOVER\", \"JCB\", \"MASTERCARD\", \"VISA\"\\] }, \"tokenizationSpecification\": { \"type\": \"PAYMENT_GATEWAY\", \"parameters\": { \"gateway\": \"example\", \"gatewayMerchantId\": \"exampleGatewayMerchantId\" } } } \\], \"transactionInfo\": { \"totalPriceStatus\": \"ESTIMATED\", \"totalPrice\": \"12.34\", \"currencyCode\": \"USD\" } } |"]]