request_endpoint_creation_payment
Return the x402 payment challenge (v1 JSON body plus, when the server sends it, the decoded v2 PAYMENT-REQUIRED header as paymentRequired) needed to create a new agent endpoint. Requires a dashboard PAT with mcp:endpoints:write or mcp:*.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accessToken": "<accessToken>",
"slug": "<slug>",
"name": "<name>",
"originUrl": "<originUrl>",
"walletAddress": "<walletAddress>",
"chain": "<chain>"
},
"name": "request_endpoint_creation_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Pricing mode | |
| name | Yes | Human-readable endpoint name | |
| slug | Yes | Unique slug for the new endpoint | |
| chain | Yes | Primary payout network, usually base, solana, or both | |
| price | No | Price per request or base package price | |
| category | No | Marketplace category | |
| currency | No | Payout currency, default USDC | |
| imageUrl | No | Endpoint image URL | |
| bannerUrl | No | Endpoint banner URL | |
| originUrl | Yes | Origin URL of the endpoint backend | |
| webhookUrl | No | Optional HTTPS webhook URL | |
| accessToken | Yes | Your dashboard MCP personal access token (sgl_pat_*). Can be omitted when the connection sends Authorization: Bearer sgl_pat_* | |
| description | No | Endpoint description | |
| walletAddress | Yes | Primary payout wallet address | |
| purchaseAmount | No | USDC amount to pay on creation, minimum 5 | |
| listOnMarketplace | No | Whether to list the endpoint publicly | |
| walletAddressSecondary | No | Secondary wallet when chain is both |