x402 Payments on GOAT Network
x402 is the payment rail for apps, APIs, and agents that want machine-readable monetization on top of GOAT Network. It turns HTTP 402 Payment Required into a practical workflow for charging, authorizing, settling, and delivering protected responses.
Within GOAT Network, x402 is part of the broader Digital Economy infrastructure stack:
- Settlement-aware payments for apps and APIs
- Monetization rails for autonomous agents
- Payment-triggered business logic for advanced callback flows
- Composable pairing with trust layers such as ERC-8004
If you are using x402 through AgentKit, start with the AgentKit x402 payments guide. This page remains the protocol and integration overview.
Why x402 Matters
x402 is a good fit when you need:
- paid API routes without API-key-only gating
- usage-based charging for apps or services
- machine-speed payments for agents
- callback-enabled settlement flows that can trigger on-chain logic
It is less useful when you only need offchain subscriptions or a simple donation address with no delivery logic.
Where x402 Fits in GOAT Network
Payment Flow
Supported Modes
| Mode | Best for | Core property |
|---|---|---|
DIRECT | simple payment-gated APIs and content | user pays merchant address directly |
DELEGATE | advanced workflows with settlement orchestration | payment can trigger callback-enabled business logic |
What to Read Next
Developer Quick Start
Get a payment flow working with the fastest integration path.
Payment Modes
Choose between DIRECT and DELEGATE before you design your integration.
API Reference
Use the exact auth model, endpoints, order states, and error semantics.
Merchant Onboarding
Set up merchant configuration, receiving addresses, credentials, and go-live checks.
FAQ
Review the most common implementation, trust, and user-experience questions.