Products
Get products
Retrieves the available products. To make sure all VAT rates are properly displayed, pass in the IP headers as instructed.
Authorization: Customer TOKEN or Authorization: APIKey TOKEN.Show fieldsHide fields
custom_variablesStorefrontCustomVariableDto[]RequiredCustom Variables associated with the product.
optionsStorefrontCustomVariableOptionDto[]RequiredAvailable options for dropdown type custom variables.
Empty for text and number types.
dropdownDropdown selection with predefined options. Customers choose from a list of available options. Allows for additional pricing based on the selected entry.
textFree-form text input. Customers can enter any text value (subject to validation).
numberNumeric input. Customers can enter numeric values (subject to validation).
gameserversStorefrontGameServerDto[]RequiredThe game servers associated with the product.
invaliddayweekmonth
invaliddayweekmonthyear
tagsProductTagDto[]RequiredThe tags associated with the product.
trialStorefrontProductTrialDtoRequired
invaliddayweekmonthyear
active_tier_groupCustomerTierGroupDtoOptional
deliverable_actionsProductDeliverableActionsDtoOptional
pricingStorefrontProductPricingDtoOptionalThe pricing details for the product in the storefront.
active_saleStorefrontSaleDtoOptional
percentamount
regional_pricingStorefrontProductRegionalPricingDtoOptionalRegional pricing information for this product.
Only present if there is a regional pricing configured.
vat_rateSalesTaxEstimateDtoOptionalThe Sales Tax estimation for the passed in customer country / IP.
Include the tax percentage + abbreviation in your product view to inform your customers about the tax.
stockStorefrontProductStockDtoOptionalThe stock status information for the product in the storefront.
Failed requests return a PayNowError body. See the error response guide.
curl -X GET "https://api.paynow.gg/v1/store/products" \
-H "Authorization: Customer TOKEN"import { createStorefrontClient } from "@paynow-gg/typescript-sdk";
const paynow = createStorefrontClient({
storeId: "STORE_ID",
customerToken: "CUSTOMER_TOKEN",
});
const result = await paynow.products.getStorefrontProducts();import requests
headers = {"Authorization": "Customer TOKEN"}
response = requests.get("https://api.paynow.gg/v1/store/products", headers=headers)[
{
"allow_one_time_purchase": true,
"allow_subscription": true,
"currency": "string",
"custom_variables": [
{
"description": "string",
"identifier": "string",
"name": "string",
"options": [
{
"is_default": true,
"name": "string",
"price": 0,
"sort_order": 0,
"value": "string"
}
],
"type": "dropdown",
"value_regex": "string"
}
],
"description": "This premium package includes exclusive in-game items, bonus currency, and early access to new content.",
"gameservers": [
{
"enabled": true,
"id": "411486491630370816",
"name": "string"
}
],
"hidden": true,
"id": "411486491630370816",
"is_affiliate_links_disabled": true,
"is_coupons_disabled": true,
"is_gift_cards_disabled": true,
"is_gifting_disabled": true,
"name": "Premium Game Package",
"price": 1999,
"remove_after_enabled": true,
"remove_after_time_scale": "invalid",
"remove_after_time_value": 1,
"single_game_server_only": true,
"slug": "premium-game-package",
"sort_order": 0,
"store_id": "411486491630370816",
"subscription_interval_scale": "invalid",
"subscription_interval_value": 1,
"tags": [
{
"id": "411486491630370816",
"name": "Packages",
"slug": "packages"
}
],
"trial": {
"eligible": true,
"enabled": true,
"period_scale": "invalid",
"period_value": 0
},
"version_id": "411486491630370816",
"image_url": "https://cdn.paynow.gg/logo/full/logotype-color.svg",
"enabled_at": "2024-01-01T00:00:00Z",
"enabled_until": "2024-01-01T00:00:00Z",
"label": "Premium Items",
"pricing": {
"price_final": 1499,
"price_original": 1999,
"active_sale": {
"begins_at": "2025-06-01T00:00:00Z",
"discount_amount": 2000,
"discount_type": "percent",
"id": "411486491630370816",
"minimum_order_value": 0,
"name": "Summer Sale",
"version_id": "411486491630370816",
"ends_at": "2025-06-30T23:59:59Z"
},
"sale_value": 500,
"vat_rate": {
"country_code": "CZ",
"country_name": "Czech Republic",
"currency": "CZK",
"eservice_rate": 21,
"eu_member_state": true,
"percentage": 21,
"vat_abbreviation": "DPH",
"vat_local_name": "Daň z přidané hodnoty",
"tax_number_abbreviation": "string",
"tax_number_local_name": "string"
},
"regional_pricing": {
"base_price": 1799,
"currency": "eur",
"region_id": "eu",
"tax_inclusive": true
}
},
"stock": {
"available_to_purchase": true,
"customer_available": 5
},
"deliverable_actions": {
"grant_giftcard": true
},
"metadata": {},
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"tier_group_id": "411486491630370816",
"active_tier_group": {
"active_product_id": "411486491630370816",
"currency": "string",
"next_billing_amount": 0,
"next_billing_presentment_amount": 0,
"next_renewal_at": "2024-01-01T00:00:00Z",
"presentment_currency": "string",
"tier_group_id": "411486491630370816",
"pending_change_product_id": "411486491630370816"
}
}
]Get product by ID or slug
Retrieves a product by an ID or a slug. To make sure all VAT rates are properly displayed, pass in the IP headers as instructed.
Authorization: Customer TOKEN or Authorization: APIKey TOKEN.Show fieldsHide fields
custom_variablesStorefrontCustomVariableDto[]RequiredCustom Variables associated with the product.
optionsStorefrontCustomVariableOptionDto[]RequiredAvailable options for dropdown type custom variables.
Empty for text and number types.
dropdownDropdown selection with predefined options. Customers choose from a list of available options. Allows for additional pricing based on the selected entry.
textFree-form text input. Customers can enter any text value (subject to validation).
numberNumeric input. Customers can enter numeric values (subject to validation).
gameserversStorefrontGameServerDto[]RequiredThe game servers associated with the product.
invaliddayweekmonth
invaliddayweekmonthyear
tagsProductTagDto[]RequiredThe tags associated with the product.
trialStorefrontProductTrialDtoRequired
invaliddayweekmonthyear
active_tier_groupCustomerTierGroupDtoOptional
deliverable_actionsProductDeliverableActionsDtoOptional
pricingStorefrontProductPricingDtoOptionalThe pricing details for the product in the storefront.
active_saleStorefrontSaleDtoOptional
percentamount
regional_pricingStorefrontProductRegionalPricingDtoOptionalRegional pricing information for this product.
Only present if there is a regional pricing configured.
vat_rateSalesTaxEstimateDtoOptionalThe Sales Tax estimation for the passed in customer country / IP.
Include the tax percentage + abbreviation in your product view to inform your customers about the tax.
stockStorefrontProductStockDtoOptionalThe stock status information for the product in the storefront.
Failed requests return a PayNowError body. See the error response guide.
curl -X GET "https://api.paynow.gg/v1/store/products/{idOrSlug}" \
-H "Authorization: Customer TOKEN"import { createStorefrontClient } from "@paynow-gg/typescript-sdk";
const paynow = createStorefrontClient({
storeId: "STORE_ID",
customerToken: "CUSTOMER_TOKEN",
});
const result = await paynow.products.getStorefrontProduct("string");import requests
headers = {"Authorization": "Customer TOKEN"}
response = requests.get("https://api.paynow.gg/v1/store/products/{idOrSlug}", headers=headers){
"allow_one_time_purchase": true,
"allow_subscription": true,
"currency": "string",
"custom_variables": [
{
"description": "string",
"identifier": "string",
"name": "string",
"options": [
{
"is_default": true,
"name": "string",
"price": 0,
"sort_order": 0,
"value": "string"
}
],
"type": "dropdown",
"value_regex": "string"
}
],
"description": "This premium package includes exclusive in-game items, bonus currency, and early access to new content.",
"gameservers": [
{
"enabled": true,
"id": "411486491630370816",
"name": "string"
}
],
"hidden": true,
"id": "411486491630370816",
"is_affiliate_links_disabled": true,
"is_coupons_disabled": true,
"is_gift_cards_disabled": true,
"is_gifting_disabled": true,
"name": "Premium Game Package",
"price": 1999,
"remove_after_enabled": true,
"remove_after_time_scale": "invalid",
"remove_after_time_value": 1,
"single_game_server_only": true,
"slug": "premium-game-package",
"sort_order": 0,
"store_id": "411486491630370816",
"subscription_interval_scale": "invalid",
"subscription_interval_value": 1,
"tags": [
{
"id": "411486491630370816",
"name": "Packages",
"slug": "packages"
}
],
"trial": {
"eligible": true,
"enabled": true,
"period_scale": "invalid",
"period_value": 0
},
"version_id": "411486491630370816",
"image_url": "https://cdn.paynow.gg/logo/full/logotype-color.svg",
"enabled_at": "2024-01-01T00:00:00Z",
"enabled_until": "2024-01-01T00:00:00Z",
"label": "Premium Items",
"pricing": {
"price_final": 1499,
"price_original": 1999,
"active_sale": {
"begins_at": "2025-06-01T00:00:00Z",
"discount_amount": 2000,
"discount_type": "percent",
"id": "411486491630370816",
"minimum_order_value": 0,
"name": "Summer Sale",
"version_id": "411486491630370816",
"ends_at": "2025-06-30T23:59:59Z"
},
"sale_value": 500,
"vat_rate": {
"country_code": "CZ",
"country_name": "Czech Republic",
"currency": "CZK",
"eservice_rate": 21,
"eu_member_state": true,
"percentage": 21,
"vat_abbreviation": "DPH",
"vat_local_name": "Daň z přidané hodnoty",
"tax_number_abbreviation": "string",
"tax_number_local_name": "string"
},
"regional_pricing": {
"base_price": 1799,
"currency": "eur",
"region_id": "eu",
"tax_inclusive": true
}
},
"stock": {
"available_to_purchase": true,
"customer_available": 5
},
"deliverable_actions": {
"grant_giftcard": true
},
"metadata": {},
"created_at": "2024-01-01T00:00:00Z",
"updated_at": "2024-01-01T00:00:00Z",
"tier_group_id": "411486491630370816",
"active_tier_group": {
"active_product_id": "411486491630370816",
"currency": "string",
"next_billing_amount": 0,
"next_billing_presentment_amount": 0,
"next_renewal_at": "2024-01-01T00:00:00Z",
"presentment_currency": "string",
"tier_group_id": "411486491630370816",
"pending_change_product_id": "411486491630370816"
}
}