SDK Documentation

Classes

This represents the Bond External Accounts SDK.

Typedefs

BondEnvType : String

Kind: global typedef

Value: sandbox | api

PlaidEnvType : String

Kind: global typedef

Value: sandbox | production

BondExternalAccounts

Kind: global class

new BondExternalAccounts

new BondExternalAccounts({ bondEnv, plaidEnv })
Create a BondExternalAccounts instance.

Param

Type

Default

Description

bondEnv

BondEnvType
See table below.

api

Sets the Bond environment.

plaidEnv

PlaidEnvType
See table below.

production

Sets the Bond environment.

Parameter type

Kind

Value

BondEnvType

global typedef string

sandbox or api

PlaidEnvType

global typedef string

sandbox or production

bondExternalAccounts.linkAccount

bondExternalAccounts.linkAccount({ accountId, identity, authorization }) ⇒ Promise
Connect external account.

Kind: instance method of BondExternalAccounts.

Param

Type

Description

accountId

String

Sets the Bond account ID.

identity

String

Sets the Identity token.

authorization

String

Sets the Authorization token.

bondExternalAccounts.microDeposit

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

Kind: instance method of BondExternalAccounts

Param

Type

Default

accountId

String

Sets the Bond account ID.

linkedAccountId

String

Sets the linked account ID.

identity

String

Sets the Identity token.

authorization

String

Sets the Authorization token.

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


Did this page help you?