Skip to main content

Interactive Playground

See how t402 payments work in real-time. Configure your payment settings and watch the HTTP 402 flow in action.

Configuration

Payment Flow

1

Client Request

Make HTTP request without payment

2

402 Response

Server returns payment required

3

User Pays

Wallet signs payment authorization

4

Verified Access

Content delivered after payment

1. Client Request

Client makes HTTP request to protected endpoint

request.js
fetch("https://api.example.com/api/premium-content", {
  method: "GET",
  headers: {
    "Content-Type": "application/json",
  },
})

Ready to integrate?

Add t402 payments to your API in minutes. Our SDKs handle all the complexity - you just define your pricing.

HTTP Native

Uses standard HTTP 402 status code. Works with any HTTP client, any programming language.

Gasless Payments

Users sign a message, not a transaction. No gas fees required for EIP-3009 compatible tokens.

Instant Settlement

Payments are verified and settled in real-time. No waiting for confirmations on supported chains.