{"info":{"_postman_id":"aab496db-7306-4229-9c0e-0842cbcc5c26","name":"eSIM.sm","description":"<html><head></head><body><h1 id=\"esimsm-partner-api\"><strong>eSIM.sm Partner API</strong></h1>\n<p>Our API aggregates telecom services across the globe, providing easy access and complete control. Developers can exploit the power of our user-friendly API and eSIM enabling infrastructure to build new and compelling value propositions for their clients.</p>\n<h3 id=\"version\">Version</h3>\n<p><em>Version V1</em> 20 May 2024 - Initial Release.</p>\n<h3 id=\"production-api-endpoint\">Production API endpoint</h3>\n<p><a href=\"https://esim.sm/api/reseller/v1\">https://esim.sm/api/reseller/v1</a></p>\n<h3 id=\"authentication\">Authentication</h3>\n<p>Log in to our <a href=\"https://esim.sm/login\">site </a> and go to <a href=\"https://esim.sm/reseller/index\">Resellers Dashboard </a> and click on \"Generate API KEY\" button. This parameter can be used in APIs that require the Bearer Token</p>\n<h3 id=\"standard\">Standard</h3>\n<p>Time codes are presented in UTC. Country codes use Alpha-2 ISO. Data values are in MB.</p>\n<h3 id=\"sandbox\">Sandbox</h3>\n<p>You can test purchases and all other commands in our test environment.<br>You can use our sandbox by adding in the request this header:</p>\n<p><code>x-sandbox: on</code></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[{"content":"eSIM.sm Partner API","slug":"esimsm-partner-api"}],"owner":"21703994","collectionId":"aab496db-7306-4229-9c0e-0842cbcc5c26","publishedId":"2sA3JRZzA6","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"publishDate":"2025-12-29T12:50:39.000Z"},"item":[{"name":"Countries","item":[{"name":"Country","id":"730f2642-4665-4628-92d8-b609ef8d8b39","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true,"user-agent":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://esim.sm/api/reseller/v1/country?id=it&hl=en&currency=usd","description":"<p>Retrive informations that a specific country and the existing plans for that country.</p>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","country"],"host":["esim.sm"],"query":[{"description":{"content":"<p>Alpha-2 ISO code of the country</p>\n","type":"text/plain"},"key":"id","value":"it"},{"description":{"content":"<p>Language</p>\n","type":"text/plain"},"key":"hl","value":"en"},{"description":{"content":"<p>Currency</p>\n","type":"text/plain"},"key":"currency","value":"usd"}],"variable":[]}},"response":[{"id":"ab47dbf6-3c91-4b36-bac7-45b7680b85c8","name":"Country","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://esim.sm/api/reseller/v1/country?id=it&hl=en&currency=usd","protocol":"https","host":["esim.sm"],"path":["api","reseller/v1","country"],"query":[{"key":"id","value":"it"},{"key":"hl","value":"en"},{"key":"currency","value":"usd"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 May 2024 12:28:17 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"66420761ce2a8"},{"key":"X-Debug-Duration","value":"146"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=66420761ce2a8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"country\": {\n            \"id\": \"IT\",\n            \"name\": \"Italy\",\n            \"region\": \"europe\",\n            \"flag\": \"https://s3.esim.sm/static/img/flags/IT.png\",\n            \"isRegion\": false,\n            \"banner\": \"https://esim.test/img/country_it.webp\"\n        },\n        \"plans\": [\n            {\n                \"id\": 775,\n                \"name\": \"1GB 7 days - Italy\",\n                \"mb\": 1024,\n                \"days\": 7,\n                \"isActive\": true,\n                \"inFeed\": 1,\n                \"regionId\": null,\n                \"countries\": [\n                    \"IT\"\n                ],\n                \"price\": 0.00,\n                \"salePrice\": 0,\n                \"currency\": \"usd\",\n                \"gb\": 1,\n                \"carriers\": [],\n                \"thumbnailUrl\": \"https://s3.esim.sm/static/img/flags/IT.png\",\n                \"isTopOffer\": false,\n                \"isUnlimited\": 0,\n                \"hasPhoneNumber\": 0,\n                \"hasTopUps\": true,\n                \"isRefundable\": true,\n                \"isTetheringAllowed\": true,\n                \"networkSpeed\": \"3G/4G\",\n                \"activationDays\": 60,\n                \"refillOptions\": [\n                    {\n                        \"id\": 12345,\n                        \"mb\": 1024,\n                        \"currency\": \"usd\",\n                        \"days\": 7,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    },\n                    {\n                        \"id\": 12345,\n                        \"mb\": 3072,\n                        \"currency\": \"usd\",\n                        \"days\": 30,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    },\n                    {\n                        \"id\": 12345,\n                        \"mb\": 5120,\n                        \"currency\": \"usd\",\n                        \"days\": 30,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    },\n                    {\n                        \"id\": 12345,\n                        \"mb\": 10240,\n                        \"currency\": \"usd\",\n                        \"days\": 30,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    },\n                    {\n                        \"id\": 12345,\n                        \"mb\": 20480,\n                        \"currency\": \"usd\",\n                        \"days\": 30,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    }\n                ]\n            }\n        ]\n    }\n}"}],"_postman_id":"730f2642-4665-4628-92d8-b609ef8d8b39"},{"name":"All Countries","id":"5f4bec2b-deab-4e31-864e-0855c95748f0","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true,"user-agent":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://esim.sm/api/reseller/v1/country?hl=en&currency=usd","description":"<p>This API retrive the informations for all the countries.</p>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","country"],"host":["esim.sm"],"query":[{"description":{"content":"<p>Language</p>\n","type":"text/plain"},"key":"hl","value":"en"},{"description":{"content":"<p>Currency</p>\n","type":"text/plain"},"key":"currency","value":"usd"}],"variable":[]}},"response":[{"id":"aefaafe0-9329-4c40-b3c4-63131318da02","name":"All Countries","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://esim.sm/api/reseller/v1/country?hl=en&currency=usd","protocol":"https","host":["esim.sm"],"path":["api","reseller/v1","country"],"query":[{"key":"hl","value":"en"},{"key":"currency","value":"usd"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 May 2024 12:32:16 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"66420850bcee9"},{"key":"X-Debug-Duration","value":"162"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=66420850bcee9"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"id\": \"AF\",\n            \"name\": \"Afghanistan\",\n            \"region\": \"asia\",\n            \"flag\": \"https://s3.esim.sm/static/img/flags/AF.png\",\n            \"isRegion\": false,\n            \"banner\": \"https://esim.test/img/country_af.webp\"\n        },\n        {\n            \"id\": \"AX\",\n            \"name\": \"Aland\",\n            \"region\": \"europe\",\n            \"flag\": \"https://s3.esim.sm/static/img/flags/AX.png\",\n            \"isRegion\": false,\n            \"banner\": \"https://esim.test/img/country_ax.webp\"\n        },\n        {\n            \"id\": \"AL\",\n            \"name\": \"Albania\",\n            \"region\": \"europe\",\n            \"flag\": \"https://s3.esim.sm/static/img/flags/AL.png\",\n            \"isRegion\": false,\n            \"banner\": \"https://esim.test/img/country_al.webp\"\n        }\n    ]\n}"}],"_postman_id":"5f4bec2b-deab-4e31-864e-0855c95748f0"},{"name":"Top Countries","id":"ca3f326f-7fd7-41e8-bb48-79f82bd725ef","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true,"user-agent":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://esim.sm/api/reseller/v1/country/top?hl=en&currency=usd","description":"<p>This API retrive the informations for the TOP 8 destinations.</p>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","country","top"],"host":["esim.sm"],"query":[{"description":{"content":"<p>Language</p>\n","type":"text/plain"},"key":"hl","value":"en"},{"description":{"content":"<p>Currency</p>\n","type":"text/plain"},"key":"currency","value":"usd"}],"variable":[]}},"response":[{"id":"6937d0e9-cd5a-4878-8799-65b36d9efe10","name":"Top Countries","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://esim.sm/api/reseller/v1/country/top?hl=en&currency=usd","protocol":"https","host":["esim.sm"],"path":["api","reseller/v1","country","top"],"query":[{"key":"hl","value":"en"},{"key":"currency","value":"usd"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 May 2024 12:32:53 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"66420875c5fc8"},{"key":"X-Debug-Duration","value":"119"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=66420875c5fc8"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"country\": {\n                \"id\": \"JP\",\n                \"name\": \"Japan\",\n                \"region\": \"asia\",\n                \"flag\": \"https://s3.esim.sm/static/img/flags/JP.png\",\n                \"isRegion\": false,\n                \"banner\": \"https://esim.test/img/country_jp.webp\"\n            },\n            \"startingFrom\": \"$0.00\"\n        },\n        {\n            \"country\": {\n                \"id\": \"IT\",\n                \"name\": \"Italy\",\n                \"region\": \"europe\",\n                \"flag\": \"https://s3.esim.sm/static/img/flags/IT.png\",\n                \"isRegion\": false,\n                \"banner\": \"https://esim.test/img/country_it.webp\"\n            },\n            \"startingFrom\": \"$0.00\"\n        },\n        {\n            \"country\": {\n                \"id\": \"ES\",\n                \"name\": \"Spain\",\n                \"region\": \"europe\",\n                \"flag\": \"https://s3.esim.sm/static/img/flags/ES.png\",\n                \"isRegion\": false,\n                \"banner\": \"https://esim.test/img/country_es.webp\"\n            },\n            \"startingFrom\": \"$0.00\"\n        },\n        {\n            \"country\": {\n                \"id\": \"US\",\n                \"name\": \"United States\",\n                \"region\": \"americas\",\n                \"flag\": \"https://s3.esim.sm/static/img/flags/US.png\",\n                \"isRegion\": false,\n                \"banner\": \"https://esim.test/img/country_us.webp\"\n            },\n            \"startingFrom\": \"$0.00\"\n        },\n        {\n            \"country\": {\n                \"id\": \"AF\",\n                \"name\": \"Afghanistan\",\n                \"region\": \"asia\",\n                \"flag\": \"https://s3.esim.sm/static/img/flags/AF.png\",\n                \"isRegion\": false,\n                \"banner\": \"https://esim.test/img/country_af.webp\"\n            },\n            \"startingFrom\": \"$0.00\"\n        },\n        {\n            \"country\": {\n                \"id\": \"DE\",\n                \"name\": \"Germany\",\n                \"region\": \"europe\",\n                \"flag\": \"https://s3.esim.sm/static/img/flags/DE.png\",\n                \"isRegion\": false,\n                \"banner\": \"https://esim.test/img/country_de.webp\"\n            },\n            \"startingFrom\": \"$0.00\"\n        },\n        {\n            \"country\": {\n                \"id\": \"IL\",\n                \"name\": \"Israel\",\n                \"region\": \"asia\",\n                \"flag\": \"https://s3.esim.sm/static/img/flags/IL.png\",\n                \"isRegion\": false,\n                \"banner\": \"https://esim.test/img/country_il.webp\"\n            },\n            \"startingFrom\": \"$0.00\"\n        },\n        {\n            \"country\": {\n                \"id\": \"AM\",\n                \"name\": \"Armenia\",\n                \"region\": \"asia\",\n                \"flag\": \"https://s3.esim.sm/static/img/flags/AM.png\",\n                \"isRegion\": false,\n                \"banner\": \"https://esim.test/img/country_am.webp\"\n            },\n            \"startingFrom\": \"$0.00\"\n        }\n    ]\n}"}],"_postman_id":"ca3f326f-7fd7-41e8-bb48-79f82bd725ef"}],"id":"330ab25c-3ccf-4626-bc17-4744a813340d","description":"<p>In this folder you can find the API for the Countries of our eSIM</p>\n","_postman_id":"330ab25c-3ccf-4626-bc17-4744a813340d","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"aab496db-7306-4229-9c0e-0842cbcc5c26","id":"aab496db-7306-4229-9c0e-0842cbcc5c26","name":"eSIM.sm","type":"collection"}}},{"name":"eSIM","item":[{"name":"List","id":"3127b8b3-fe04-48e6-8009-98fb5d0df0be","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true,"user-agent":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":false},"method":"GET","header":[],"url":"https://esim.sm/api/reseller/v1/esim","description":"<p>Retrive all the eSIM associeted to your account and their informations</p>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","esim"],"host":["esim.sm"],"query":[],"variable":[]}},"response":[{"id":"27da8597-33e9-45f5-aeee-d7728ead4c77","name":"List","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://esim.sm/api/reseller/v1/esim","protocol":"https","host":["esim.sm"],"path":["api","reseller/v1","esim"],"query":[{"key":"iccid","value":"8937204016155653798","disabled":true}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 May 2024 12:36:09 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=19gsfpl2qut0rpe7iaac03v9gl; path=/; HttpOnly"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Authorization, Content-Type, Accept"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"66420939b48e6"},{"key":"X-Debug-Duration","value":"454"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=66420939b48e6"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": [\n        {\n            \"id\": 157,\n            \"customerPaidUsd\": \"0.00\",\n            \"userId\": 1,\n            \"iccid\": \"111111111111111\",\n            \"status\": \"not_installed\",\n            \"transactionId\": 162,\n            \"mbTotal\": 3072,\n            \"mbUsed\": 0,\n            \"expirationTimestamp\": \"2025-01-01 00:00:00\",\n            \"lpaCode\": \"LPA:1$consumer.rsp.global$TN111111111111111\",\n            \"creationTimestamp\": \"2024-05-06 10:40:21\",\n            \"plan\": {\n                \"id\": 12345,\n                \"name\": \"3GB 30 days - Norway\",\n                \"mb\": 3072,\n                \"days\": 30,\n                \"isActive\": true,\n                \"inFeed\": 1,\n                \"regionId\": null,\n                \"countries\": [\n                    \"NO\"\n                ],\n                \"price\": 7,\n                \"salePrice\": 0,\n                \"currency\": \"usd\",\n                \"gb\": 3,\n                \"carriers\": [],\n                \"thumbnailUrl\": \"https://s3.esim.sm/static/img/flags/NO.png\",\n                \"isTopOffer\": false,\n                \"isUnlimited\": 0,\n                \"hasPhoneNumber\": 0,\n                \"hasTopUps\": true,\n                \"isRefundable\": true,\n                \"isTetheringAllowed\": true,\n                \"networkSpeed\": \"3G/4G\",\n                \"activationDays\": 60,\n                \"refillOptions\": [\n                    {\n                        \"id\": 12345,\n                        \"mb\": 1024,\n                        \"currency\": \"usd\",\n                        \"days\": 7,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    },\n                    {\n                        \"id\": 12345,\n                        \"mb\": 3072,\n                        \"currency\": \"usd\",\n                        \"days\": 30,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    },\n                    {\n                        \"id\": 12345,\n                        \"mb\": 5120,\n                        \"currency\": \"usd\",\n                        \"days\": 30,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    },\n                    {\n                        \"id\": 12345,\n                        \"mb\": 10240,\n                        \"currency\": \"usd\",\n                        \"days\": 30,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    },\n                    {\n                        \"id\": 12345,\n                        \"mb\": 51200,\n                        \"currency\": \"usd\",\n                        \"days\": 90,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    },\n                    {\n                        \"id\": 12345,\n                        \"mb\": 102400,\n                        \"currency\": \"usd\",\n                        \"days\": 180,\n                        \"price\": 0.00,\n                        \"isActive\": true\n                    }\n                ]\n            },\n            \"hasPackageQueue\": false,\n            \"packageQueue\": [],\n            \"connectivityInfo\": [],\n            \"statusLabelCondensed\": \"Not Installed\",\n            \"statusLabel\": \"eSIM not yet installed\",\n            \"isRefundable\": false\n        },\n        {\n            \"id\": 156,\n            \"customerPaidUsd\": \"0.00\",\n            \"userId\": 1,\n            \"iccid\": \"1111111111111111111\",\n            \"status\": \"not_installed\",\n            \"transactionId\": 161,\n            \"mbTotal\": 10240,\n            \"mbUsed\": 0,\n            \"expirationTimestamp\": \"2024-07-06 23:59:59\",\n            \"lpaCode\": \"LPA:1$esimsm.TEST$TN1111111111111111111\",\n            \"creationTimestamp\": \"2024-05-06 10:37:36\",\n            \"plan\": {\n                \"id\": 12345,\n                \"name\": \"10GB 30 days - Japan\",\n                \"mb\": 10240,\n                \"days\": 30,\n                \"isActive\": true,\n                \"inFeed\": 1,\n                \"regionId\": null,\n                \"countries\": [\n                    \"JP\"\n                ],\n                \"price\": 0.00,\n                \"salePrice\": 0,\n                \"currency\": \"usd\",\n                \"gb\": 10,\n                \"carriers\": {\n                    \"JP\": [\n                        \"docomo IIJ\"\n                    ]\n                },\n                \"thumbnailUrl\": \"https://s3.esim.sm/static/img/flags/JP.png\",\n                \"isTopOffer\": false,\n                \"isUnlimited\": 1,\n                \"unlimitedFastGb\": 10,\n                \"unlimitedSpeedCap\": \"256kbps\",\n                \"unlimitedResetPeriod\": \"\",\n                \"hasPhoneNumber\": 0,\n                \"hasTopUps\": false,\n                \"isRefundable\": true,\n                \"isTetheringAllowed\": true,\n                \"networkSpeed\": \"4G-LTE\",\n                \"activationDays\": 30,\n                \"refillOptions\": []\n            },\n            \"hasPackageQueue\": false,\n            \"packageQueue\": [],\n            \"connectivityInfo\": [],\n            \"statusLabelCondensed\": \"Not Installed\",\n            \"statusLabel\": \"eSIM not yet installed\",\n            \"isRefundable\": true\n        }\n    ]\n}"}],"_postman_id":"3127b8b3-fe04-48e6-8009-98fb5d0df0be"},{"name":"Info","id":"c88bcabf-bfe0-4576-a547-c5768f5ff84c","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true,"user-agent":true}},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":false},"method":"GET","header":[],"url":"https://esim.sm/api/reseller/v1/esim?iccid=11111111111111111111111","description":"<p>Retrive informations of a specific eSIM.</p>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","esim"],"host":["esim.sm"],"query":[{"description":{"content":"<p>iccid of the eSIM that you want to retrive info</p>\n","type":"text/plain"},"key":"iccid","value":"11111111111111111111111"}],"variable":[]}},"response":[{"id":"aff8b53b-19d6-4c02-8583-420cbd2214db","name":"Info","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://esim.sm/api/reseller/v1/esim?iccid=11111111111111111111111","protocol":"https","host":["esim.sm"],"path":["api","reseller/v1","esim"],"query":[{"key":"iccid","value":"11111111111111111111111"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 May 2024 12:47:21 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=bhvp827dh6rma4i4l88j88uof4; path=/; HttpOnly"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Authorization, Content-Type, Accept"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"66420bd9a1a80"},{"key":"X-Debug-Duration","value":"105"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=66420bd9a1a80"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"id\": 157,\n        \"customerPaidUsd\": \"0.00\",\n        \"userId\": 1,\n        \"iccid\": \"111111111111111111\",\n        \"status\": \"not_installed\",\n        \"transactionId\": 162,\n        \"mbTotal\": 3072,\n        \"mbUsed\": 0,\n        \"expirationTimestamp\": \"2025-01-01 00:00:00\",\n        \"lpaCode\": \"LPA:1$consumer.rsp.global$TN111111111111111111\",\n        \"creationTimestamp\": \"2024-05-06 10:40:21\",\n        \"plan\": {\n            \"id\": 536,\n            \"name\": \"3GB 30 days - Norway\",\n            \"mb\": 3072,\n            \"days\": 30,\n            \"isActive\": true,\n            \"inFeed\": 1,\n            \"regionId\": null,\n            \"countries\": [\n                \"NO\"\n            ],\n            \"price\": 0.00,\n            \"salePrice\": 0,\n            \"currency\": \"usd\",\n            \"gb\": 3,\n            \"carriers\": [],\n            \"thumbnailUrl\": \"https://s3.esim.sm/static/img/flags/NO.png\",\n            \"isTopOffer\": false,\n            \"isUnlimited\": 0,\n            \"hasPhoneNumber\": 0,\n            \"hasTopUps\": true,\n            \"isRefundable\": true,\n            \"isTetheringAllowed\": true,\n            \"networkSpeed\": \"3G/4G\",\n            \"activationDays\": 60,\n            \"refillOptions\": [\n                {\n                    \"id\": 12345,\n                    \"mb\": 1024,\n                    \"currency\": \"usd\",\n                    \"days\": 7,\n                    \"price\": 0.00,\n                    \"isActive\": true\n                },\n                {\n                    \"id\": 12345,\n                    \"mb\": 3072,\n                    \"currency\": \"usd\",\n                    \"days\": 30,\n                    \"price\": 0.00,\n                    \"isActive\": true\n                },\n                {\n                    \"id\": 12345,\n                    \"mb\": 5120,\n                    \"currency\": \"usd\",\n                    \"days\": 30,\n                    \"price\": 0.00,\n                    \"isActive\": true\n                },\n                {\n                    \"id\": 12345,\n                    \"mb\": 10240,\n                    \"currency\": \"usd\",\n                    \"days\": 30,\n                    \"price\": 0.00,\n                    \"isActive\": true\n                },\n                {\n                    \"id\": 12345,\n                    \"mb\": 51200,\n                    \"currency\": \"usd\",\n                    \"days\": 90,\n                    \"price\": 0.00,\n                    \"isActive\": true\n                },\n                {\n                    \"id\": 12345,\n                    \"mb\": 102400,\n                    \"currency\": \"usd\",\n                    \"days\": 180,\n                    \"price\": 0.00,\n                    \"isActive\": true\n                }\n            ]\n        },\n        \"hasPackageQueue\": false,\n        \"packageQueue\": [],\n        \"connectivityInfo\": [],\n        \"statusLabelCondensed\": \"Not Installed\",\n        \"statusLabel\": \"eSIM not yet installed\",\n        \"isRefundable\": false\n    }\n}"}],"_postman_id":"c88bcabf-bfe0-4576-a547-c5768f5ff84c"},{"name":"Purchase","id":"2e5cc722-65c3-4043-b4e3-461ba1a26825","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"plan_id\": 12345, //Id of specific plan returned from the API 'Country'.\n    \"quantity\": 1 //The quantity of eSIM that you want to purchase. Max allowed is 10.\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/purchase","description":"<p>Purchase an eSIM</p>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","esim","purchase"],"host":["esim.sm"],"query":[],"variable":[]}},"response":[{"id":"9a1759fa-90dd-4a1a-8b1f-e5b56e002c12","name":"Purchase","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"plan_id\": 1,\n    \"quantity\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/purchase"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 May 2024 15:18:43 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=qbvglbrek8ap175podng6rrdd2; path=/; HttpOnly"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Authorization, Content-Type, Accept"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"663ce953f3776"},{"key":"X-Debug-Duration","value":"725"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=663ce953f3776&hl=it"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"pending\": false,\n    \"message\": \"Your eSIM is ready!\",\n    \"data\": {\n        \"price\": 0.00,\n        \"currency\": \"EUR\",\n        \"esim\": [\n            {\n                \"iccid\": \"1111111111111111111\",\n                \"status\": \"not_installed\",\n                \"mbTotal\": 1024,\n                \"mbUsed\": 0,\n                \"expirationTimestamp\": \"2025-01-01 00:00:00\",\n                \"lpaCode\": \"LPA:1$esimsm.TEST$TN1111111111111111111\",\n                \"id\": 177,\n                \"userId\": 6,\n                \"plan\": {\n                    \"id\": 1,\n                    \"name\": \"1GB 7 days - Spain\",\n                    \"mb\": 1024,\n                    \"days\": 7,\n                    \"isActive\": true,\n                    \"inFeed\": 1,\n                    \"regionId\": null,\n                    \"countries\": [\n                        \"ES\"\n                    ],\n                    \"price\": 0.00,\n                    \"salePrice\": 0.00,\n                    \"currency\": \"usd\",\n                    \"gb\": 1,\n                    \"carriers\": [],\n                    \"thumbnailUrl\": \"https://s3.esim.sm/static/img/flags/ES.png\",\n                    \"isTopOffer\": false,\n                    \"isUnlimited\": 0,\n                    \"hasPhoneNumber\": 0,\n                    \"hasTopUps\": true,\n                    \"isRefundable\": true,\n                    \"isTetheringAllowed\": true,\n                    \"networkSpeed\": \"3G/4G\",\n                    \"activationDays\": 60,\n                    \"refillOptions\": [\n                        {\n                            \"id\": 12345,\n                            \"mb\": 1024,\n                            \"currency\": \"usd\",\n                            \"days\": 7,\n                            \"price\": 0.00,\n                            \"isActive\": true\n                        },\n                        {\n                            \"id\": 12345,\n                            \"mb\": 3072,\n                            \"currency\": \"usd\",\n                            \"days\": 30,\n                            \"price\": 0.00,\n                            \"isActive\": true\n                        },\n                        {\n                            \"id\": 12345,\n                            \"mb\": 5120,\n                            \"currency\": \"usd\",\n                            \"days\": 30,\n                            \"price\": 0.00,\n                            \"isActive\": true\n                        },\n                        {\n                            \"id\": 12345,\n                            \"mb\": 10240,\n                            \"currency\": \"usd\",\n                            \"days\": 30,\n                            \"price\": 0.00,\n                            \"isActive\": true\n                        },\n                        {\n                            \"id\": 12345,\n                            \"mb\": 20480,\n                            \"currency\": \"usd\",\n                            \"days\": 30,\n                            \"price\": 0.00,\n                            \"isActive\": true\n                        }\n                    ]\n                },\n                \"hasPackageQueue\": false,\n                \"packageQueue\": [],\n                \"connectivityInfo\": [],\n                \"statusLabelCondensed\": \"Not Installed\",\n                \"statusLabel\": \"eSIM not yet installed\",\n                \"isRefundable\": false\n            }\n        ]\n    }\n}"},{"id":"52917916-ee0b-410b-98e2-9743f15bdce1","name":"Purchase NotEnoughCredit","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"plan_id\": 1,\n    \"quantity\": 1\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/purchase"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 09 May 2024 14:49:19 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=30bcome1fd63salpvab21aukh5; path=/; HttpOnly"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Authorization, Content-Type, Accept"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"663ce26fec6b8"},{"key":"X-Debug-Duration","value":"66"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=663ce26fec6b8&hl=it"},{"key":"Connection","value":"close"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"error\": \"Not enough credit.\",\n    \"data\": {\n        \"price\": 0.00\n    }\n}"}],"_postman_id":"2e5cc722-65c3-4043-b4e3-461ba1a26825"},{"name":"TopUp","id":"180a1dec-544f-4d7f-ae9a-4f1fc2c9391f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"iccid\":\"1111111111111111111111\", //iccid of the eSIM that wil be Top up\n    \"refill\" : \"12345\" //Id of the Top Up that you can find in eSIM Info API in the \"refillOptions\" object.\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/top-up","description":"<p>Top up an eSIM.</p>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","esim","top-up"],"host":["esim.sm"],"query":[],"variable":[]}},"response":[{"id":"45c51509-a50b-4ae9-8a5c-7ece2e480b3b","name":"TopUp Reseller","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"iccid\":\"1111111111111\",\n    \"refill\" : \"11111\"\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/top-up"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 15 May 2024 08:35:38 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=j1a77u8adoqusj54k03i9b9619; path=/; HttpOnly"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Authorization, Content-Type, Accept"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"664473dac83ab"},{"key":"X-Debug-Duration","value":"820"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=664473dac83ab"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"pending\": false,\n    \"message\": \"Your order has been placed successfully.\",\n    \"data\": {\n        \"price\": 0.0\n    }\n}"},{"id":"9c5976eb-1f78-4c94-a9da-7978c462eabc","name":"TopUp Reseller NotEnoughCrediy","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"iccid\":\"1111111111111\",\n    \"refill\" : \"11111\"\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/top-up"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 15 May 2024 08:43:23 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=gc2dar6u80u9ir9cfi5uhdfps0; path=/; HttpOnly"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Authorization, Content-Type, Accept"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"664475abab6da"},{"key":"X-Debug-Duration","value":"63"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=664475abab6da"},{"key":"Connection","value":"close"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"error\": \"Not enough credit.\",\n    \"data\": {\n        \"price\": 0.0\n    }\n}"},{"id":"3fd01c55-e02e-4eaa-899f-3fe0c5090dca","name":"TopUp","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"iccid\":\"1111111111111111\",\n    \"refill\" : \"11111\"\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/top-up"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 15 May 2024 08:06:59 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=2o6e5nvusbg0krojlr1fngtd4j; path=/; HttpOnly"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Authorization, Content-Type, Accept"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"66446d239ee27"},{"key":"X-Debug-Duration","value":"1,199"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=66446d239ee27"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"pending\": true,\n    \"message\": \"The url for your topUp order has been generated.\",\n    \"data\": {\n        \"iccid\": \"8943108165007264489\",\n        \"refillId\": \"14144\",\n        \"price\": 6.5,\n        \"currency\": \"USD\",\n        \"url\": \"https://checkout.stripe.com/c/pay/cs_test_a1a8xzfO1iT7Fq8gZRd7IofD74jClSIYm4ABchG0JT8SBrQpMZwayFaoR1#fidkdWxOYHwnPyd1blpxYHZxWjA0Sk1IYE9OZDVhcVZKcGBDMnZmf0tIc2JXMUsyRnI9ZGZkMVR3MUh%2FdHZRcj1MSVdjMWtcY1NCVk1gSHJMcl1yaTNkPUBiaG9wN3diXFFrUzJLNUQ3Y3xMNTUyTldRYUZkUCcpJ2N3amhWYHdzYHcnP3F3cGApJ2lkfGpwcVF8dWAnPyd2bGtiaWBabHFgaCcpJ2BrZGdpYFVpZGZgbWppYWB3dic%2FcXdwYHgl\"\n    }\n}"}],"_postman_id":"180a1dec-544f-4d7f-ae9a-4f1fc2c9391f"},{"name":"Refund","id":"38a50ab9-7853-4d56-b7fb-c5f3b7a89485","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"iccid\": \"11111111111111111111111\" // The ICCID of the eSIM that will be refunded\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/refund","description":"<p>Refund an eSIM. You can ask for refund only if the eSIM has not been installed. There is a <strong>$1.00</strong> fee for each eSIM returned.</p>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","esim","refund"],"host":["esim.sm"],"query":[],"variable":[]}},"response":[{"id":"574d2438-fb80-4499-a289-20027ee5dd0c","name":"Refund","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"iccid\": 11111111111111111111111\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/refund"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 15 May 2024 08:57:50 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=57tpvauja5532oeu2e9k8pkt4j; path=/; HttpOnly"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Authorization, Content-Type, Accept"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"6644790e4be77"},{"key":"X-Debug-Duration","value":"105"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=6644790e4be77"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": false,\n    \"error\": \"Automatic refund is not available for this eSIM. Not Acceptable.\"\n}"},{"id":"ce0129b1-a6d8-4057-9d50-68d741df3caf","name":"Refund success","originalRequest":{"method":"POST","header":[{"key":"","value":"","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"iccid\": 11111111111111111111111\n}","options":{"raw":{"language":"json"}}},"url":"https://esim.sm/api/reseller/v1/esim/refund"},"status":"Not Acceptable","code":406,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 15 May 2024 08:58:14 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Set-Cookie","value":"PHPSESSID=h20fvcrgstpsfg9elbf4m6vr85; path=/; HttpOnly"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Allow","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Methods","value":"POST, GET, PUT, PATCH, DELETE, OPTIONS"},{"key":"Access-Control-Allow-Headers","value":"Authorization, Content-Type, Accept"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"664479270a276"},{"key":"X-Debug-Duration","value":"124"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=664479270a276"},{"key":"Keep-Alive","value":"timeout=5, max=99"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"error\": \"Refund request has been sent.\"\n}"}],"_postman_id":"38a50ab9-7853-4d56-b7fb-c5f3b7a89485"}],"id":"dca835ad-3797-4606-b4f5-fbd0c5c88958","description":"<p>In this folder you can find the API for the eSIM.</p>\n","_postman_id":"dca835ad-3797-4606-b4f5-fbd0c5c88958","auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]},"isInherited":true,"source":{"_postman_id":"aab496db-7306-4229-9c0e-0842cbcc5c26","id":"aab496db-7306-4229-9c0e-0842cbcc5c26","name":"eSIM.sm","type":"collection"}}},{"name":"Plan","id":"43f07cc7-b568-41a0-b6c9-8d4b0048d525","protocolProfileBehavior":{"disableBodyPruning":true,"disabledSystemHeaders":{"connection":true,"accept-encoding":true,"accept":true,"user-agent":true}},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://esim.sm/api/reseller/v1/plan?id=1","description":"<p>Get informations of a specific plan.</p>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","plan"],"host":["esim.sm"],"query":[{"key":"id","value":"1"}],"variable":[]}},"response":[{"id":"cfc969ee-be5d-40c8-a7c9-3cb9897d2c5b","name":"Plan","originalRequest":{"method":"GET","header":[{"key":"Content-Type","value":"application/json","disabled":true}],"url":{"raw":"https://esim.sm/api/reseller/v1/plan?id=1","protocol":"https","host":["esim.sm"],"path":["api","reseller/v1","plan"],"query":[{"key":"id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 15 May 2024 12:49:37 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"6644af613895d"},{"key":"X-Debug-Duration","value":"111"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=6644af613895d"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"plan\": {\n        \"id\": 1,\n        \"name\": \"1GB 7 days - Lao People's Democratic Republic\",\n        \"mb\": 1024,\n        \"days\": 7,\n        \"isActive\": true,\n        \"inFeed\": 1,\n        \"regionId\": null,\n        \"countries\": [\n            \"LA\"\n        ],\n        \"price\": 0.0,\n        \"salePrice\": 0.0,\n        \"currency\": \"usd\",\n        \"gb\": 1,\n        \"carriers\": {\n            \"AU\": [\n                {\n                    \"name\": \"Vodafone\",\n                    \"coverageUrl\": \"https://www.nperf.com/en/map/CZ/-/164040/signal/\"\n                }\n            ],\n            \"CN\": [\n                {\n                    \"name\": \"China Unicom\",\n                    \"coverageUrl\": \"https://www.nperf.com/en/map/CN/-/14505/signal/\"\n                }\n            ],\n            \"ID\": [\n                {\n                    \"name\": \"Telkomsel\",\n                    \"coverageUrl\": \"https://www.nperf.com/en/map/ID/-/5119/signal/\"\n                }\n            ],\n            \"JP\": [\n                {\n                    \"name\": \"docomo IIJ\",\n                    \"coverageUrl\": \"https://www.nperf.com/en/map/JP/-/-/signal/\"\n                }\n            ],\n            \"KH\": [\n                {\n                    \"name\": \"hello\",\n                    \"coverageUrl\": \"https://www.nperf.com/en/map/KH/-/-/signal/\"\n                }\n            ],\n            \"KR\": [\n                {\n                    \"name\": \"SK Telecom\",\n                    \"coverageUrl\": \"https://www.nperf.com/en/map/KR/-/7359/signal/\"\n                }\n            ],\n            \"LA\": [\n                {\n                    \"name\": \"LAO TELECOMMUNICATIONS\",\n                    \"coverageUrl\": \"https://www.nperf.com/en/map/LA/-/-/signal/\"\n                }\n            ]\n        },\n        \"thumbnailUrl\": \"https://s3.esim.sm/static/img/flags/LA.png\",\n        \"isTopOffer\": false,\n        \"isUnlimited\": 0,\n        \"hasPhoneNumber\": 0,\n        \"hasTopUps\": true,\n        \"isRefundable\": true,\n        \"isTetheringAllowed\": true,\n        \"networkSpeed\": \"3G/4G-LTE\",\n        \"activationDays\": 60,\n        \"refillOptions\": [\n            {\n                \"id\": 5190,\n                \"mb\": 1024,\n                \"currency\": \"usd\",\n                \"days\": 7,\n                \"price\": 0.0,\n                \"isActive\": true\n            },\n            {\n                \"id\": 5191,\n                \"mb\": 3072,\n                \"currency\": \"usd\",\n                \"days\": 30,\n                \"price\": 0.0,\n                \"isActive\": true\n            },\n            {\n                \"id\": 5192,\n                \"mb\": 5120,\n                \"currency\": \"usd\",\n                \"days\": 30,\n                \"price\": 0.0,\n                \"isActive\": true\n            },\n            {\n                \"id\": 5193,\n                \"mb\": 10240,\n                \"currency\": \"usd\",\n                \"days\": 30,\n                \"price\": 0.0,\n                \"isActive\": true\n            },\n            {\n                \"id\": 37804,\n                \"mb\": 20480,\n                \"currency\": \"usd\",\n                \"days\": 30,\n                \"price\": 0.0,\n                \"isActive\": true\n            },\n            {\n                \"id\": 5194,\n                \"mb\": 51200,\n                \"currency\": \"usd\",\n                \"days\": 90,\n                \"price\": 0.0,\n                \"isActive\": true\n            },\n            {\n                \"id\": 5195,\n                \"mb\": 102400,\n                \"currency\": \"usd\",\n                \"days\": 180,\n                \"price\": 0.0,\n                \"isActive\": true\n            }\n        ]\n    }\n}"}],"_postman_id":"43f07cc7-b568-41a0-b6c9-8d4b0048d525"},{"name":"Params","id":"d3df83b0-d558-4b9d-a01f-c5028da0a1ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://esim.sm/api/reseller/v1/params","description":"<p>Returns service information such as:</p>\n<ul>\n<li>Currencies</li>\n<li>Fee</li>\n<li>Compatible Devices</li>\n</ul>\n","urlObject":{"protocol":"https","path":["api","reseller/v1","params"],"host":["esim.sm"],"query":[],"variable":[]}},"response":[{"id":"eda7539b-8646-4088-9939-050faff3e935","name":"Params","originalRequest":{"method":"GET","header":[],"url":"https://esim.sm/api/reseller/v1/params"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 13 May 2024 13:03:24 GMT"},{"key":"Server","value":"Apache/2.4.54 (Unix) mod_fastcgi/mod_fastcgi-SNAP-0910052141 OpenSSL/1.0.2u mod_wsgi/3.5 Python/2.7.18"},{"key":"X-Powered-By","value":"PHP/8.2.0"},{"key":"Expires","value":"Thu, 19 Nov 1981 08:52:00 GMT"},{"key":"Cache-Control","value":"no-store, no-cache, must-revalidate"},{"key":"Pragma","value":"no-cache"},{"key":"Vary","value":"Accept"},{"key":"X-Debug-Tag","value":"66420f9c81c93"},{"key":"X-Debug-Duration","value":"55"},{"key":"X-Debug-Link","value":"/debug/default/view?tag=66420f9c81c93"},{"key":"Keep-Alive","value":"timeout=5, max=100"},{"key":"Connection","value":"Keep-Alive"},{"key":"Transfer-Encoding","value":"chunked"},{"key":"Content-Type","value":"application/json; charset=UTF-8"}],"cookie":[],"responseTime":null,"body":"{\n    \"success\": true,\n    \"data\": {\n        \"refundFeeUsd\": 2.5,\n        \"supportedCurrencies\": [\n            \"usd\",\n            \"eur\",\n            \"gbp\"\n        ],\n        \"compatibleDevices\": {\n            \"Apple\": {\n                \"0\": \"iPhone 15 (all models)\",\n                \"1\": \"iPhone 14 (all models)\",\n                \"2\": \"iPhone 13 (all models)\",\n                \"3\": \"iPhone 12 (all models)\",\n                \"4\": \"iPhone 11\",\n                \"5\": \"iPhone 11 Pro\",\n                \"6\": \"iPhone 11 Pro Max\",\n                \"7\": \"iPhone SE (2nd generation)\",\n                \"8\": \"iPhone XS\",\n                \"9\": \"iPhone XS Max\",\n                \"10\": \"iPhone XR\",\n                \"11\": \"iPhone SE (2nd generation) 2020\",\n                \"12\": \"iPhone SE (3rd generation) 2022\",\n                \"Notes\": [\n                    \"iPhones from Mainland China are NOT compatible\",\n                    \"iPhones from Hong Kong and Macao (except for iPhone 13 mini, iPhone 12 mini, iPhone SE 2020, and iPhone XS) are NOT compatible\"\n                ]\n            },\n            \"Google Pixel\": [\n                \"Google Pixel 8 Pro\",\n                \"Google Pixel 8 / 8a\",\n                \"Google Pixel 7 Pro\",\n                \"Google Pixel 7 / 7a\",\n                \"Google Pixel 6 Pro\",\n                \"Google Pixel 6 / 6a\",\n                \"Google Pixel 5\",\n                \"Google Pixel 4\",\n                \"Google Pixel 4a\",\n                \"Google Pixel 4 XL\",\n                \"Google Pixel 3\",\n                \"Google Pixel 3 XL\",\n                \"Google Pixel 3a\",\n                \"Google Pixel 3a XL\"\n            ],\n            \"Samsung Galaxy\": {\n                \"0\": \"Samsung Galaxy A54 5G\",\n                \"1\": \"Samsung Galaxy Fold\",\n                \"2\": \"Samsung Galaxy Note20\",\n                \"3\": \"Samsung Galaxy Note20 Ultra\",\n                \"4\": \"Samsung Galaxy S24 / 5G\",\n                \"5\": \"Samsung Galaxy S24+ / 5G\",\n                \"6\": \"Samsung Galaxy S24 Ultra / 5G\",\n                \"7\": \"Samsung Galaxy S23 / 5G\",\n                \"8\": \"Samsung Galaxy S23 FE\",\n                \"9\": \"Samsung Galaxy S23+ / 5G\",\n                \"10\": \"Samsung Galaxy S23 Ultra / 5G\",\n                \"11\": \"Samsung Galaxy S22 / 5G\",\n                \"12\": \"Samsung Galaxy S22+ / 5G\",\n                \"13\": \"Samsung Galaxy S22 Ultra / 5G\",\n                \"14\": \"Samsung Galaxy S21 / 5G\",\n                \"15\": \"Samsung Galaxy S21+ / 5G\",\n                \"16\": \"Samsung Galaxy S21 Ultra / 5G\",\n                \"17\": \"Samsung Galaxy S20\",\n                \"18\": \"Samsung Galaxy S20+\",\n                \"19\": \"Samsung Galaxy S20 Ultra\",\n                \"20\": \"Samsung Galaxy Z Flip\",\n                \"21\": \"Samsung Galaxy Z Fold 2\",\n                \"22\": \"Samsung Galaxy Z Fold 3 5G\",\n                \"23\": \"Samsung Galaxy Z Flip 3 5G Fold\",\n                \"24\": \"Samsung Galaxy Z Flip 3 5G\",\n                \"25\": \"Samsung Galaxy Z Flip 4\",\n                \"26\": \"Samsung Galaxy Z Fold 4\",\n                \"27\": \"Samsung Galaxy Z Fold 5\",\n                \"Notes\": [\n                    \"Samsung Galaxy \\\"FE\\\" models are NOT compatible except those expressly listed\"\n                ]\n            },\n            \"Huawei\": {\n                \"0\": \"Huawei P40\",\n                \"1\": \"Huawei P40 Pro\",\n                \"2\": \"Huawei Mate 40 Pro\",\n                \"Notes\": [\n                    \"Huawei P40 Pro+ and P50 are NOT compatible.\"\n                ]\n            },\n            \"Motorola Razr\": [\n                \"Motorola Razr (2019)\",\n                \"Motorola Razr 5G\",\n                \"Motorola Razr 40\",\n                \"Motorola Razr 40 ULTRA\",\n                \"Motorola EDGE 40\",\n                \"Motorola EDGE 40 Pro\",\n                \"Motorola G53 5G\"\n            ],\n            \"OnePlus\": {\n                \"0\": \"12\",\n                \"Notes\": [\n                    \"The device allows only one SIM and one eSIM to be active at the same time.\"\n                ]\n            },\n            \"Oppo\": {\n                \"0\": \"Oppo Find N2 Flip\",\n                \"1\": \"Oppo Find X3 Pro\",\n                \"2\": \"Oppo Find X5\",\n                \"3\": \"Oppo Find X5 Pro\",\n                \"4\": \"Oppo Reno 5A\",\n                \"5\": \"Oppo A55s 5G\",\n                \"6\": \"Oppo Reno6 Pro 5G\",\n                \"Notes\": [\n                    \"The Oppo Find X5 Lite is not compatible.\"\n                ]\n            },\n            \"Nokia\": [\n                \"Nokia G60 5G\",\n                \"Nokia X30 5G\",\n                \"Nokia XR21\"\n            ],\n            \"Xiaomi\": {\n                \"0\": \"Xiaomi 12T Pro\",\n                \"1\": \"Xiaomi 13\",\n                \"2\": \"Xiaomi 13 Lite\",\n                \"3\": \"Xiaomi 13 Pro\",\n                \"4\": \"Xiaomi 13T\",\n                \"5\": \"Xiaomi 13T Pro\",\n                \"6\": \"Xiaomi 14\",\n                \"7\": \"Xiaomi 14 Pro\",\n                \"8\": \"Xiaomi Redmine Note 13 Pro\",\n                \"Notes\": [\n                    \"Redmi 13C and Xiaomi 14 Ultra are NOT compatible. For Redmine Note 13 Pro check if eSIM feature is present in settings of the device\"\n                ]\n            },\n            \"Microsoft\": [\n                \"Microsoft Surface Duo\",\n                \"Microsoft Surface Duo 2\"\n            ],\n            \"Dogee\": {\n                \"Notes\": \"DOGEE phones are not supported\"\n            }\n        }\n    }\n}"}],"_postman_id":"d3df83b0-d558-4b9d-a01f-c5028da0a1ec"}],"auth":{"type":"bearer","bearer":{"basicConfig":[{"key":"token","value":"token"}]}},"event":[{"listen":"prerequest","script":{"id":"6a8ca27a-c070-4326-b9f8-037cfb2910a4","type":"text/javascript","packages":{},"requests":{},"exec":[""]}},{"listen":"test","script":{"id":"a39cdeb5-b739-447c-9ad6-5b45d4bb239a","type":"text/javascript","packages":{},"requests":{},"exec":[""]}}],"variable":[{"key":"hostname","value":"esim.sm"},{"key":"version","value":"reseller/v1"},{"key":"login_email","value":"test@example.com"},{"key":"login_password","value":"test123"},{"key":"bearer_token","value":"token"},{"key":"language","value":"en"},{"key":"currency","value":"usd"},{"key":"reset_email","value":"test@example.com"},{"key":"refund_iccid","value":"11111111111111111111111"},{"key":"esim_info_iccid","value":"11111111111111111111111"},{"key":"plan_id","value":"12345"},{"key":"top_up_iccid","value":"1111111111111111111111"},{"key":"top_up_refill_id","value":"12345"},{"key":"purchase_plan_id","value":"12345"}]}