41 lines
793 B
JSON

{
"name": "express",
"type": "server",
"language": "typescript",
"x402Version": 2,
"extensions": [
"bazaar"
],
"endpoints": [
{
"path": "/protected",
"method": "GET",
"description": "Protected endpoint requiring payment",
"requiresPayment": true,
"protocolFamily": "evm",
"scheme": "exact",
"assetTransferMethod": "eip3009"
},
{
"path": "/health",
"method": "GET",
"description": "Health check endpoint",
"health": true
},
{
"path": "/close",
"method": "POST",
"description": "Graceful shutdown endpoint",
"close": true
}
],
"environment": {
"required": [
"PORT",
"EVM_PAYEE_ADDRESS",
"FACILITATOR_URL"
],
"optional": []
}
}