Skip to main content
GET
/
api
/
public
/
v1
/
products
/
{productId}
Get product by ID
curl --request GET \
  --url https://app.tagadapay.com/api/public/v1/products/{productId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "prod_123",
  "name": "Premium Plan",
  "description": "Our premium subscription plan with advanced features",
  "variants": [
    {
      "id": "var_123",
      "name": "Monthly",
      "default": true,
      "prices": [
        {
          "id": "price_123",
          "recurring": true,
          "interval": "month",
          "intervalCount": 1,
          "currencyOptions": {
            "USD": {
              "amount": 2999,
              "currency": "USD"
            },
            "EUR": {
              "amount": 2599,
              "currency": "EUR"
            }
          }
        }
      ]
    }
  ]
}

Authorizations

Authorization
string
header
required

Enter your API key as: Bearer your-api-key

Path Parameters

productId
string
required

Response

Successful response

The response is of type any.