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.
Param | Type | Default | Description |
---|---|---|---|
live | BondEnvType See table below. | api | Sets the Bond environment. |
bondExternalAccounts.linkAccount
bondExternalAccounts.linkAccount({ customerId | businessId, identity, authorization })
⇒ Promise
Connect external account.
Kind: instance method of BondExternalAccounts
.
Param | Type | Description |
---|---|---|
customerId | string | Sets the Bond Customer ID; use only one of customerId or businessId |
businessId | string | Sets the Bond Business ID; use only one of customerId or businessId |
identity | string | Sets the temporary Identity. |
authorization | string | Sets the temporary Authorization token. |
bondExternalAccounts.microDeposit
bondExternalAccounts.microDeposit({ linkedAccountId, identity, authorization })
⇒ Promise
Micro deposit.
Kind: instance method of BondExternalAccounts
Param | Type | Default |
---|---|---|
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.
Updated 9 months ago