curl --request POST \
--url https://api.example.com/v1/sdk/products \
--header 'Content-Type: application/json' \
--data '
{
"name": "AI Writing Assistant",
"config": {},
"description": "AI-powered writing tool",
"imageUrl": "<string>",
"isMcpPay": false,
"metadata": {},
"productType": "Coding Assistant"
}
'{
"balance": 0,
"createdAt": "<string>",
"id": "507f1f77bcf86cd799439011",
"isMcpPay": false,
"name": "AI Writing Assistant",
"reference": "prd_1A2B3C4D",
"status": "active",
"totalTransactions": 0,
"updatedAt": "<string>",
"config": {},
"description": "<string>",
"imageUrl": "<string>",
"metadata": {},
"plans": [
"<string>"
],
"productType": "<string>"
}Creates a new product for the authenticated provider. Products are the unified revenue target that replaces the legacy Agent/McpServer entities.
curl --request POST \
--url https://api.example.com/v1/sdk/products \
--header 'Content-Type: application/json' \
--data '
{
"name": "AI Writing Assistant",
"config": {},
"description": "AI-powered writing tool",
"imageUrl": "<string>",
"isMcpPay": false,
"metadata": {},
"productType": "Coding Assistant"
}
'{
"balance": 0,
"createdAt": "<string>",
"id": "507f1f77bcf86cd799439011",
"isMcpPay": false,
"name": "AI Writing Assistant",
"reference": "prd_1A2B3C4D",
"status": "active",
"totalTransactions": 0,
"updatedAt": "<string>",
"config": {},
"description": "<string>",
"imageUrl": "<string>",
"metadata": {},
"plans": [
"<string>"
],
"productType": "<string>"
}Product name
"AI Writing Assistant"
Product-specific configuration
Product description
"AI-powered writing tool"
URL to the product image
Whether this product uses MCP Pay proxy
Arbitrary key-value metadata
Free-form product type defined by the provider
"Coding Assistant"
Product created successfully
Product balance in cents
0
Creation timestamp
Product ID
"507f1f77bcf86cd799439011"
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
Product description
URL to the product image
Arbitrary key-value metadata
Plans associated with this product
Free-form product type