Card Payment Details
Details about a payment with customer's card.
This class is deprecated because it is now part of 'PaymentInstrumentTransactionDetails' with new name 'PrepaidCardInstrumentTransactionDetails'.
cardIdstring
Prepaid card ID.
mobileWalletTypestring
Mobile wallet type.
Possible values: [GOOGLE_PAY
, APPLE_PAY
, SAMSUNG_PAY
]
obfuscatedCardNumberstring
Obfuscated card number.
Example:
*1234
merchantDetails object
namestring
Merchant name.
Example:
Starbucks
location object
citystring
Merchant location city.
statestring
Merchant location state.
zipstring
Merchant location zip.
mcc object
idstring
Merchant category id.
namestring
Merchant category name.
paymentAmountint64
Amount paid with customer's card, in minor units.
Example:
1200
paymentAmountCurrencyCodeCurrency (string)
Currency alphabetic code as specified by ISO 4217
Possible values: >= 3 characters
and <= 3 characters
Example:
EUR
Card Payment Details
{
"cardId": "a429dc6d-07b9-44e0-b53e-6e9f155279e9",
"mobileWalletType": "GOOGLE_PAY",
"obfuscatedCardNumber": "*1234",
"paymentAmount": 1200,
"paymentAmountCurrencyCode": "USD",
"merchantDetails": {
"name": "Starbucks",
"location": {
"city": "New York",
"state": "NY",
"zip": "10001"
},
"mcc": {
"id": "5812",
"name": "Eating Places"
}
}
}