SDK Documentation

How to use the Bond linking external account SDK.

Classes

BondExternalAccounts

Kind: global class

new BondExternalAccounts

new BondExternalAccounts({ live: false })
Create a BondExternalAccounts instance.

ParamTypeDefaultDescription
liveBondEnvType
See table below.
apiSets the Bond environment.

bondExternalAccounts.linkAccount

bondExternalAccounts.linkAccount({ customerId | businessId, identity, authorization }) ⇒ Promise
Connect external account.

Kind: instance method of BondExternalAccounts.

ParamTypeDescription
customerIdstringSets the Bond Customer ID; use only one of customerId or businessId
businessIdstringSets the Bond Business ID; use only one of customerId or businessId
identitystringSets the temporary Identity.
authorizationstringSets the temporary Authorization token.

bondExternalAccounts.microDeposit

bondExternalAccounts.microDeposit({ linkedAccountId, identity, authorization }) ⇒ Promise
Micro deposit.

Kind: instance method of BondExternalAccounts

ParamTypeDefault
linkedAccountIdstringSets the linked account ID.
identitystringSets the Identity token.
authorizationstringSets the Authorization token.

For a complete specification and interactive examples, see Linking external accounts in the Bond API Reference.