PayNow

Regional Pricing

Get Product Pricing Regions

GEThttps://api.paynow.gg/v1/stores/{storeId}/products/{productId}/pricing/regions
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as Authorization: APIKey TOKEN.
Path parameters
storeIdFlakeIdRequired
productIdFlakeIdRequired
Response
200OKProductPricingRegionDto[]
Show fields
blended_vat_ratenumberRequired
country_codesstring[]Required
enabledbooleanRequired
group_idstringRequired
idstringRequired
local_currencystringRequired
local_currency_fx_ratenumberRequired
namestringRequired
currencystringOptional
default_price_multiplierintegerOptional
priceintegerOptional
tax_inclusivebooleanOptional
updated_atstringOptional

Failed requests return a PayNowError body. See the error response guide.

curl -X GET "https://api.paynow.gg/v1/stores/{storeId}/products/{productId}/pricing/regions" \
  -H "Authorization: APIKey TOKEN"
Response200
[
  {
    "blended_vat_rate": 0,
    "country_codes": [
      "string"
    ],
    "enabled": true,
    "group_id": "string",
    "id": "string",
    "local_currency": "string",
    "local_currency_fx_rate": 0,
    "name": "string",
    "price": 0,
    "default_price_multiplier": 0,
    "currency": "string",
    "tax_inclusive": true,
    "updated_at": "2024-01-01T00:00:00Z"
  }
]

Set Product Pricing Region Override

PATCHhttps://api.paynow.gg/v1/stores/{storeId}/products/{productId}/pricing/regions/{regionId}
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as Authorization: APIKey TOKEN.
Path parameters
storeIdFlakeIdRequired
productIdFlakeIdRequired
regionIdstringRequired
Request body
currencystringOptional
enabledbooleanOptional
priceintegerOptional
tax_inclusivebooleanOptional
Response
204No Content

Failed requests return a PayNowError body. See the error response guide.

curl -X PATCH "https://api.paynow.gg/v1/stores/{storeId}/products/{productId}/pricing/regions/{regionId}" \
  -H "Authorization: APIKey TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "price": 0,
  "enabled": true,
  "currency": "string",
  "tax_inclusive": true
}'

Get Store Pricing Regions

GEThttps://api.paynow.gg/v1/stores/{storeId}/products/pricing/regions
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as Authorization: APIKey TOKEN.
Path parameters
storeIdFlakeIdRequired
Response
200OKProductPricingRegionDto[]
Show fields
blended_vat_ratenumberRequired
country_codesstring[]Required
enabledbooleanRequired
group_idstringRequired
idstringRequired
local_currencystringRequired
local_currency_fx_ratenumberRequired
namestringRequired
currencystringOptional
default_price_multiplierintegerOptional
priceintegerOptional
tax_inclusivebooleanOptional
updated_atstringOptional

Failed requests return a PayNowError body. See the error response guide.

curl -X GET "https://api.paynow.gg/v1/stores/{storeId}/products/pricing/regions" \
  -H "Authorization: APIKey TOKEN"
Response200
[
  {
    "blended_vat_rate": 0,
    "country_codes": [
      "string"
    ],
    "enabled": true,
    "group_id": "string",
    "id": "string",
    "local_currency": "string",
    "local_currency_fx_rate": 0,
    "name": "string",
    "price": 0,
    "default_price_multiplier": 0,
    "currency": "string",
    "tax_inclusive": true,
    "updated_at": "2024-01-01T00:00:00Z"
  }
]

Set Store Pricing Region Override

PATCHhttps://api.paynow.gg/v1/stores/{storeId}/products/pricing/regions/{regionId}
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as Authorization: APIKey TOKEN.
Path parameters
storeIdFlakeIdRequired
regionIdstringRequired
Request body
currencystringOptional
default_price_multiplierintegerOptional
enabledbooleanOptional
tax_inclusivebooleanOptional
Response
204No Content

Failed requests return a PayNowError body. See the error response guide.

curl -X PATCH "https://api.paynow.gg/v1/stores/{storeId}/products/pricing/regions/{regionId}" \
  -H "Authorization: APIKey TOKEN" \
  -H "Content-Type: application/json" \
  -d '{
  "default_price_multiplier": 0,
  "enabled": true,
  "currency": "string",
  "tax_inclusive": true
}'

Get Store Pricing Region Groups

GEThttps://api.paynow.gg/v1/stores/{storeId}/products/pricing/region-groups
Headers
AuthorizationAPI KeyRequired
Authentication token for this request, sent as Authorization: APIKey TOKEN.
Path parameters
storeIdFlakeIdRequired
Response
200OKProductPricingRegionGroupDto[]
Show fields
descriptionstringRequired
idstringRequired
namestringRequired
recommended_base_price_multiplierintegerRequired

Failed requests return a PayNowError body. See the error response guide.

curl -X GET "https://api.paynow.gg/v1/stores/{storeId}/products/pricing/region-groups" \
  -H "Authorization: APIKey TOKEN"
Response200
[
  {
    "description": "string",
    "id": "string",
    "name": "string",
    "recommended_base_price_multiplier": 0
  }
]