# How AstraPay Works?

#### 🔄 **The Flow of a Payment**

When a customer initiates a payment through AstraPay (via a link, checkout button, or direct integration), the system instantly generates a **temporary wallet address**. This address is:

* **Unique per transaction**
* Linked to a **Payment ID** and **Verification ID** for tracking
* Used only once and never reused

Once the customer sends the payment, the funds are automatically transferred from the temporary wallet to the merchant’s designated receiving wallet — all within seconds. AstraPay never holds or controls the funds.

This design ensures both security and transparency, while allowing payments to be validated and tracked in real time.

#### 🧾 **Ways to Accept Payments**

AstraPay supports multiple integration options:

* **Smart Payment Links** – instantly shareable via social media, messaging apps, or email
* **Redirect from Website or App** – send customers to a secure hosted checkout
* **Embedded Checkout** – integrate AstraPay directly into your website, app, or bot

All options rely on the same non-custodial flow — ensuring maximum flexibility and full control.

#### 🛡️ **Wallet Setup & Security**

To create a business account, users connect their Web3 wallet and verify their email. This wallet acts as your **identity and login method**, but it does **not need to be used for receiving payments**.

Merchants can assign any wallet address to receive funds — including **offline cold wallets or multi-sig vaults** — providing complete freedom and security.

#### 📊 **Real-Time Dashboard**

Once registered, users gain access to a powerful dashboard where they can:

* Monitor transactions in real time
* Create and manage products or invoices
* Generate payment links
* Track analytics and performance
* Access AI-powered tools (via $ASTRA)

#### ⚙️ **Fee Model**

AstraPay charges ultra-low fees, down to **0.5%**, which are automatically deducted during the transaction. Merchants receive the **net amount directly into their wallet**, with no need for manual claims or withdrawals.

<figure><img src="/files/p7DcBPhF5zZl7ZJQtnWc" alt=""><figcaption><p>Tier Based Fee Model with $ASTRA Rewards</p></figcaption></figure>

AstraPay is designed to be secure, scalable, and easy to use — giving you the infrastructure to accept crypto payments globally without friction, custody, or compromise.


---

# 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://docs.chatastra.ai/astrapay/getting-started/how-astrapay-works.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.
