plaid / plaid-node

Node bindings for Plaid
https://plaid.com/docs
MIT License
528 stars 174 forks source link

Server-side implementation #630

Closed CodyBontecou closed 7 months ago

CodyBontecou commented 7 months ago

Is it possible to create a fully-server-side implementation of Plaid, without a frontend to generate the Plaid link?

phoenixy1 commented 7 months ago

Link is required; however, you can use Hosted Link, in which Plaid handles the front end for you:

https://plaid.com/docs/link/hosted-link/

CodyBontecou commented 7 months ago

Hmm, would hosted-link enable a cron-based workflow? I'm just trying to get a daily update on my balance.

ToddKerpelman commented 7 months ago

You would still need to use Link (or Hosted Link) to establish your user's connection to the bank. Once you've done that, though, you're free to make server-side calls to accounts/balance/get with whatever mechanism you'd like, including cron jobs.

CodyBontecou commented 7 months ago

Does the accessToken need to be refreshed? Or can I generate it once, store it in a database, and continue using it?

phoenixy1 commented 7 months ago

access token documentation is here: https://plaid.com/docs/quickstart/glossary/#access-token

Closing out this thread as it is not directly related to the plaid-node library