curl --request POST \
--url https://api.example.com/v1/sdk/products/mcp/bootstrap \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {},
"originUrl": "<string>",
"authApiKey": "<string>",
"authHeaderName": "<string>",
"description": "<string>",
"imageUrl": "<string>",
"mcpDomain": "<string>",
"name": "<string>",
"plans": [
{
"currency": "<string>",
"key": "<string>",
"name": "<string>",
"price": 1,
"billingCycle": "weekly",
"billingModel": "pre-paid",
"creditsPerUnit": 123,
"features": {},
"freeUnits": 1,
"limit": 1,
"type": "recurring"
}
],
"productType": "<string>",
"tools": [
{
"name": "<string>",
"description": "<string>",
"noPlan": true,
"planKeys": [
"<string>"
]
}
]
}
'{
"mcpServer": {
"defaultPlanRef": "pln_FREE123",
"mcpProxyUrl": "https://acme-docs.mcp.solvapay.com/mcp",
"reference": "mcp_ABC123",
"subdomain": "acme-docs",
"url": "https://origin.example.com/mcp"
},
"planMap": {
"free": {
"name": "Free",
"reference": "pln_FREE123"
}
},
"product": {
"balance": 0,
"createdAt": "<string>",
"isMcpPay": false,
"name": "AI Writing Assistant",
"reference": "prd_1A2B3C4D",
"status": "active",
"totalTransactions": 0,
"updatedAt": "<string>",
"config": {
"deliveryMethod": "api",
"fulfillmentType": "digital",
"validityPeriod": 30
},
"description": "<string>",
"imageUrl": "<string>",
"mcp": {
"defaultPlanRef": "pln_FREE123",
"mcpProxyUrl": "https://acme-docs.mcp.solvapay.com/mcp",
"mcpServerRef": "mcp_ABC123",
"mcpSubdomain": "acme-docs",
"originUrl": "https://origin.example.com/mcp"
},
"metadata": {},
"plans": [
{
"createdAt": "<string>",
"currency": "USD",
"isActive": true,
"price": 2999,
"reference": "pln_1A2B3C4D",
"requiresPayment": true,
"status": "active",
"updatedAt": "<string>",
"billingCycle": "monthly",
"billingModel": "pre-paid",
"creditsPerUnit": 1,
"currencySymbol": "$",
"features": {},
"freeUnits": 1000,
"limit": 10000,
"limits": {},
"measures": "requests",
"meterRef": "mtr_1A2B3C4D",
"rolloverUnusedUnits": false,
"setupFee": 500,
"trialDays": 14
}
],
"productType": "<string>"
},
"autoMappedTools": [
{
"description": "<string>",
"name": "<string>"
}
],
"toolsAutoMapped": true
}Creates an MCP-enabled product with a unified plans array, configures origin URL, and maps tools to plans in one request.
curl --request POST \
--url https://api.example.com/v1/sdk/products/mcp/bootstrap \
--header 'Content-Type: application/json' \
--data '
{
"metadata": {},
"originUrl": "<string>",
"authApiKey": "<string>",
"authHeaderName": "<string>",
"description": "<string>",
"imageUrl": "<string>",
"mcpDomain": "<string>",
"name": "<string>",
"plans": [
{
"currency": "<string>",
"key": "<string>",
"name": "<string>",
"price": 1,
"billingCycle": "weekly",
"billingModel": "pre-paid",
"creditsPerUnit": 123,
"features": {},
"freeUnits": 1,
"limit": 1,
"type": "recurring"
}
],
"productType": "<string>",
"tools": [
{
"name": "<string>",
"description": "<string>",
"noPlan": true,
"planKeys": [
"<string>"
]
}
]
}
'{
"mcpServer": {
"defaultPlanRef": "pln_FREE123",
"mcpProxyUrl": "https://acme-docs.mcp.solvapay.com/mcp",
"reference": "mcp_ABC123",
"subdomain": "acme-docs",
"url": "https://origin.example.com/mcp"
},
"planMap": {
"free": {
"name": "Free",
"reference": "pln_FREE123"
}
},
"product": {
"balance": 0,
"createdAt": "<string>",
"isMcpPay": false,
"name": "AI Writing Assistant",
"reference": "prd_1A2B3C4D",
"status": "active",
"totalTransactions": 0,
"updatedAt": "<string>",
"config": {
"deliveryMethod": "api",
"fulfillmentType": "digital",
"validityPeriod": 30
},
"description": "<string>",
"imageUrl": "<string>",
"mcp": {
"defaultPlanRef": "pln_FREE123",
"mcpProxyUrl": "https://acme-docs.mcp.solvapay.com/mcp",
"mcpServerRef": "mcp_ABC123",
"mcpSubdomain": "acme-docs",
"originUrl": "https://origin.example.com/mcp"
},
"metadata": {},
"plans": [
{
"createdAt": "<string>",
"currency": "USD",
"isActive": true,
"price": 2999,
"reference": "pln_1A2B3C4D",
"requiresPayment": true,
"status": "active",
"updatedAt": "<string>",
"billingCycle": "monthly",
"billingModel": "pre-paid",
"creditsPerUnit": 1,
"currencySymbol": "$",
"features": {},
"freeUnits": 1000,
"limit": 10000,
"limits": {},
"measures": "requests",
"meterRef": "mtr_1A2B3C4D",
"rolloverUnusedUnits": false,
"setupFee": 500,
"trialDays": 14
}
],
"productType": "<string>"
},
"autoMappedTools": [
{
"description": "<string>",
"name": "<string>"
}
],
"toolsAutoMapped": true
}MCP product bootstrapped successfully
Created or updated MCP server identity
{
"defaultPlanRef": "pln_FREE123",
"mcpProxyUrl": "https://acme-docs.mcp.solvapay.com/mcp",
"reference": "mcp_ABC123",
"subdomain": "acme-docs",
"url": "https://origin.example.com/mcp"
}Resolved plan mapping by bootstrap key
{
"free": {
"name": "Free",
"reference": "pln_FREE123"
}
}Created product
Show child attributes
Auto-discovered tools used during bootstrap
Show child attributes
True when tools were auto-discovered from origin because the request omitted tools
true