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.
PaymentType
Stay organized with collections
Save and categorize content based on your preferences.
Page Summary
PaymentType specifies the payment method used for Google or Action provided payments and requires a display name.
The content is part of the deprecated Orders version 2 API, with a migration guide available for version 3.
Payment types include credit/debit cards (PAYMENT_CARD), bank accounts, loyalty programs, on-fulfillment payments, and gift cards.
Google-provided payment instruments are currently limited to the PAYMENT_CARD type.
Bank, loyalty program, on-fulfillment, and gift card payment types are only available through Action-provided methods.
PaymentType indicates the form of payment used for either a Google-provided or Action-provided payment method. The action must also provide a display name for the payment method.
Enums
PAYMENT_TYPE_UNSPECIFIED
Unspecified payment type.
PAYMENT_CARD
A credit/debit or prepaid card. At present, all Google-provided payment instruments will be of the PAYMENT_CARD variety.
BANK
Payment method is a bank account. Action-provided only.
LOYALTY_PROGRAM
Payment method is a loyalty program. Action-provided only.
ON_FULFILLMENT
Payment does not occur until fulfillment of the order, such as cash-on-delivery orders or payment at time of service. Action-provided only.
GIFT_CARD
Payment method is a gift card. Action-provided only.
[[["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."],[],["The content describes the `PaymentType` within the deprecated Orders version 2 API, detailing various payment methods. Key payment types include `PAYMENT_CARD` (credit/debit/prepaid), `BANK` (bank account), `LOYALTY_PROGRAM`, `ON_FULFILLMENT` (cash-on-delivery/at-service), and `GIFT_CARD`. `PAYMENT_CARD` is Google-provided, while the others are Action-provided. `PAYMENT_TYPE_UNSPECIFIED` indicates an unspecified type. Actions must also supply a display name for the method. The user should migrate from version 2 to version 3.\n"]]