# Gateway: Verification & Intent Layer

*ONCHAIN®* Gateway orchestrates the top of the funnel — verifying payments, validating assets, enforcing compliance, and broadcasting BuyIntents to OPN.

### Responsibilities

#### **1. Context Loading**

* Detect chain
* Detect token
* Hydrate metadata via Smart Guardrails

#### **2. Payment Handling**

Supported payment rails:

* Cards
* Apple Pay
* Google Pay
* Local methods (depending on region)
* Native crypto

#### **3. Compliance + Safety**

* KYC/AML where needed
* Travel Rule compliance
* Fraud detection
* Sanctions screening

#### **4. Intent Broadcasting**

Gateway converts a successful payment into a **BuyIntent** and commits it to the IntentRegistry.

#### **5. Session Security**

Protection against:

* Replay
* Injection
* Manipulation
* Tampering

Gateway makes access safe at the moment of discovery.


---

# 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.onchain.money/getting-started/gateway-verification-and-intent-layer.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.
