> For the complete documentation index, see [llms.txt](https://dev.simplepay.ai/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.simplepay.ai/docs/introduction/core-concepts/direct-payments.md).

# Direct payments

## Overview

<figure><img src="/files/Vql1g0JYLnrq864tWfZ6" alt=""><figcaption></figcaption></figure>

Direct payments signify a transaction methodology where funds flow uninterruptedly from the payer to the payee, without reliance on intermediaries or custodial entities. In the context of SimplePay, this approach ensures that merchants **receive payments directly into their wallets**, maximizing [security](/docs/introduction/security.md), efficiency, and transparency.

## Defining Characteristics

### **Uninterrupted Fund Flow:**

* Payments are processed without detours through third-party custodians or payment gateways.
* This ensures that the transaction is completed quickly and efficiently.

### **Merchant-Centric Transactions:**

* The recipient (merchant) retains complete control over the funds immediately upon transaction validation.
* There are no delays or restrictions commonly associated with centralized systems.

### **Blockchain Assurance:**

* Transactions are recorded on-chain, providing a verifiable and tamper-proof record of payment.
* This transparency builds trust between all parties involved.

## Workflow

{% stepper %}
{% step %}
**Invoice Creation**

The merchant generates an invoice specifying the amount, currency, and any metadata (e.g., order ID).
{% endstep %}

{% step %}
**Customer Payment**

Customers scan the QR code or follow the payment link associated with the invoice.

The transaction is initiated from the customer’s cryptocurrency wallet.
{% endstep %}

{% step %}
**On-Chain Validation**

SimplePay queries the blockchain to verify that the payment matches the invoice details.

If discrepancies occur, the system notifies the customer for corrective action.
{% endstep %}

{% step %}
**Direct Transfer**

Once validated, the funds are transferred immediately to the merchant’s wallet.

The SimplePay system marks the invoice as "Paid" and notifies the merchant.
{% endstep %}
{% endstepper %}

## Key Advantages

<table data-view="cards"><thead><tr><th></th><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Speed</strong></td><td>Direct payments eliminate delays caused by intermediary processing.</td><td></td><td></td></tr><tr><td><strong>Transparency</strong></td><td>Blockchain validation provides an open and traceable transaction history.</td><td></td><td></td></tr><tr><td><strong>Security</strong></td><td>Funds are transferred directly to the merchant, minimizing the risk of interception or fraud.</td><td></td><td></td></tr></tbody></table>

***

## &#x20;Real-World Application

A customer purchases a product worth 100 USDT in TRC20 using SimplePay:

* The merchant generates an invoice through the [API](/docs/api-documentation/overview.md) or [dashboard](https://console.simplepay.ai).
* The customer scans the QR code with their cryptocurrency wallet and approves the payment.
* SimplePay validates the transaction on-chain, ensuring accuracy and compliance.
* The payment is deposited directly into the merchant’s wallet, and the invoice status is updated in real-time.

This streamlined process illustrates the efficiency and reliability of direct payments, making it a preferred choice for modern commerce.

***

####


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://dev.simplepay.ai/docs/introduction/core-concepts/direct-payments.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
