Establish

The Establish event indicates that a new transaction has been created. This occurs when a user activates the Trustly User Interface (UI) or when you create a transaction using the API.

Note on Example Events Although webhook payload examples, shown to the right, appear in JSON format, all webhook payloads from Trustly are URL encoded strings. Content-Type: application/x-www-form-urlencoded

Form Data

A new transaction has been established

string

The timestamp when the event was created, represented as a Unix timestamp in milliseconds.

string

Unique identifier for the event.

string

The type of event that triggered the webhook.

string

The unique identifier of the merchant.

string

A message describing the event.

string

Unique identifier for the object associated with the event, such as a transaction.

string

The type of object associated with the event (e.g., Transaction).

string

Type of payment, denoted by a numeric code.

string

Status code representing the current state of the transaction.

string

A message describing the current status of the transaction.

string

The timezone of the event, formatted in IANA timezone database format.

string

Type of transaction, denoted by a numeric code.

string
paymentProviderTransaction
object
Response
200

Return a 200 status to indicate that the data was received successfully

LoadingLoading…