Products
Get a product by reference
Changed onRetrieves a product by its reference or ID, including embedded plans.
get/v1/sdk/products/{productRef}
Request
- Base URLhttps://api.solvapay.com
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
productRefstring required
Example:prd_1A2B3C4D
Product reference or ID
Response
Product retrieved 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
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