Skip to main content
The below steps and sets of credentials allow you to test the end-to-end flow of logging in to merchant accounts and generating transactions. Alternatively, you can use the Link Account endpoint to bypass the client-side SDK in the development environment for testing.
1

Create a session

Call Create Session with type: transaction_link and a dummy external_user_id.
Please note that if you intend to test generating transactions multiple times consecutively in a short period, it is recommended to use a different dummy external_user_id for each session.
2

Invoke the SDK

Use the session_id you receive when creating a session to invoke the SDK. In KnotConfiguration, pass a merchantId for a merchant of your choosing. In your implementation, merchants are retrieved via List Merchants. For testing purposes, you can likely hardcode a single id for a merchant.
3

Login to a merchant account

Once you’ve invoked the SDK, you can login to a merchant account using one of the sets of credentials below, depending on what you would like to test.