The below steps and sets of credentials allow you to test logging in to merchant accounts and simulate generating transactions.

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 when creating a session you receive 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.

ScenarioWhat will happenUsernamePassword
New transactionsYour user’s merchant account will be successfully linked. 205 new transactions will be generated within a few seconds and you will be notified of them via the NEW_TRANSACTIONS_AVAILABLE event. The transactions will be retrievable via Sync Transactions.user_good_transactionspass_good
New and updated transactionsYour user’s merchant account will be successfully linked. 205 new transactions will be generated within a few seconds and you will be notified of them via the NEW_TRANSACTIONS_AVAILABLE event. The transactions will be retrievable via Sync Transactions. Additionally, 3 transactions will be updated and you will be notified of them via the UPDATED_TRANSACTIONS_AVAILABLE event nearly immediately as well. The transactions wil be retrievable via Get Transaction By ID.user_good_transactionspass_good_updates