Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space ENWORK and version Documentation
Table of Contents


About Trustly

General information about Trustly

Founded in 2008, Trustly is a technology enterprise from Sweden, which enables secure and convenient payments via online banking for the customers. Trustly offers Collecting as well as an automated credit (refund) via API and reconciliation files for all supported acquirers (all 21 main banks in Sweden, Denmark and Finland). Trustly is FSA regulated.


Page properties
Logo

Info
Excerpt

The Trustly online bank transfer is convenient for the customer and secure for the merchant. This payment method enables customers to be addressed who have an account at one of 30 banks in Sweden, Finland, Denmark and Spain.

TypePayments by Online Bank Transfer



Process flow chart

Multiexcerpt
MultiExcerptNameProcessFlow

draw.io Diagram
bordertrue
diagramNameTrustly_CT
simpleViewerfalse
linksauto
tbstyletop
lboxtrue
diagramWidth1390


Trustly process flow


Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNamePlatform-Kurz
PageWithExcerptWording
interface

Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameDefinition
PageWithExcerptDefinition EN


Trustly Online transfer

In order to make a payment with Trustly in Scandinavia, please use the following URL:

Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameBaseURL
PageWithExcerptWording
trustly.aspx


Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameRequest_Intro
PageWithExcerptReuse API

Table Filter
defaultBeschreibung
isFirstTimeEnterfalse
hideColumnstrue
sparkNameSparkline
hidePanetrue
datepatterndd M yy
id1644855293543_-869991316
worklog365|5|8|y w d h m|y w d h m
isORAND
separatorPoint (.)
order0
Multiexcerpt
MultiExcerptNametrustly_request
Table Transformer
dateFormatdd M yy
export-wordfalse
show-sourcefalse
export-csvfalse
id1644855293546_-1042630345
transposefalse
worklog365|5|8|y w d h m|y w d h m
separator.
export-pdffalse
sqlSELECT * FROM T*

Table Excerpt Include
statictrue
nameMerchantID
pageMerchantID
typepage

Table Excerpt Include
statictrue
nameTransID
pageTransID
typepage

Table Excerpt Include
statictrue
nameRefNr
pagerefnr
typepage

Table Excerpt Include
statictrue
nameAmount
pageAmount
typepage

Key

Format

CND

Description

Beschreibung

Currency

a3

M

Currency, three digits DIN / ISO 4217. Only BAM, BGN, CZK, EEK, EUR, GBP, HRK, HUF, LTL, LVL, PLN, RON and USD permissible; the currency must match CountryCode. Please find an overview here: A1 Currency table EN

Währung, drei Zeichen DIN / ISO 4217. Nur BAM, BGN, CZK, EEK, EUR, GBP, HRK, HUF, LTL, LVL, PLN, RON und USD zulässig; die Währung muss zu CountryCode passen. Hier eine Übersicht: A1 Währungstabelle

Table Excerpt Include
statictrue
nameMAC
pageMAC
typepage

Key

Format

CND

Description

Beschreibung

OrderDesc

ans..768

M

Description of goods and prices. Intended purpose on the statement of account.

Beschreibung der Waren und Einzelpreise. Verwendungszweck auf dem Kontoauszug.

Table Excerpt Include
statictrue
nameURLSuccess
pageURLSuccess
typepage

Table Excerpt Include
statictrue
nameURLFailure
pageURLFailure
typepage

Table Excerpt Include
statictrue
nameResponse
pageResponse
typepage

Table Excerpt Include
statictrue
nameURLNotify
pageURLNotify
typepage

Table Excerpt Include
statictrue
nameUserData
pageUserData
typepage

Table Excerpt Include
statictrue
nameReqId-ans..32
pageReqId
typepage

Key

Format

CND

Description

Beschreibung

IPAddr

ans..15

O

Customer´s IP address in IPv4 or IPv6 format

IP-Adresse des Kunden im Format IPv4 oder IPv6

FirstNameans..100MFirst name of the custumerVorname des Kunden
LastNameans..100MLast name of the customerNachname des Kunden
MobileNon..20OCustomer’s mobile telephone numberMobiltelefonnummer des Kunden
CountryCodea2OTwo characters country code according to ISO 3166Ländercode zweistellig gemäß ISO 3166
Languageans..5OLanguage, e.g. de_DE, en_US, sv_SESprache, z.B. de_DE, en_US, sv_SE
SocialSecurityNumberans..20OSocial security number, identity card number etc.Sozialversicherungsnummer, Personalausweisnummer usw.
CustomerIdans..30OCustomer numberKundennummer
URLTemplateans..256O

URL of your individual layout for the payment form.

This template page can be self-designed but must be compliant to the security guidelins of Trustly.

-     all pictures need an absolute URL

-     all links must start with https

-     tags like script, iframe, frame, frameset, object, applet, etc are not allowed.

The page must contain the following tag at any place.

<!—TRUSTLY-PAYMENT-PAGE-GOES-HERE >

At this place the Trustly transaction page (600x600px) will be displayed.

URL zu Ihrem individuellen Layout für das Bezahlformular.

Diese Template-Seite kann selbst entworfen werden, muss aber den Sicherheitsrichtlinien von Trustly entsprechen.

-              Alle Bilder benötigen eine absolute URL

-              Alle Links müssen mit https beginnen

-              Tags wie script, iframe, frame, frame-set, object, applet, etc. sind nicht erlaubt.

Die Seite muss an einer beliebigen Stelle folgenden Tag enthalten:

<!—TRUSTLY-PAYMENT-PAGE-GOES-HERE >

An dieser Stelle wird die Trustly Transaction Seite (600x600px) angezeigt.

Table Excerpt Include
statictrue
namePlain
pagePlain
typepage

Table Excerpt Include
statictrue
nameCustom
pageCustom
typepage

Parameters for online transfers with Trustly


Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameResponse_IntroURL
PageWithExcerptReuse API

Table Filter
defaultBeschreibung
isFirstTimeEnterfalse
hideColumnstrue
sparkNameSparkline
hidePanetrue
datepatterndd M yy
id1644856263600_130882503
worklog365|5|8|y w d h m|y w d h m
isORAND
separatorPoint (.)
order0
Multiexcerpt
MultiExcerptNametrustly_response
Table Transformer
dateFormatdd M yy
export-wordfalse
show-sourcefalse
export-csvfalse
id1644856263603_-28263535
transposefalse
worklog365|5|8|y w d h m|y w d h m
separator.
export-pdffalse
sqlSELECT * FROM T*

Table Excerpt Include
statictrue
nameMID
pagemid
typepage

Table Excerpt Include
statictrue
namePayID
pagePayID
typepage

Table Excerpt Include
statictrue
nameXID
pageXID
typepage

Table Excerpt Include
statictrue
nameTransID
pageTransID
typepage

Key

Format

CND

Description

Beschreibung

Status

a..50

M

OK – is reported by

Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNamePlatform-Kurz
PageWithExcerptWording
via URLSuccess redirect and also as a separate notify
FAILED – is reported by
Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNamePlatform-Kurz
PageWithExcerptWording
via URLFailure redirect and also as a separate notify
AUTHORIZE_REQUEST – is reported in the first step via redirect to the URLSuccess, based on this response the payment must be defined as open.

Only the separate Notify reports the final status of the payment. If you want to receive the first open status (URLSuccess Redirect) additionally via URLNotify, please inform our

Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameHelpdesk-Name
PageWithExcerptWording
.

If this function is active, you will receive two notifies, the initial AUTHORIZE_REQUEST and later with the final status.

OK – wird vom

Multiexcerpt include
SpaceWithExcerptDE
MultiExcerptNamePlatform-Kurz
PageWithExcerptDE:Wording
via URLSuccess Redirect und auch im separaten Notify gemeldet
FAILED – wird vom
Multiexcerpt include
SpaceWithExcerptDE
MultiExcerptNamePlatform-Kurz
PageWithExcerptDE:Wording
via URLFailure Redirect und auch im separaten Notify gemeldet

AUTHORIZE_REQUEST – wird im ersten Schritt via Redirect auf die URLSuccess gemeldet, aufgrund dieser Rückmeldung muss die Zahlung als offen definiert werden.

Erst das separate Notify meldet den abschließenden Status der Zahlung. Wenn Sie den ersten offenen Status (URLSuccess Redirect) zusätzlich via URLNotify erhalten wollen, informieren Sie bitte unseren

Multiexcerpt include
SpaceWithExcerptDE
MultiExcerptNameHelpdesk-Name
PageWithExcerptDE:Wording
.

Wenn diese Funktion aktiv ist, erhalten Sie zwei Notifies, initial AUTHORIZE_REQUEST und später mit dem finalen Status.

Table Excerpt Include
statictrue
nameDescription
pageDescription
typepage

Table Excerpt Include
statictrue
nameCode
pageCode
typepage

Table Excerpt Include
statictrue
nameMAC
pageMAC
typepage

Table Excerpt Include
statictrue
nameUserData
pageUserData
typepage

Table Excerpt Include
statictrue
namePlain
pagePlain
typepage

Table Excerpt Include
statictrue
nameCustom
pageCustom
typepage

Key

Format

CND

Description

Beschreibung




Customer parameters (optional)Kundenparameter (optional)

AccountId

ans..30

O

Unique name/number to identify the specific customer account

Eindeutige(r) Name/Nummer zur Identifizierung des betreffenden Kundenkontos
Matchn1O0=not verified; 1=verified0=not verified; 1=verified
AccClearingHouseans..50OClearing house for that accountVerrechnungsstelle für dieses Konto
AccOwnerans..55OName of account holderName des Kontoinhabers
AccBankans..27OName of the bankName der Bank
AccDescriptorans..100OAdditional text for identifying the customerZusätzlicher Text zur Identifizierung des Kunden
IBANn8OLast digits of IBAN/ account numberLetzte Stellen der IBAN/Kontonummer
UserIdans..30OUnique name/number for identifying the respective customersEindeutige(r) Name/Nummer zur Identifizierung des betreffenden Kunden
AddrStreetans..100OCustomer’s street name and house numberStraßenname und Hausnummer des Kunden
AddrZipans..10OPostcode of the customerPostleitzahl des Kunden
AddrCityans..30OTown/city of the customerStadt des Kunden

Response parameters for URLSuccess, URLFailure and URLNotify with Trustly

 

If “PendingNotify” is configured, only the standard parameters without the optional customer parameters are returned additionally to URLNotify.



Credit with reference

Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameCredit_Intro
PageWithExcerptReuse API

Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameBaseURL
PageWithExcerptWording
credit.aspx


Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameRequest_Intro
PageWithExcerptReuse API

Table Filter
defaultBeschreibung
isFirstTimeEnterfalse
hideColumnstrue
sparkNameSparkline
hidePanetrue
datepatterndd M yy
id1644876917054_654190263
worklog365|5|8|y w d h m|y w d h m
isORAND
separatorPoint (.)
order0
Multiexcerpt
MultiExcerptNamecredit_request
Table Transformer
dateFormatdd M yy
export-wordfalse
show-sourcefalse
export-csvfalse
id1644876917056_-1628722191
transposefalse
worklog365|5|8|y w d h m|y w d h m
separator.
export-pdffalse
sqlSELECT * FROM T*

Table Excerpt Include
statictrue
nameMerchantID
pageMerchantID
typepage

Table Excerpt Include
statictrue
namePayID_Credit
pagePayID
typepage

Table Excerpt Include
statictrue
nameTransID
pageTransID
typepage

Table Excerpt Include
statictrue
nameAmount
pageAmount
typepage

Table Excerpt Include
statictrue
nameCurrency
pageCurrency
typepage

Table Excerpt Include
statictrue
nameMAC
pageMAC
typepage

Table Excerpt Include
statictrue
nameReqId-ans..32
pageReqId
typepage

Parameters for credits of payments with Trustly


Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameResponse_Intro
PageWithExcerptReuse API

Table Filter
defaultBeschreibung
isFirstTimeEnterfalse
hideColumnstrue
sparkNameSparkline
hidePanetrue
datepatterndd M yy
id1644877005596_264021740
worklog365|5|8|y w d h m|y w d h m
isORAND
separatorPoint (.)
order0
Multiexcerpt
MultiExcerptNamecredit_response
Table Transformer
dateFormatdd M yy
export-wordfalse
show-sourcefalse
export-csvfalse
id1644877005598_877450417
transposefalse
worklog365|5|8|y w d h m|y w d h m
separator.
export-pdffalse
sqlSELECT * FROM T*

Table Excerpt Include
statictrue
nameMID
pagemid
typepage

Table Excerpt Include
statictrue
namePayID
pagePayID
typepage

Table Excerpt Include
statictrue
nameXID
pageXID
typepage

Table Excerpt Include
statictrue
nameTransID
pageTransID
typepage

Table Excerpt Include
statictrue
nameStatus_OK_FAILED
pageStatus
typepage

Table Excerpt Include
statictrue
nameDescription
pageDescription
typepage

Table Excerpt Include
statictrue
nameCode
pageCode
typepage

Response parameters for credits of payments with Trustly



Batch processing via the interface

Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameBatch_Intro
PageWithExcerptReuse API

This section describes the parameters which must be transferred within the data set (Record) for executing credits with Trustly, which can be found within the response file about the payment status.

Following table gives an overview of all batch versions that are possible for a specific action and their specialities:

Table Filter
defaultBeschreibung
isFirstTimeEnterfalse
hideColumnstrue
sparkNameSparkline
hidePanetrue
datepatterndd M yy
id1644877425973_-1009447815
worklog365|5|8|y w d h m|y w d h m
isORAND
separatorPoint (.)
order0
Multiexcerpt
MultiExcerptNamebatch_versions
Table Transformer
dateFormatdd M yy
export-wordfalse
show-sourcefalse
export-csvfalse
id1644877425974_-1990291712
transposefalse
worklog365|5|8|y w d h m|y w d h m
separator.
export-pdffalse
sqlSELECT * FROM T*

Action

Version

Description

Beschreibung

Credit

1.0 / 2.0

Standard version without return of parameter Code

Standardversion ohne Rückgabe von Parameter Code


1.x / 2.x

with RefNr (valid for all versions other than 1.0)

mit RefNr (gilt für alle Versionen außer 1.0)

Description of the possible batch versions


The structure for a Trustly payment within a Batch file to be submitted is as follows:

Multiexcerpt
MultiExcerptNamebatch_structure
shouldDisplayInlineCommentsInIncludesfalse
Code Block
languagexml
HEAD,<MerchantID>,<Date>,<Version>
Trustly,Credit,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID>
FOOT,<CountRecords>,<SumAmount>


Example for Master MID function:

Multiexcerpt
MultiExcerptNamebatch_mastermid
shouldDisplayInlineCommentsInIncludesfalse
Code Block
languagexml
HEAD,[Master]MerchantID,Date,2.x
Type,Action,[Slave]MID,Amount,Currency,TransID,Data (depends on Action)
FOOT,CountRecords,SumAmount


Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameBatch_Request_Intro
PageWithExcerptReuse API

Table Filter
defaultBeschreibung
isFirstTimeEnterfalse
hideColumnstrue
sparkNameSparkline
hidePanetrue
datepatterndd M yy
id1644877551190_-74965912
worklog365|5|8|y w d h m|y w d h m
isORAND
separatorPoint (.)
order0
Multiexcerpt
MultiExcerptNamebatch_request
Table Transformer
dateFormatdd M yy
export-wordfalse
show-sourcefalse
export-csvfalse
id1644877551193_154867106
transposefalse
worklog365|5|8|y w d h m|y w d h m
separator.
export-pdffalse
sqlSELECT * FROM T*

Key

Format

CND

Description

Beschreibung

Type

a..11

M

HEAD for Header, FOOT for Footer, Trustly for Trustly

HEAD für Header, FOOT für Footer, Trustly für Trustly

Action

a..20

M

The parameter Action defines the type of transaction:

Credit

Der Action-Parameter definiert die Art der Transaktion:

Credit (Gutschrift)

Table Excerpt Include
nameAmount
pageAmount
typepage

Table Excerpt Include
statictrue
nameCurrency
pageCurrency
typepage

Table Excerpt Include
statictrue
nameTransID
pageTransID
typepage

Key

Format

CND

Description

Beschreibung

RefNr

ns..30

O

Merchant's unique reference numberEindeutige Referenznummer des Händlers

Table Excerpt Include
statictrue
namePayID_Batch
pagePayID
typepage

Description of fields within the record for Batch files

 

The record area within the response file for Batch transactions looks as follows:

Multiexcerpt
MultiExcerptNamebatch_structure_response
shouldDisplayInlineCommentsInIncludesfalse
Code Block
languagexml
HEAD,<MerchantID>,<Date>,<Version>
Trustly,Credit,<Amount>,<Currency>,<TransID>,(<RefNr>,)<PayID>,<Status>,<Code>
FOOT,<CountRecords>,<SumAmount>


Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameBatch_Response_Intro
PageWithExcerptReuse API

Table Filter
defaultBeschreibung
isFirstTimeEnterfalse
hideColumnstrue
sparkNameSparkline
hidePanetrue
datepatterndd M yy
id1644877711186_854258574
worklog365|5|8|y w d h m|y w d h m
isORAND
separatorPoint (.)
order0
Multiexcerpt
MultiExcerptNamebatch_response
Table Transformer
dateFormatdd M yy
export-wordfalse
show-sourcefalse
export-csvfalse
id1644877711187_-111430100
transposefalse
worklog365|5|8|y w d h m|y w d h m
separator.
export-pdffalse
sqlSELECT * FROM T*

Key

Format

CND

Description

Beschreibung

Action

a..20

M

The parameter Action defines the type of transaction:

Credit

Der Action-Parameter definiert die Art der Transaktion:

Credit (Gutschrift)

Table Excerpt Include
statictrue
namePayID_Batch
pagePayID
typepage

Table Excerpt Include
statictrue
nameStatus_OK_FAILED
pageStatus
typepage

Table Excerpt Include
statictrue
nameCode
pageCode
typepage

Description of result parameters within the record for Batch files


Test data

Table Filter
ddSeparatorstrue
inversefalse
defaultBeschreibung&&
hideColumnstrue
sparkNameSparkline
hidePanetrue
datepatterndd M yy
id1631034498114_536535656
worklog365|5|8|y w d h m|y w d h m
isORAND
separatorPoint (.)
order0

Multiexcerpt include
SpaceWithExcerptEN
MultiExcerptNameTestdata
PageWithExcerptTest Trustly