(Deprecated) Initialize Trustly Payment

Trustly is a Swedish payment method used in 29 European countries. With Trustly you can buy and pay from your bank account.

Body Params
string

End user email

string

End user first name

string

End user last name

string

Your site returns the URL, called to terminate the operation and on which the callback will be sent, with data in POST parameters.
This URL must contain a unique ID so you know which operation is related to the return.

string
length between 0 and 50

Unique ID of the call, generated by your server. This ID can be used as a search field when looking for operation details

string
required
length between 0 and 256

Payment Account ID to Credit

int32
required

Amount to Debit
Amounts are given as integer numbers in cents

int32

Your Fee
Amounts are given as integer numbers in cents

string
length between 0 and 140

Comment Regarding the Transaction

boolean

If true:

  1. [amountCom] will be ignored and will be replaced with Lemonway's fee
  2. You will not receive any fee
Headers
string
required

Authorization bearer (OAuth 2)

string

Response language accepted by final client (PSU). English by default

string
required

IP address of the final client (PSU).

string

User-agent of the final client (PSU).

Responses

401

Unauthorized

500

InternalServerError

Language
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json