From b25bc3a4813ca263f254b4935c4137043044503e Mon Sep 17 00:00:00 2001 From: Graham Marlow Date: Wed, 15 Nov 2017 09:18:21 -0800 Subject: [PATCH] Update tokenize payload to reflect 3.26.0 See the tokenize payload documentation: http://braintree.github.io/braintree-web/current/HostedFields.html#~tokenizePayload --- types/braintree-web/index.d.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/types/braintree-web/index.d.ts b/types/braintree-web/index.d.ts index 46f16e072b..bc5ca0b01f 100644 --- a/types/braintree-web/index.d.ts +++ b/types/braintree-web/index.d.ts @@ -611,12 +611,14 @@ declare namespace braintree { * @property {object} details Additional account details. * @property {string} details.cardType Type of card, ex: Visa, MasterCard. * @property {string} details.lastTwo Last two digits of card number. + * @property {string} details.lastFour Last four digits of card number. * @property {string} description A human-readable description. * @property {string} type The payment method type, always `CreditCard`. */ interface HostedFieldsAccountDetails { cardType: string; lastTwo: string; + lastFour: string; } interface HostedFieldsTokenizePayload {