Skip to content
/ .github Public template
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

SimpleX-Rental #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Nursesusie1504
Copy link

@simplexpay.com
// Account filtering isn't required here, but sometimes
// it's helpful to see an example.

const request: LinkTokenCreateRequest = {
user: {
client_user_id: 'user-id',
phone_number: '+1 415 5550123'
},
client_name: 'Personal Finance App',
products: ['transactions'],
transactions: {
days_requested: 730
},
country_codes: ['US'],
language: 'en',
webhook: 'https://sample-web-hook.com',
redirect_uri: 'https://domainname.com/oauth-page.html',
account_filters: {
depository: {
account_subtypes: ['checking', 'savings']
},
credit: {
account_subtypes: ['credit card']
}
}
};
try {
const response = await plaidClient.linkTokenCreate(request);
const linkToken = response.data.link_token;
} catch (error) {
// handle error
}

@simplexpay.com
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

Successfully merging this pull request may close these issues.

1 participant