mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
Update tokenize payload to reflect 3.26.0
See the tokenize payload documentation: http://braintree.github.io/braintree-web/current/HostedFields.html#~tokenizePayload
This commit is contained in:
2
types/braintree-web/index.d.ts
vendored
2
types/braintree-web/index.d.ts
vendored
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user