Skip to main content
POST
/
api
/
v1
/
esim
/
order
Заказать eSIM
curl --request POST \
  --url https://sand.tranzor.io/api/v1/esim/order \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "planId": "<string>",
  "clientEmail": "jsmith@example.com",
  "clientRef": "<string>"
}
'
{
  "success": true,
  "data": {
    "orderId": "<string>",
    "status": "pending",
    "invoiceId": "<string>",
    "payUrl": "<string>",
    "amount": 12.5,
    "currency": "USD",
    "plan": {
      "country": "<string>",
      "countryIso": "<string>",
      "dataGb": "<string>",
      "days": 123
    },
    "addresses": [
      {
        "chain": "tron",
        "address": "<string>",
        "expectedAmount": "<string>",
        "isToken": true,
        "tokenSymbol": "<string>"
      }
    ],
    "expiresAt": "2023-11-07T05:31:56Z",
    "note": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.tranzor.io/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API ключ в формате trz_...

Body

application/json
planId
string
required

ID тарифа из GET /api/v1/esim

clientEmail
string<email>

Email клиента для уведомлений (опционально)

clientRef
string

Ваш внутренний ID заказа (опционально, используется как orderId инвойса)

Response

Заказ создан, ожидает оплаты

success
boolean
data
object