Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
031d140a44 | |||
c96ccf198c |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "@mojoio/tink",
|
||||
"version": "1.0.10",
|
||||
"version": "1.0.11",
|
||||
"lockfileVersion": 2,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@mojoio/tink",
|
||||
"version": "1.0.10",
|
||||
"version": "1.0.11",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@pushrocks/smartrequest": "^1.1.56"
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@mojoio/tink",
|
||||
"version": "1.0.10",
|
||||
"version": "1.0.11",
|
||||
"private": false,
|
||||
"description": "an unofficial api abstraction for tink.com",
|
||||
"main": "dist_ts/index.js",
|
||||
|
19
readme.md
19
readme.md
@ -27,9 +27,28 @@ Platform support | [;
|
||||
const tinkUser = await tinkAccount.createTinkUser('YouOwnUniqueUserId');
|
||||
const tinkLinkUrl = await tinkUser.getTinkLink();
|
||||
|
||||
// present the link to your user to connect their bank accounts to the tink platform.
|
||||
|
||||
const tinkProviderConsents = await tinkUser.getProviderConsents();
|
||||
|
||||
for (const providerConsent of tinkProviderConsents) {
|
||||
const bankAccounts = await providerConsent.getBankAccounts();
|
||||
for (const bankAccount of bankAccounts) {
|
||||
const transactions = bankAccount.getTransactions();
|
||||
}
|
||||
}
|
||||
|
||||
```
|
||||
|
||||
|
||||
## Contribution
|
||||
|
||||
|
Reference in New Issue
Block a user