Skip to main content
GET
/
api
/
product
/
{productId}
Get product details
curl --request GET \
  --url https://api.suby.fi/api/product/{productId} \
  --header 'X-Suby-Api-Key: <api-key>'
{
  "success": true,
  "data": {
    "id": "pro_abc123",
    "name": "Premium Monthly Subscription",
    "description": "Monthly premium membership with exclusive features",
    "status": "ACTIVE",
    "platform": "WEB",
    "frequencyInDays": 30,
    "priceCents": "999",
    "currency": "EUR",
    "supply": 100,
    "imageUrl": "https://example.com/product.png",
    "createdAt": "2026-01-15T10:30:00.000Z",
    "paymentMethods": [
      "CRYPTO",
      "CARD"
    ],
    "acceptedAssets": [
      {
        "symbol": "USDC",
        "decimals": 6
      }
    ],
    "acceptedChains": [
      {
        "id": 8453,
        "name": "Base"
      }
    ],
    "discordGuildId": "123456789012345678",
    "discordRoleId": "987654321098765432",
    "discordRemindersId": "111222333444555666",
    "telegramGroupId": "-1001234567890"
  }
}

Authorizations

X-Suby-Api-Key
string
header
required

API key authentication. Include your API key in the X-Suby-Api-Key header:

X-Suby-Api-Key: your_api_key_here

Path Parameters

productId
string
required

Unique identifier of the product to retrieve

Response

Product details retrieved successfully

success
boolean

Indicates if the request was successful

Example:

true

data
object

Product configuration and details. The response shape adapts based on the product's platform:

  • WEB/INVOICE: Base fields only
  • DISCORD: Base fields + discordGuildId, discordRoleId, discordRemindersId
  • TELEGRAM: Base fields + telegramGroupId