Products
Create a product
Changed onCreates a new product for the authenticated provider.
post/v1/sdk/products
Request
- Base URLhttps://api.solvapay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Product created successfully
Example response
{
"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"
}Changes
- info
added the new optional request property
- info
response property
isMcpPaydeprecated - info
added the required property
to the response with the status
- info
- info
added the optional property
//to the response with the status
- info