### Plugin API

**Emits**

* `getProducts`, expects the list of products in return
* `buy`, sends a product id and expects the receipt back
