Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating Items via Link #64

Open
momin4073 opened this issue May 19, 2022 · 1 comment
Open

Updating Items via Link #64

momin4073 opened this issue May 19, 2022 · 1 comment

Comments

@momin4073
Copy link

How does one achieve creating link token in update mode ?

https://plaid.com/docs/link/update-mode/

curl -X POST https://sandbox.plaid.com/link/token/create
-H 'Content-Type: application/json'
-d '{
"client_id": "CLIENT_ID",
"secret": "SECRET",
"client_name": "My App",
"user": { "client_user_id": "UNIQUE_USER_ID" },
"country_codes": ["US"],
"language": "en",
"webhook": "https://webhook.sample.com",
"access_token": "ENTER_YOUR_ACCESS_TOKEN_HERE"
}'

@viceroypenguin
Copy link
Contributor

@momin4073 - You should switch to Going.Plaid, which is being updated. Under Going.Plaid, creating a new link token in update mode is relatively easy:

var response = await client.LinkTokenCreateAsync(
  new()
  {
    AccessToken = "existing access_token",
    ... <other properties as above/necessary>
  });
var token = response.LinkToken;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants