ListPaymentMethodsSuccessResult

Details about the success result.

JSON representation
{
  "paymentMethods": [
    {
      object (PaymentMethod)
    }
  ]
}
Fields
paymentMethods[]

object (PaymentMethod)

OPTIONAL: The list of payments contained within the Partner user's account.

PaymentMethod

Represents a single payment method.

JSON representation
{
  "billingAddress": {
    object (Address)
  },

  // Union field form_of_payment can be only one of the following:
  "eWallet": {
    object (EWallet)
  },
  "card": {
    object (Card)
  }
  // End of list of possible types for union field form_of_payment.
}
Fields
billingAddress

object (Address)

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

object (EWallet)

An e-Wallet payment method.

card

object (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[]

string

OPTIONAL: This holds unstructured Address text.

localityName

string

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

string

OPTIONAL: Top-level administrative subdivision of this country" Examples: US state, IT region, CN province, JP prefecture."

postalCodeNumber

string

OPTIONAL: Despite the name, postalCodeNumber values are frequently alphanumeric. Examples: "94043", "SW1W", "SW1W 9TQ".

countryCode

string

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

string

REQUIRED: A unique ID for this e-Wallet payment method. Must be distinct from the PartnerAccountIdentifier in the LinkUserAccountResponse LinkUserAccountSuccessResult. This is used for Google risk to understand account re-use, account relationships, and de-duplication. It is also used for Google customer operation agents to help users diagnose issues.

This value must be immutable for the life of the account.

It must be the same as what would be returned in accountId when Google calls associateAccount in the e-Wallet FOP API: https://developers.google.com/pay/e-wallets-v1/payment-integrator-e-wallets-api/associateAccount#associateaccountresponse

Card

A card payment method.

JSON representation
{
  "cardInfo": {
    object (MinimumRequiredCardInfo)
  },
  "cardholderFullName": string,
  "cardMetadata": {
    object (CardMetadata)
  },
  "cardFeatures": {
    object (CardFeatures)
  }
}
Fields
cardInfo

object (MinimumRequiredCardInfo)

REQUIRED: FPAN representation of the card with an expiration date. No CVN.

cardholderFullName

string

REQUIRED: The cardholder's full name.

cardMetadata

object (CardMetadata)

REQUIRED: Metadata about the card such as card name or card art. See also: https://developers.google.com/pay/card-management-v1.

cardFeatures

object (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 (AccountNumber)
  },
  "expiryDate": {
    object (ExpiryDate)
  }
}
Fields
accountNumber

object (AccountNumber)

REQUIRED: The account number itself (i.e., the FPAN).

expiryDate

object (ExpiryDate)

REQUIRED: Expiration date, month and year.

AccountNumber

The account number itself (i.e., the FPAN).

JSON representation
{
  "value": string
}
Fields
value

string

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

string

REQUIRED: Expiration month, formatted MM.

expiryYear

string

REQUIRED: Expiration year, formatted YY.

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 (GetCardMetadataSuccessResult)
  }
}
Fields
getCardMetadataSuccessResult

object (GetCardMetadataSuccessResult)

REQUIRED: Success result container for the card metadata.

GetCardMetadataSuccessResult

Details about the success result.

JSON representation
{
  "paymentCardProductId": {
    object (PaymentCardProductId)
  }
}
Fields
paymentCardProductId

object (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

string

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 card_payment_data can be only one of the following:
  "supportsCardPaymentData": {
    object (Empty)
  },
  "unsupportedForCardPaymentData": {
    object (Empty)
  }
  // End of list of possible types for union field card_payment_data.

  // Union field android_device_tokenization can be only one of the following:
  "supportsAndroidDeviceTokenization": {
    object (Empty)
  },
  "unsupportedForAndroidDeviceTokenization": {
    object (Empty)
  },
  "unknownSupportForAndroidDeviceTokenization": {
    object (Empty)
  }
  // End of list of possible types for union field android_device_tokenization.
}
Fields
Union field card_payment_data. REQUIRED: Card payment data feature support. card_payment_data can be only one of the following:
supportsCardPaymentData

object (Empty)

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

object (Empty)

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

object (Empty)

The card supports Android device tokenization, i.e. tap and pay.

unsupportedForAndroidDeviceTokenization

object (Empty)

Android device tokenization is not supported for this card.

unknownSupportForAndroidDeviceTokenization

object (Empty)

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.