Skip to content

feat: Add optional_products to link token create endpoint#94

Closed
gabe565 wants to merge 1 commit intoTomorrowIdeas:masterfrom
clevyr:add-optional-products
Closed

feat: Add optional_products to link token create endpoint#94
gabe565 wants to merge 1 commit intoTomorrowIdeas:masterfrom
clevyr:add-optional-products

Conversation

@gabe565
Copy link

@gabe565 gabe565 commented Nov 14, 2024

The /link/token/create endpoint supports an optional_products request field. This PR adds optional_products as a named argument.

@DarkSide666
Copy link

DarkSide666 commented Mar 4, 2025

There are quite a lot more optional request fields and they'll add more in future for sure, so this approach of setting each field as separate argument of method call is wrong. There should be some ability of customization - like we can pass array of these values and then it'll be compatible with future Plaid versions too. For example, I'm interested to set `transactions: days_

@DarkSide666
Copy link

This is better PR #87

@gabe565
Copy link
Author

gabe565 commented Mar 17, 2025

@DarkSide666 Thanks for the heads up. Closing this PR in favor of #87.

@gabe565 gabe565 closed this Mar 17, 2025
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.

2 participants