---
title: "Establish"
method: POST
path: "eventNotifications_Establish"
---

# Establish

`POST eventNotifications_Establish` (webhook)

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

## Payload

- EventEstablish: The 'Establish' event is triggered when a new transaction has been created. This event may occur when a user activates the Trustly UI or when a transaction is created via an API call.
  - `createdAt` string, int64: The timestamp when the event was created, represented as a Unix timestamp in milliseconds.
  - `eventId` string: Unique identifier for the event.
  - `eventType` string: The type of event that triggered the webhook.
  - `merchantId` string: The unique identifier of the merchant.
  - `message` string: A message describing the event.
  - `objectId` string: Unique identifier for the object associated with the event, such as a transaction.
  - `objectType` string: The type of object associated with the event (e.g., Transaction).
  - `paymentType` string: Type of payment, denoted by a numeric code.
  - `status` string: Status code representing the current state of the transaction.
  - `statusMessage` string: A message describing the current status of the transaction.
  - `timeZone` string: The timezone of the event, formatted in IANA timezone database format.
  - `transactionType` string: Type of transaction, denoted by a numeric code.
  - `merchantReference` string
  - `paymentProviderTransaction` EventEstablishPaymentProviderTransaction
    - `status` string
    - `statusMessage` string

## Acknowledgement `200`

Webhook received successfully

---

[API](https://skmtc.dev/trustly/apis/trustly-scalar-api.md) - [All operations](https://skmtc.dev/trustly/apis/trustly-scalar-api/llms.txt) - [OpenAPI document](https://skmtc.dev/trustly/apis/trustly-scalar-api/revisions/5c376a06c899?raw)
