# Developer API

You can import **ExcellentShop** to your project using Maven. Replace `{VERSION}` with the latest version below:

![](https://repo.nightexpressdev.com/api/badge/latest/releases/su/nightexpress/excellentshop/Core?color=40c14a&name=ExcellentShop&prefix=v)
```xml
<repository>
  <id>nightexpress-releases</id>
  <url>https://repo.nightexpressdev.com/releases</url>
</repository>

<dependency>
  <groupId>su.nightexpress.excellentshop</groupId>
  <artifactId>Core</artifactId>
  <version>{VERSION}</version>
</dependency>
```

## Events

### Transactions

You can listen to the following events to track, modify or cancel shop transactions:

- `TransactionPreValidateEvent` - When shop transaction is about to be validated. [!badge variant="success" text="Cancellable"]
- `TransactionValidatedEvent` - When shop transaction is available and ready to be completed. [!badge variant="success" text="Cancellable"]
- `TransactionCompletedEvent` - When shop transaction is completed and ready to be finished. [!badge variant="success" text="Cancellable"]

## API

v5 API is work in progress...
