- JSON representation
- PaymentMethod
- Address
- EWallet
- Card
- MinimumRequiredCardInfo
- AccountNumber
- ExpiryDate
- CardMetadata
- GetCardMetadataSuccessResult
- PaymentCardProductId
- CardFeatures
Details about the success result.
JSON representation |
---|
{
"paymentMethods": [
{
object ( |
Fields | |
---|---|
paymentMethods[] |
OPTIONAL: The list of payments contained within the Partner user's account. |
PaymentMethod
Represents a single payment method.
JSON representation |
---|
{ "billingAddress": { object ( |
Fields | |
---|---|
billingAddress |
REQUIRED: The billing address for this payment method. |
Union field form_of_payment . REQUIRED: The form of payment of the payment method. form_of_payment can be only one of the following: |
|
eWallet |
An e-Wallet payment method. |
card |
A card payment method. |
Address
Structure holding information about a physical address.
JSON representation |
---|
{ "addressLine": [ string ], "localityName": string, "administrativeAreaName": string, "postalCodeNumber": string, "countryCode": string } |
Fields | |
---|---|
addressLine[] |
OPTIONAL: This holds unstructured Address text. |
localityName |
OPTIONAL: This is something of a fuzzy term, but it generally refers to the city/town portion of an address. In regions of the world where localities are not well defined or do not fit into this structure well (for example, Japan and China), leave localityName empty and use addressLine. Examples: US city, IT comune, UK post town. |
administrativeAreaName |
OPTIONAL: Top-level administrative subdivision of this country" Examples: US state, IT region, CN province, JP prefecture." |
postalCodeNumber |
OPTIONAL: Despite the name, postalCodeNumber values are frequently alphanumeric. Examples: "94043", "SW1W", "SW1W 9TQ". |
countryCode |
OPTIONAL: Customer address country code, expected to be ISO-3166-1 Alpha-2. |
EWallet
An e-Wallet payment method.
JSON representation |
---|
{ "accountId": string } |
Fields | |
---|---|
accountId |
REQUIRED: A unique ID for this e-Wallet payment method. Must be distinct from the This value must be immutable for the life of the account. It must be the same as what would be returned in |
Card
A card payment method.
JSON representation |
---|
{ "cardInfo": { object ( |
Fields | |
---|---|
cardInfo |
REQUIRED: FPAN representation of the card with an expiration date. No CVN. |
cardholderFullName |
REQUIRED: The cardholder's full name. |
cardMetadata |
REQUIRED: Metadata about the card such as card name or card art. See also: https://developers.google.com/pay/card-management-v1. |
cardFeatures |
REQUIRED: List of eligible features of this card that can be enrolled by Google. |
MinimumRequiredCardInfo
FPAN representation of a card with an expiration date. No CVN.
JSON representation |
---|
{ "accountNumber": { object ( |
Fields | |
---|---|
accountNumber |
REQUIRED: The account number itself (i.e., the FPAN). |
expiryDate |
REQUIRED: Expiration date, month and year. |
AccountNumber
The account number itself (i.e., the FPAN).
JSON representation |
---|
{ "value": string } |
Fields | |
---|---|
value |
REQUIRED: The account number itself (i.e., the FPAN). This is a string that has 14-19 characters and contains only the characters "0-9". |
ExpiryDate
Expiration date, the month and the year.
JSON representation |
---|
{ "expiryMonth": string, "expiryYear": string } |
Fields | |
---|---|
expiryMonth |
REQUIRED: Expiration month, formatted |
expiryYear |
REQUIRED: Expiration year, formatted |
CardMetadata
Metadata about a card such as card name or card art. See also: https://developers.google.com/pay/card-management-v1.
JSON representation |
---|
{
"getCardMetadataSuccessResult": {
object ( |
Fields | |
---|---|
getCardMetadataSuccessResult |
REQUIRED: Success result container for the card metadata. |
GetCardMetadataSuccessResult
Details about the success result.
JSON representation |
---|
{
"paymentCardProductId": {
object ( |
Fields | |
---|---|
paymentCardProductId |
REQUIRED: The program or product identifier that describes the group of benefits and properties that applies to the card. This ID is generated by the Google Standard Payments integrator. |
PaymentCardProductId
The program or product identifier that describes the group of benefits and properties that applies to the card. This ID is generated by the Google Standard Payments integrator.
JSON representation |
---|
{ "value": string } |
Fields | |
---|---|
value |
REQUIRED: The program or product identifier that describes the group of benefits and properties that applies to the card. This ID is generated by the Google Standard Payments integrator. This is a string with a length between 1-100 characters, and contains only the characters "a-z", "A-Z", "0-9", ":", "-", and "_". |
CardFeatures
List of eligible features of this card that can be enrolled by Google.
JSON representation |
---|
{ // Union field |
Fields | |
---|---|
Union field card_payment_data . REQUIRED: Card payment data feature support. card_payment_data can be only one of the following: |
|
supportsCardPaymentData |
The card supports Card Payment Data API for Autofill retrieval of the card's FPAN, expiration, and CVV. See also: https://developers.google.com/pay/card-payment-data-v1 |
unsupportedForCardPaymentData |
The Card Payment Data API is not supported for this card. |
Union field android_device_tokenization . REQUIRED: Android device tokenization feature support. android_device_tokenization can be only one of the following: |
|
supportsAndroidDeviceTokenization |
The card supports Android device tokenization, i.e. tap and pay. |
unsupportedForAndroidDeviceTokenization |
Android device tokenization is not supported for this card. |
unknownSupportForAndroidDeviceTokenization |
It is unknown whether Android device tokenization is supported for this card. Google may attempt to tokenize the card later based on user actions or other signals. |