Trustly provides a Sandbox environment for development and testing. The Sandbox environment supports all features and functionality of the production environment, but payment operations do not result in any funds activity.
The primary method for simulating scenarios is through Demo Banks accessible within the Trustly UI, using specific passwords to trigger desired outcomes.
When deploying your application or libraries, ensure you use the correct base URL and authentication credentials for each environment.
To access a Demo Bank, integrate the Trustly UI (Lightbox or Widget) into your application and use the search bar to select the desired Demo Bank.
test, demo). Use unique, descriptive names for each test scenario (for example, happy_path_test_01, ineligible_user) to ensure the fastest and most reliable sandbox response.Sleep as the username and the number of seconds (for example, 30) as the password.To simulate specific fraud or velocity check declines (which map to extended reason codes), use the special password pattern in the Demo Bank.
<"anyusername">extendedreasoncode_ followed by the code you wish to trigger (for example, extendedreasoncode_10000).The transaction is expected to be denied by the Response Codes associated with the extended reason code provided in the password.
paymentProviderTransaction.status: SW054paymentProviderTransaction.reasonCode: 1paymentProviderTransaction.extendedReason.code: 10000To manipulate the outcome of the bank authorization or the associated data, enter the corresponding keyword or phrase into the password field when logging into the Demo Bank.
This data should be used when testing manual entry fields for micro-challenge deposits or manual account verification requests.
The following are samples of Account Number and Routing Number pairs that simulate various risk scores (all routing numbers are 124003116):
To test deep linking and user experience for native mobile apps, use the specialized OAuth Demo Bank.
amer.developer.experience@trustly.com with the subject “Android Demo Bank App” to request access for the email addresses that need to be invited.