curl --request POST \
--url https://api.example.com/v1/sdk/products/{productRef}/clone \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"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>"
}Deep-copies a product including all its plans. Generates new references for the clone.
curl --request POST \
--url https://api.example.com/v1/sdk/products/{productRef}/clone \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>"
}
'{
"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>"
}Product reference or ID to clone
1Product cloned successfully
Product balance in cents
0
Creation timestamp
Whether this product uses MCP Pay proxy
false
Product name
"AI Writing Assistant"
Product reference
"prd_1A2B3C4D"
Product status
"active"
Total number of transactions
0
Last update timestamp
Product-specific configuration
Show child attributes
Product description
URL to the product image
MCP linkage details for MCP-enabled products
{
"defaultPlanRef": "pln_FREE123",
"mcpProxyUrl": "https://acme-docs.mcp.solvapay.com/mcp",
"mcpServerRef": "mcp_ABC123",
"mcpSubdomain": "acme-docs",
"originUrl": "https://origin.example.com/mcp"
}Arbitrary key-value metadata
Plans associated with this product
Show child attributes
Free-form product type