Product detail with buyable items (denominations)

get/api/public/products/{id}

Request

  • Base URL: https://blinkcodes.com
  • URL: https://blinkcodes.com/api/public/products/{id}
  • Auth: none required

Path parameters

idinteger required

Response

Product detail

idinteger
namestring
type'voucher' | 'recharge_fixed' | 'recharge' | 'e_sim'
countrystring nullable
brandstring nullable
categorystring nullable
available_for_saleboolean
in_stockboolean
in_stock_countinteger

Units left. Absent when the count is unknown but the product is available.

requires_accountboolean

true = you must send account_number when ordering (top-ups). Derived from the product's fields[], so it is safe to branch on.

requires_amountboolean

true = variable-amount product: send amount instead of item_id.

min_pricenumber

Cheapest denomination, in currency

currencystring
min_price_rubnumber

Legacy alias of min_price. Same number, same currency — the _rub suffix is a storage-era name, not a hint about units. Prefer min_price + currency.

items_countinteger
fieldsobject[]

Per-product input requirements (e.g. account_number for top-ups). Map onto the matching create-order fields.

contentobject

Description / instructions / terms

Example response

{
  "currency": "USD",
  "items": [
    {
      "currency": "USD"
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.