Credit Card Verification: Create
paymentMethodNonce
to perform a standard
card verification
and vault the card.
;Parameters
'company'string'countryCodeAlpha2'stringThe ISO 3166-1 alpha-2 country code specified in an address. The gateway only accepts specific alpha-2 values.
'countryCodeAlpha3'stringThe ISO 3166-1 alpha-3 country code specified in an address. The gateway only accepts specific alpha-3 values.
'countryCodeNumeric'stringThe ISO 3166-1 numeric country code specified in an address. The gateway only accepts specific numeric values.
'countryName'stringThe country name specified in an address. We only accept specific country names.
'extendedAddress'string'firstName'string'countryCode'string'nationalNumber'string'lastName'string'locality'string'phoneNumber'stringDeprecated.
We recommend using international_phone. This functionality still exists in the gateway but is no longer documented. This parameter will be removed in the future.
'postalCode'string'region'string'streetAddress'string'cardholderName'string'cvv'string'expirationDate'stringThe expiration date, formatted MM/YY or MM/YYYY. May be used instead of expirationMonth and expirationYear.
'expirationMonth'stringThe expiration month of a credit card, formatted MM. May be used with expirationYear, and instead of expirationDate.
'expirationYear'stringThe 2 or 4 digit year associated with a credit card, formatted YYYY or YY. May be used with expirationMonth, and instead of expirationDate.
'number'string'status'stringThe option indicates the vaulted status of the externally vaulted payment method. Accepted values:
vaulted= Indicates the payment method is already stored on behalf of the customer.will_vault= Indicates the payment method is intended to be vaulted upon successful processing of the verification.
'amount'string'merchantAccountId'stringSpecify the merchant account ID that you want to use to verify a card. See the merchantAccountId on Transaction: Sale to learn more.
'paymentMethodNonce'string'customerBrowser'string'customerIp'stringResults of a merchant-performed 3D Secure authentication. You will only need to use these fields if you've performed your own integration with a 3D Secure MPI provider (e.g. Cardinal Centinel). Otherwise, Braintree's SDKs handle this for you in our standard 3D Secure integration.
'cavv'stringCardholder authentication verification value or CAVV. The main encrypted message issuers and card networks use to verify authentication has occurred. Mastercard uses an AVV message and American Express uses an AEVV message, each of which should also be passed in the cavv parameter.
'dsTransactionId'stringTransaction identifier resulting from 3D Secure 2 authentication. This field must be supplied for Mastercard Identity Check.
'eciFlag'stringThe value of the electronic commerce indicator (ECI) flag, which indicates the outcome of the 3DS authentication.
Accepted values for Mastercard:
00= Failed or not attempted01= Attempted02= Success04= Data-Only (Applies to limited processors)
Accepted values for all other card brands:
07= Failed or not attempted06= Attempted05= Success
'threeDSecureVersion'stringThe version of 3D Secure authentication used for the transaction. Required
on Visa and Mastercard authentications. Must be composed of digits separated
by periods (e.g. 1.0.2).
'xid'stringTransaction identifier resulting from 3D Secure authentication. Uniquely identifies the transaction and sometimes required in the authorization message. Must be base64-encoded. This field will no longer be used in 3D Secure 2 authentications.