# Welcome

**BlockPay** is an open-source payment infrastructure for the agentic economy. It brings the [x402 open standard](https://www.x402.org/) to the [Sui](https://sui.io/) blockchain, letting any API, service, or autonomous agent charge and pay per request over plain HTTP with no accounts, no API keys, no subscriptions.

This documentation is organized into three sections:

* **Disclaimer:** what BlockPay is and, just as importantly, what it is not. Please read this first.
* **Introduction:** the vision, why BlockPay exists, and who it's for.
* **Protocol:** the high-level architecture, the payment flow, and the role of the Facilitator.
* **Integration:** how to install the `@blockpay402/*` SDK packages and start accepting or making payments.

### Quick links

| Resource            | Link                              |
| ------------------- | --------------------------------- |
| npm organization    | `@blockpay402/*` on npm           |
| Underlying standard | [x402.org](https://www.x402.org/) |
| Settlement layer    | [Sui](https://sui.io/)            |

> **Status: Experimental.** BlockPay is under active development. Interfaces, schemes, and on-chain contracts may change without notice. See the Disclaimer before building anything serious on top of it.


---

# 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.blockpay.gg/welcome.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.
