logo
Trustly Docs
BETA

Trustly URL presentation

Present the Trustly URL to customers in your checkout
Updated 2 months ago

When Trustly receives a Deposit, Withdraw or SelectAccount API call, a URL will be returned. This is the graphical user interface, the payment window, that customers will interact with.

The URL returned by Trustly API must be accessed using HTTPS GET.

The JSON-RPC calls to Trustly API should be sent using HTTPS POST.

You can present the Trustly URL to customers in a few different ways:

For Desktop

  • Load the Trustly URL in an iframe or lightbox

  • Make a redirect to the Trustly URL

  • Use a webpage designed by the merchant but hosted by Trustly (TemplateURL)

For Mobile

  • Make a redirect to the Trustly URL in a standalone browser window

For App

  • Use Trustly SDK

  • Less favoured approach: Redirect to a standalone browser.


iframe with sandbox attribute

If the Trustly URL is loaded in an iframe with the "sandbox" attribute set, please note that you need to set "allow-popups-to-escape-sandbox".


There are different requirements for desktop, mobile, and native app implementations. For more information, see our Service Presentation Guidelines.

In order to offer the best experience and safety, Trustly works best in the newest and prior 2 versions of these browsers. Browsers that are no longer maintained are kept out of this list.

  • Safari

  • iOS Safari

  • Chrome

  • Chrome for Android

  • Firefox

  • Samsung Internet

  • Microsoft Edge

Trustly could still function together with browsers and versions that are not listed here, despite us not including them in our quality assurance checks.