Register an x402 endpoint
x402
Register an x402 endpoint
Register an API endpoint that will accept x402 micropayments. Returns a payment address and asset details to advertise in 402 responses.
POST
Register an x402 endpoint
Authorizations
API key (pk_test_* or pk_live_), JWT session, agent token (agent_), Ed25519 session (sess_), or portal token (portal_).
Body
application/json
Required string length:
1 - 255Required string length:
1 - 500Pattern:
^\/Available options:
GET, POST, PUT, DELETE, PATCH, ANY Required range:
0.0001 < x <= 999999Maximum string length:
1000Available options:
USDC, EURC Response
Endpoint registered