1
Create a session
Call Create Session with
type: vault and a dummy external_user_id.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.
| Scenario | Description | Username | Password |
|---|---|---|---|
| Successful vault | Simulates successfully vaulting a digital wallet to a merchant account. After authentication to the merchant account, you will receive the VAULTING_SUCCEEDED webhook event. | user_good_vault | pass_good |
| Failed vault | Simulates a failed digital wallet vaulting attempt to a merchant account. After authentication to the merchant account, you will receive the VAULTING_FAILED webhook event. | user_good_vault | failed |