braintree-web/instant-verification

Members

(static) VERSION :string

The current version of the SDK, i.e. 3.133.0.

Source:

Methods

(static) create(options, callbackopt) → {Promise.<(InstantVerification|error)>}

Parameters:
Name Type Attributes Description
options object

Creation options:

Properties
Name Type Attributes Description
client Client <optional>

A Client instance.

authorization string <optional>

A tokenizationKey or clientToken. Can be used in place of options.client.

callback callback <optional>

When provided, will be used instead of a promise. First argument is an error object, second is an instance of InstantVerification.

Source:
Example
braintree.instantVerification.create({
  client: clientInstance
}).then(function (instantVerificationInstance) {
  // instantVerificationInstance is ready to be used.
}).catch(function (createErr) {
  console.error('Error creating Instant Verification instance', createErr);
});