Products
Bootstrap MCP product integration
Changed onCreates an MCP-enabled product with a unified plans array, configures origin URL, and maps tools to plans in one request.
post/v1/sdk/products/mcp/bootstrap
Request
- Base URLhttps://api.solvapay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
MCP product bootstrapped successfully
Example response
{
"mcpServer": {
"defaultPlanRef": "pln_FREE123",
"id": "507f1f77bcf86cd799439011",
"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": {
"config": {
"deliveryMethod": "api",
"fulfillmentType": "digital",
"validityPeriod": 30
},
"mcp": {
"defaultPlanRef": "pln_FREE123",
"mcpProxyUrl": "https://acme-docs.mcp.solvapay.com/mcp",
"mcpServerRef": "mcp_ABC123",
"mcpSubdomain": "acme-docs",
"originUrl": "https://origin.example.com/mcp"
},
"name": "AI Writing Assistant",
"plans": [
{
"currency": "USD",
"currencySymbol": "$",
"description": "Best for teams getting started",
"isActive": true,
"name": "Starter",
"price": 2999,
"reference": "pln_1A2B3C4D",
"requiresPayment": true,
"status": "active",
"type": "recurring"
}
],
"reference": "prd_1A2B3C4D",
"status": "active"
},
"toolsAutoMapped": true
}Changes
- breaking
removed
subschema #4subschema #6subschema #8from the///request propertyoneOflist - info
added
subschema #4subschema #6to the///request propertyoneOflist
- breaking
- breaking
removed the enum value
top_upof the request property///// - info
added the new
draw_creditsenum value to the request property/////
- breaking