Members
(static) VERSION :string
The current version of the SDK, i.e. 3.113.0
.
- Source:
Methods
(static) create(options, callbackopt) → {Promise.<(void|error)>}
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options |
object |
Creation options: Properties
|
|||||||||||||||||||||
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);
});
braintree.sepa.create({
client: clientInstance,
}).then(function (sepaInstance) {
// sepaInstance is ready to be used.
}).catch(function (createErr) {
console.error('Error creating SEPA instance', createErr);
});