Trustly provides a Sandbox environment for active 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.
When deploying an application, use the correct base URL and authentication credentials for each environment. The following are the URLs for the Trustly production and sandbox environments.
- Production
https://trustly.one/api/v1
- Sandbox:
https://sandbox.trustly.one/api/v1
The following endpoints are deprecated, but are supported:
- Production: https://paywithmybank.com
- Sandbox: https://sandbox.paywithmybank.com
SDKs and libraries
When using the JavaScript client library, the base URL included in a web application and the active environment URL must match. The following are the URLs for the Trustly production and sandbox environments:
- Production:
https://trustly.one/start/scripts/trustly.js
- Sandbox**:
https://sandbox.trustly.one/start/scripts/trustly.js
When using the native iOS or Android SDKs, the sandbox environment can be used by passing the optional env
property into the establish data object For example:
establishData["env"] = "sandbox"
For more information about the Trustly SDKs, see SDKs.