![]() Items.js illustrates how to incorporate the handling and testing of update mode using the /sandbox/item/reset_login endpoint. Sandbox Items will also automatically enter the ITEM_LOGIN_REQUIRED state 30 days after being created.Īn example of using update mode and testing in Sandbox can be found in the Plaid Pattern sample app. To test your update mode flow in Sandbox, you can use the /sandbox/item/reset_login endpoint to force an Item into this state. An Item that needs to be handled via update mode will enter the ITEM_LOGIN_REQUIRED error state. Update mode in Link is used to handle user logins that have become invalid (for example, due to the user changing their password at their financial institution). You can also simulate a number of scenarios for testing in Sandbox. The Sandbox provides rich test data, as well as the ability to generate your own test data. This endpoint allows you to generate a public_token for an arbitrary institution ID, initial products, and test credentials. As an alternative, you can also create Items in Sandbox via the API, using a special Sandbox-only endpoint, /sandbox/public_token/create. When doing repeated manual tests, or for writing automated tests against Sandbox, completing the Link flow may be impractical. If the product you want to test against is not available in Sandbox, file a request for access ticket via the Dashboard. Some products, such as Payment Initiation (UK and Europe), may require your account be specially enabled. Most products can be immediately tested in Sandbox with no extra configuration. The default username/password combination for all Sandbox institutions is user_good / pass_good. ![]() In order to use the Sandbox with a client library, specify Sandbox as your environment when initializing. The Sandbox can be reached by sending HTTPS POST requests to the endpoints on the domain. Sandbox API keys can be obtained in the Plaid Dashboard. A variety of test accounts and institutions are available to test against, and you can create an unlimited number of test Items. All Plaid functionality of both the Plaid API and Plaid Link is supported in the Sandbox environment. The Plaid Sandbox is a free and fully-featured environment for application development and testing. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |