# Overview

## 1. API Reference

Use this section if you want to connect your backend with honei services.\
Here you’ll find everything needed for **server-to-server** communication:

* **Getting Started**: How to authenticate and set up your environment.
* **Authorization**: Credentials, tokens, and environments (sandbox / production).
* **Endpoints**:
  * *New Sale* → create and initialize payment transactions.
  * *Other endpoints* depending on your workflow.

This is the recommended starting point for most integrations.

## 2. Android Integration

If you’re building a **third-party Android app** (POS, ordering system, etc.), honei Terminal can be invoked using **Android Intents**. This allows you to:

* **Payments**: Launch the payment flow from your app (`INIT_PAYMENT`) and receive the result back via `onActivityResult`.
* **Printing**: Send a structured JSON (`PRINT_TICKET`) to print receipts with text, images, and barcodes.

This approach requires no SDK — it’s a lightweight, intent-based integration.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://integration.terminal.honei.app/overview.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
