Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
edb3160f35 | |||
0eb51cf3c5 |
4
package-lock.json
generated
4
package-lock.json
generated
@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "@mojoio/tink",
|
"name": "@mojoio/tink",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"lockfileVersion": 2,
|
"lockfileVersion": 2,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@mojoio/tink",
|
"name": "@mojoio/tink",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@pushrocks/smartrequest": "^1.1.56"
|
"@pushrocks/smartrequest": "^1.1.56"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@mojoio/tink",
|
"name": "@mojoio/tink",
|
||||||
"version": "1.0.12",
|
"version": "1.0.13",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "an unofficial api abstraction for tink.com",
|
"description": "an unofficial api abstraction for tink.com",
|
||||||
"main": "dist_ts/index.js",
|
"main": "dist_ts/index.js",
|
||||||
|
@ -32,9 +32,9 @@ Use TypeScript for best inclass intellisense
|
|||||||
// this example assumes toplevel await
|
// this example assumes toplevel await
|
||||||
import * as tink from '@mojoio/tink';
|
import * as tink from '@mojoio/tink';
|
||||||
|
|
||||||
const tinkAccount = new TinkAccount('clientId', 'clientSecret');
|
const tinkAccount = new TinkAccount('<clientId>', '<clientSecret>');
|
||||||
const tinkUser = await tinkAccount.createTinkUser('YourOwnUniqueUserId');
|
const tinkUser = await tinkAccount.createTinkUser('<YourOwnUniqueUserId>');
|
||||||
const tinkLinkUrl = await tinkUser.getTinkLink();
|
const tinkLinkUrl = await tinkUser.getTinkLink('<marketCode like DE>');
|
||||||
|
|
||||||
// present the link to your user to connect their bank accounts to the tink platform.
|
// present the link to your user to connect their bank accounts to the tink platform.
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user