Envelope[Product]
data object
- Product
- null
activationCountries object
- string
- null
categoryName object
- string
- null
countryCode object
- string
- null
fields object
- object[]
- null
label object
- string
- null
options object
- object[]
- null
price object
- number
- null
validation object
- ProductFieldValidation
- null
max object
- number
- null
message object
- string
- null
min object
- number
- null
pattern object
- string
- null
imageUrl object
Display image for the product. Currently populated only for type="esim" (a flag-CDN image derived from the region's ISO country code); absent for other product types and for eSIM regions without a usable 2-letter ISO code.
- string
- null
items object[]required
true when the item is a quantity-mode DTU (e.g. Telegram Stars, TON). The amount value sent in POST /orders and POST /dtu/validation must then be an integer count of units.
falseisLongOrder object
Whether long orders are supported for this item. When true, you may set isLongOrder=true in POST /orders (shop orders only).
- boolean
- null
maxQuantity object
Maximum allowed quantity. Present only when amountIsQuantity=true.
- integer
- null
minQtyToLongOrder object
Minimum quantity for which a long order is allowed. Present only when isLongOrder=true.
- integer
- null
minQuantity object
Minimum allowed quantity. Present only when amountIsQuantity=true.
- integer
- null
name object
- string
- null
stepQuantity object
Allowed step between quantities. Present only when amountIsQuantity=true.
- integer
- null
unitPrice object
Per-unit base price in USD. Present only when amountIsQuantity=true; final price is computed as quantity × unitPrice (plus any tariff markup).
- string
- null
name object
- string
- null
subcategoryName object
- string
- null
Possible values: [voucher, direct_topup, esim]
errorCode object
- string
- null
errors object
- object[]
- null
Possible values: [MISSING, OUT_OF_RANGE, INVALID_FORMAT, INVALID_VALUE, NOT_ALLOWED, TOO_LONG, TOO_SHORT]
Possible values: [SUCCESS, IN_PROGRESS, PARTIALLY_COMPLETED, CANCELLED]
Possible values: [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14]
{
"data": {
"activationCountries": "string",
"categoryName": "string",
"countryCode": "string",
"fields": [
{
"key": "string",
"label": "string",
"options": [
{
"label": "string",
"price": 0,
"value": "string"
}
],
"required": true,
"type": "string",
"validation": {
"max": 0,
"message": "string",
"min": 0,
"pattern": "string"
}
}
],
"id": "string",
"imageUrl": "string",
"items": [
{
"amountIsQuantity": false,
"currency": "string",
"id": "string",
"inStock": 0,
"isLongOrder": true,
"maxQuantity": 0,
"minQtyToLongOrder": 0,
"minQuantity": 0,
"name": "string",
"price": 0,
"stepQuantity": 0,
"unitPrice": "string"
}
],
"name": "string",
"section": "string",
"subcategoryName": "string",
"type": "voucher"
},
"errorCode": "string",
"errors": [
{
"code": "MISSING",
"field": "string",
"message": "string"
}
],
"status": "SUCCESS",
"statusCode": 0,
"statusMessage": "string",
"traceId": "string"
}