TGT API 2.0 Testing

4.1 /eSIMApi/v2/products/list

{
    "pageNum": 1,
    "pageSize": 2,
    "lang": "en"
}

Successfully listed products.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "total": 29,
        "list": [
            {
                "productCode": "A-002-ES-AU-T-30D/180D-3GB(A)",
                "productName": "【ESIM】Israel 3GB/30 Days (180-Day Validity) (M1) (A)",
                "productType": "DATA_PACK",
                "countryCodeList": [
                    "IL"
                ],
                "mccList": [
                    "425"
                ],
                "netPrice": 1.00,
                "periodType": 0,
                "usagePeriod": 30,
                "validityPeriod": 180,
                "dataLimited": "Y",
                "dataTotal": 3,
                "dataUnit": "GB",
                "lastModifiedTime": "2025-11-06T10:54:10Z",
                "activeType": "AUTO_ACTIVATE",
                "operatorDesc": "Annatel",
                "apnDesc": "annatel",
                "cardType": "M1"
            },
            {
                "productCode": "E-184-ES-ZD-eO1-D-10D/60D-10GB",
                "productName": "【Esim】Europe (11 Countries) 10 Days (10GB High-Speed Data/Day) (eO1) (ZD)",
                "productType": "DAILY_PACK",
                "countryCodeList": [
                    "MT",
                    "DE",
                    "GB",
                    "IT",
                    "PL",
                    "SE",
                    "BE",
                    "FR",
                    "RS",
                    "NL",
                    "AT"
                ],
                "mccList": [
                    "278",
                    "262",
                    "234",
                    "235",
                    "222",
                    "260",
                    "240",
                    "206",
                    "208",
                    "220",
                    "204",
                    "232"
                ],
                "netPrice": 1.10,
                "periodType": 1,
                "usagePeriod": 10,
                "validityPeriod": 10,
                "dataLimited": "N",
                "lastModifiedTime": "2025-11-06T10:53:47Z",
                "activeType": "ACTIVATE_ON_ORDER",
                "ruleDesc": "15 GB high-speed data , down to 1mbps",
                "operatorDesc": "Malta/Orange Polska/O2 Germany/O2 UK/Magenta Telekom/Wind/3 Sverige/Telekom Srbija/VodafoneZiggo/Orange France",
                "apnDesc": "internet / internetipv6",
                "highSpeed": "15GB",
                "showGradeContent": "15GB/1MB",
                "cardType": "Euro-eO1"
            }
        ]
    }
}

4.2 /eSIMApi/v2/products/detail

{
    "productCode": "A-002-ES-AU-T-30D/180D-3GB(A)",
    "lang": "en"
}

Successfully retrieved product details.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "productCode": "A-002-ES-AU-T-30D/180D-3GB(A)",
        "productName": "【ESIM】Israel 3GB/30 Days (180-Day Validity) (M1) (A)",
        "productType": "DATA_PACK",
        "countryCodeList": [
            "IL"
        ],
        "mccList": [
            "425"
        ],
        "netPrice": 1.00,
        "periodType": 0,
        "usagePeriod": 30,
        "validityPeriod": 180,
        "dataLimited": "Y",
        "dataTotal": 3,
        "dataUnit": "GB",
        "lastModifiedTime": "2025-11-06T10:54:10Z",
        "activeType": "AUTO_ACTIVATE",
        "operatorDesc": "Annatel",
        "apnDesc": "annatel",
        "cardType": "M1"
    }
}

4.3 /eSIMApi/v2/card

{
    "cardType": "C4",
    "lang": "en"
}

Successfully retrieved card type details.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "cardType": "C4",
        "renewFlag": true,
        "supportGetUsage": false,
        "renewCount": 99
    }
}

4.4 eSIMApi/v2/order/create

{
    "productCode": "A-002-ES-ZD-C4-6D/60D-500MB",
    "channelOrderNo": "WC-ORDER-TEST-5",
    "idempotencyKey": "3565400-e69b-65d4-a666-4126000",
    "email": "batzorig@bzp.mn"
}

Successfully created an order.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "orderNo": "SE20260813200116123001"
    }
}

4.5 eSIMApi/v2/order/renew

{
    "orderNo": "SE20260813200116123001",
    "productCode": "A-001-ES-AU-C4-5D/60D-1GB",
    "channelOrderNo": "WC-RENEWAL-10552-1",
    "idempotencyKey": "7fczxc2e-4dsa-4ds2-dda4-9adsds1c9a",
    "iccid": "89110342025026040449",
    "email": "batzorig@bzp.mn"
}

Successfully renewed and order.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "orderNo": "SE20260813201307579001"
    }
}

4.6 /eSIMApi/v2/order/create/push

We will not use US-TMOBILE push model for local U.S. cards.

4.7 /eSIMApi/v2/order/list

{
    "pageNum": 1,
    "pageSize": 2,
    "orderStatus": "NOTACTIVE",
    "lang": "en"
}

Successfully listed orders.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "total": 2,
        "list": [
            {
                "orderNo": "SE20260813201307579001",
                "productCode": "A-001-ES-AU-C4-5D/60D-1GB",
                "productName": "【Esim】Japan 5 Days (500MB High-Speed Data/Day) (C4)",
                "activatedStartTime": "2026-08-13T12:13:08Z",
                "activatedEndTime": "2026-08-18T12:13:07Z",
                "latestActivationTime": "2026-09-12T12:13:07Z",
                "renewExpirationTime": "2026-09-17T12:13:06Z",
                "createdTime": "2026-08-13T12:13:08Z",
                "orderStatus": "NOTACTIVE",
                "profileStatus": "nodownload",
                "qrCode": "LPA:1$ecprsp.eastcompeace.com$B1F607B712364A40B2D990587F260449",
                "channelOrderNo": "WC-RENEWAL-10552-1",
                "orderType": "MULTIPLEMONTHS_AUTO",
                "cardInfo": {
                    "iccid": "89110342025026040449",
                    "imsi": "454126385970449",
                    "msisdn": "852574316910449"
                }
            },
            {
                "orderNo": "SE20260813200116123001",
                "productCode": "A-002-ES-ZD-C4-6D/60D-500MB",
                "productName": "【Esim】Japan 6 Days (500MB High-Speed Data/Day) (C4)",
                "activatedStartTime": "2026-08-12T16:00:00Z",
                "activatedEndTime": "2026-08-18T15:59:59Z",
                "latestActivationTime": "2026-08-18T15:59:59Z",
                "renewExpirationTime": "2026-09-17T12:13:06Z",
                "createdTime": "2026-08-13T12:01:16Z",
                "orderStatus": "NOTACTIVE",
                "profileStatus": "nodownload",
                "qrCode": "LPA:1$ecprsp.eastcompeace.com$B1F607B712364A40B2D990587F260449",
                "channelOrderNo": "WC-ORDER-TEST-5",
                "orderType": "MULTIPLEMONTHS",
                "cardInfo": {
                    "iccid": "89110342025026040449",
                    "imsi": "454126385970449",
                    "msisdn": "852574316910449"
                }
            }
        ]
    }
}

4.8 /eSIMApi/v2/order/orders

{
    "pageNum":1,"pageSize":10,
    "iccid": "89110342025026040449",
    "lang": "en"
}

Successfully queried order information by ICCID.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "list": [
            {
                "orderNo": "SE20260813201307579001",
                "productCode": "A-001-ES-AU-C4-5D/60D-1GB",
                "productName": "【Esim】Japan 5 Days (500MB High-Speed Data/Day) (C4)",
                "activatedStartTime": "2026-08-13T12:13:08Z",
                "activatedEndTime": "2026-08-18T12:13:07Z",
                "latestActivationTime": "2026-09-12T12:13:07Z",
                "renewExpirationTime": "2026-09-17T12:13:06Z",
                "createdTime": "2026-08-13T12:13:08Z",
                "orderStatus": "NOTACTIVE",
                "profileStatus": "nodownload",
                "qrCode": "LPA:1$ecprsp.eastcompeace.com$B1F607B712364A40B2D990587F260449",
                "channelOrderNo": "WC-RENEWAL-10552-1",
                "orderType": "MULTIPLEMONTHS_AUTO",
                "cardInfo": {
                    "iccid": "89110342025026040449",
                    "imsi": "454126385970449",
                    "msisdn": "852574316910449"
                }
            },
            {
                "orderNo": "SE20260813200116123001",
                "productCode": "A-002-ES-ZD-C4-6D/60D-500MB",
                "productName": "【Esim】Japan 6 Days (500MB High-Speed Data/Day) (C4)",
                "activatedStartTime": "2026-08-12T16:00:00Z",
                "activatedEndTime": "2026-08-18T15:59:59Z",
                "latestActivationTime": "2026-08-18T15:59:59Z",
                "renewExpirationTime": "2026-09-17T12:13:06Z",
                "createdTime": "2026-08-13T12:01:16Z",
                "orderStatus": "NOTACTIVE",
                "profileStatus": "nodownload",
                "qrCode": "LPA:1$ecprsp.eastcompeace.com$B1F607B712364A40B2D990587F260449",
                "channelOrderNo": "WC-ORDER-TEST-5",
                "orderType": "MULTIPLEMONTHS",
                "cardInfo": {
                    "iccid": "89110342025026040449",
                    "imsi": "454126385970449",
                    "msisdn": "852574316910449"
                }
            }
        ]
    }
}

4.9 /eSIMApi/v2/account/balance

Successfully retrieved account balance details.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "currency": "USD",
        "accountId": "Mongol-test",
        "name": "Mongol-test",
        "settlementType": "CASH",
        "accountList": [
            {
                "id": "50e942e58bf646dba224326c1191645c",
                "type": "DEPOSIT",
                "status": "ENABLE",
                "balance": "0.00"
            },
            {
                "id": "60120eace93445c4bd8e370f96e7712d",
                "type": "DEVICE",
                "status": "ENABLE",
                "balance": "0.00"
            },
            {
                "id": "f135815f02ed478389eb0573dca5731c",
                "type": "BASIC",
                "status": "ENABLE",
                "balance": "500.00"
            }
        ]
    }
}

4.10 /eSIMApi/v2/order/usage

{
    "orderNo": "SE20260813200116123001",
    "lang": "en"
}

Received the following response. Most likely due to sandbox environment.

{
    "code": "5000",
    "msg": "Remote service error",
    "subCode": "5005",
    "subMsg": "The order card type does not support querying real-time traffic."
}

4.11 /eSIMApi/v2/iccid/profile

{
    "iccid": "89110342025026040449",
    "lang": "en"
}

Successful.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "iccid": "89110342025026040449",
        "imsi": "454126385970449",
        "state": "Released",
        "installCount": "0",
        "updateTime": "2026-08-13T12:01:17Z"
    }
}

4.12 /eSIMApi/v2/order/terminate

{
    "iccid": "89110342025026040450",
    "orderNo": "SE20260813204325154001"
}

Applicable only for C4 type cards. We have tested a termination of an order with C4 type card, but received the following response, most likely due the fact that only activated and used plans can be terminated.

{
    "code": "5000",
    "msg": "Remote service error",
    "subCode": "1011",
    "subMsg": "This order does not support package termination!"
}

4.13 /eSIMApi/v2/order/topup/create

{
    "orderNo": "SE20260813205357812001",
    "purchaseType": 1,
    "idempotencyKey": "550evx7657v-434-xcv4f00"
}

Received the following response.

{
    "code": "5000",
    "msg": "Remote service error",
    "subCode": "5018",
    "subMsg": "Order status does not support topup"
}

4.14 /eSIMApi/v2/order/topup/list

{
    "pageNum": 1,
    "pageSize": 3,
    "createdStartTime": "2025-07-10T00:00:00Z",
    "createdEndTime": "2026-09-10T00:00:00Z",
    "lang": "en"
}

Empty response was expected.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "total": 0,
        "list": []
    }
}

4.15 /eSIMApi/v2/order/topups

{
    "pageNum": 1,
    "pageSize": 10,
    "iccid": "89110342025026040451",
    "lang": "en"
}

Empty response was expected.

{
    "code": "0000",
    "msg": "success",
    "data": {
        "total": 0,
        "list": []
    }
}
Scroll to Top