Check out code libraries and get a jump start

Trustly provides code libraries to show example implementation and dependencies:

  • PHP example
    Example reference implementation. You can use the code by copy-paste.
  • Python example
    Example reference implementation. You can use the code by copy-paste.
  • Java example
    Client library dependency
  • .NET example
    Client library dependency

The libraries implement easy-to-use interfaces in your programming language. You can use them for making calls to the Trustly's API.

If you find any problem in the code or want to extend it, feel free to fork it and send a pull request.

Note: The documentation within the code library repositories only covers the code itself, not how you should use Trustly's API or the software flows and call patterns.