braintree-web/sepa

Members

(static) VERSION :string

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

Source:

Methods

(static) create(options, callbackopt) → {Promise.<(void|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.

debug boolean <optional>

A debug flag.

callback callback <optional>

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

Source:
Examples
braintree.sepa.create({
  client: clientInstance
}).then(function (sepaInstance) {
  // sepaInstance is ready to be used.
}).catch(function (createErr) {
  console.error('Error creating SEPA instance', createErr);
});

Creating a SEPA component

braintree.sepa.create({
  client: clientInstance,
}).then(function (sepaInstance) {
  // sepaInstance is ready to be used.
}).catch(function (createErr) {
  console.error('Error creating SEPA instance', createErr);
});