{"id":4508,"date":"2023-06-02T15:13:10","date_gmt":"2023-06-02T12:13:10","guid":{"rendered":"https:\/\/www.microimpuls.com\/docs\/smarty\/external-billing-integration\/%d0%bf%d0%be%d0%b4%d0%bf%d0%b8%d1%81%d0%be%d1%87%d0%bd%d0%b0%d1%8f-%d0%bc%d0%be%d0%b4%d0%b5%d0%bb%d1%8c-%d0%b1%d0%b8%d0%bb%d0%bb%d0%b8%d0%bd%d0%b3%d0%b0"},"modified":"2023-06-15T08:17:58","modified_gmt":"2023-06-15T05:17:58","slug":"billing_subscription_type","status":"publish","type":"docs","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/external-billing-integration\/billing_subscription_type","title":{"rendered":"Subscription model billing"},"content":{"rendered":"<h2 class=\"wp-block-heading\">Activation and inclusion of the subscription model<\/h2>\n\n\n\n<p>In order to start using the subscription model of internal billing, it is necessary that in the Smarty configuration file in the block of license parameters at the parameter <code>api<\/code> indicated <code>new_billing<\/code>. If there is no such value, then you need to check your license for access to the subscription model. If available, you need to specify this value and restart <code>uwsgi<\/code>.<\/p>\n\n\n\n<p><code>SMARTY_KEY = 'HERE_INDICATED_YOUR_KEY_LICENSE'<br>SMARTY_LICENSE_PARAMS = {<br>         'monitoring_limit': 0,<br>         'account_limit': 1000,<br>         'api_list': ['tvmw', 'billing', 'new_billing',<br>         'device_types': [],<br>         'device_limit': 0,<br>}<\/code><\/p>\n\n\n\n<p class=\"has-text-align-center\"><sup><em>Example of a license configuration with an activated subscription model (Option 1).<\/em><\/sup><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"398\" height=\"110\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_1.jpg\" alt=\"\" class=\"wp-image-4517\"\/><figcaption>An example of a license configuration with an activated subscription model (Option 2).<\/figcaption><\/figure><\/div>\n\n\n\n<p>If the subscription model is included in the Smarty configuration file, then it is enough to go to the tab to activate this billing behavior <em><strong>\u00ab General settings \u00bb \u2014 \u00ab General settings Client\u00bb<\/strong><\/em> block <em><strong>\u00abInternal billing \u00bb<\/strong><\/em> billing-type <em><strong>\u00abSimple mode\u00bb<\/strong><\/em> on <em><strong>\u00abSubscription model \u00bb<\/strong><\/em>.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"799\" height=\"251\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_2.jpg\" alt=\"\" class=\"wp-image-4518\"\/><figcaption>Changes in internal billing behavior<\/figcaption><\/figure><\/div>\n\n\n\n<p>After changing the type of billing to the subscription model, it is necessary to execute a management command <code>migrate_to_nb<\/code><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>smarty_manage migrate_to_nb --settings=settings.smarty<\/code><\/pre>\n\n\n\n<p>This team will create a database for a subscription billing model, and subscriptions will be created for existing users based on connected tariff plans.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Differences between subscription model and simple billing<\/h2>\n\n\n\n<p>The main difference between the subscription model and the standard \u2014 is the ability to create subscriptions with different durations of action. Subscriptions are renewed independently, according to their expiration dates (starting with Smarty version 1.94).<br>When creating a tariff plan in the field <em><strong>\u00abPeriod\u00bb<\/strong><\/em> you can specify the duration of the subscription. This parameter will be responsible for the duration of the subscription (also, the subscription period can be changed when connecting the tariff plan through the Smarty admin, or through the Smarty admin) <code>BillingApi<\/code> methodically <em><code>CustomerTariffSubscriptionCreate<\/code><\/em>).<\/p>\n\n\n\n<p>After creating a tariff plan, on the screen of its editing, you can see that in the block <em><strong>\u00abBasic parameters \u00bb<\/strong><\/em> there are new menu elements, namely <em><strong>\u00abSubscribe by default \u00bb<\/strong><\/em> and <em><strong>\u00abCreate a one-time subscription by default\u00bb<\/strong><\/em>. <br><\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"948\" height=\"241\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_3.jpg\" alt=\"\" class=\"wp-image-4519\"\/><figcaption>New fields in tariff configuration for subscription billing model<\/figcaption><\/figure><\/div>\n\n\n\n<p>Using these parameters, you can specify which subscriptions will be connected to the subscriber when registering an account \u2014 in the first case, the subscription will be periodic, in the second case, non-periodic.<\/p>\n\n\n\n<p>Periodic subscription means that at the end of the subscription, if there are funds on the account balance, the subscription will be renewed. Non-periodic subscription in the same conditions will be disabled (this property can be used for trial rates, or for one-time subscriptions connected within the framework of any promotion).<\/p>\n\n\n\n<p>Another important difference between the subscription model and the standard is the appearance of the field <strong><em>\u00abSubscriptions\u00bb<\/em><\/strong> on the Smarty admin screen <strong><em>\u00abSubscriber information\u00bb<\/em><\/strong>. This field displays all subscriber subscriptions, as well as information about these subscriptions \u2014 name, expiration date, whether this subscription is periodic or not and whether it is active.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"773\" height=\"258\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_4.jpg\" alt=\"\" class=\"wp-image-4520\"\/><figcaption>Block \u00abSubscriptions\u00bb on the subscriber information screen<\/figcaption><\/figure><\/div>\n\n\n\n<p>In the same block, it is possible to add a subscription to the subscriber by previously changing the subscription settings (or leaving these settings by default). By clicking on the button \u00abAdd subscription\u00bb a window opens where you can select a tariff package and specify the parameters for the subscription.<\/p>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"628\" height=\"266\" src=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_5.jpg\" alt=\"\" class=\"wp-image-4522\"\/><figcaption>Subscription window via Smarty admin<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Smarty configuration options for the subscription system.<\/h2>\n\n\n\n<p><code>BILLING_CHECK_NON_BASIC_SUBS<\/code> \u2014 this option is responsible for the dependence of account activation on the availability of a subscription to the basic tariff. Prix <code>True true<\/code> the account remains active regardless of whether it has a subscription to the basic tariff or not (the account is deactivated only at the end of all subscriptions). Prix <code>False<\/code> check for the base rate \u2014 if there is no subscription to the base rate or it has expired, the account will be deactivated (regardless of the fact that the account has a subscription to other tariff plans).<br><code>BILLING_ACCURATE_SUBSCRIPTIONS<\/code> \u2014 this option is responsible for setting accurate activation\/deactivation timestamps of the subscription. Prix <code>False<\/code> the start time and end time of the subscription will always be the same (12:00 the day the subscription was activated and 12:00 the day the subscription will be deactivated, respectively). Prix <code>True true<\/code> the exact activation time will be indicated.<\/p>","protected":false},"featured_media":0,"parent":1270,"menu_order":2,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_links_to":"","_links_to_target":""},"doc_tag":[],"class_list":["post-4508","docs","type-docs","status-publish","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.7 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>\u041f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/external-billing-integration\/billing_subscription_type\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430\" \/>\n<meta property=\"og:description\" content=\"\u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 Smarty \u0432 \u0431\u043b\u043e\u043a\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 \u0443 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 api_list \u0431\u044b\u043b\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 new_billing. \u0415\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u0442, \u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044e \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438. \u041f\u0440\u0438 \u0435\u0433\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0438, \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/microimpuls.com\/en\/docs\/smarty\/external-billing-integration\/billing_subscription_type\/\" \/>\n<meta property=\"og:site_name\" content=\"Microimpuls\" \/>\n<meta property=\"article:modified_time\" content=\"2023-06-15T05:17:58+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_1.jpg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type\",\"url\":\"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type\",\"name\":\"\u041f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430\",\"isPartOf\":{\"@id\":\"https:\/\/micro.im\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#primaryimage\"},\"image\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_1.jpg\",\"datePublished\":\"2023-06-02T12:13:10+00:00\",\"dateModified\":\"2023-06-15T05:17:58+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#primaryimage\",\"url\":\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_1.jpg\",\"contentUrl\":\"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_1.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430\",\"item\":\"https:\/\/micro.im\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Smarty\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439\",\"item\":\"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"\u041f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/micro.im\/#website\",\"url\":\"https:\/\/micro.im\/\",\"name\":\"Microimpuls\",\"description\":\"\u041a\u043e\u043c\u043f\u043b\u0435\u043a\u0441\u043d\u044b\u0435 \u0440\u0435\u0448\u0435\u043d\u0438\u044f \u0434\u043b\u044f OTT \u0438 IPTV\",\"publisher\":{\"@id\":\"https:\/\/micro.im\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/micro.im\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/micro.im\/#organization\",\"name\":\"Microimpuls\",\"url\":\"https:\/\/micro.im\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"contentUrl\":\"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png\",\"width\":208,\"height\":219,\"caption\":\"Microimpuls\"},\"image\":{\"@id\":\"https:\/\/micro.im\/#\/schema\/logo\/image\/\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Subscription model billing","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/microimpuls.com\/en\/docs\/smarty\/external-billing-integration\/billing_subscription_type\/","og_locale":"en_US","og_type":"article","og_title":"\u041f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430","og_description":"\u0410\u043a\u0442\u0438\u0432\u0430\u0446\u0438\u044f \u0438 \u0432\u043a\u043b\u044e\u0447\u0435\u043d\u0438\u0435 \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438 \u0414\u043b\u044f \u0442\u043e\u0433\u043e, \u0447\u0442\u043e\u0431\u044b \u043d\u0430\u0447\u0430\u0442\u044c \u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c\u0441\u044f \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u044c\u044e \u0432\u043d\u0443\u0442\u0440\u0435\u043d\u043d\u0435\u0433\u043e \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430, \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e, \u0447\u0442\u043e\u0431\u044b \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u043e\u043c \u0444\u0430\u0439\u043b\u0435 Smarty \u0432 \u0431\u043b\u043e\u043a\u0435 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u043e\u0432 \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u0438 \u0443 \u043f\u0430\u0440\u0430\u043c\u0435\u0442\u0440\u0430 api_list \u0431\u044b\u043b\u043e \u0443\u043a\u0430\u0437\u0430\u043d\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 new_billing. \u0415\u0441\u043b\u0438 \u0442\u0430\u043a\u043e\u0433\u043e \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f \u043d\u0435\u0442, \u0442\u043e \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u043f\u0440\u043e\u0432\u0435\u0440\u0438\u0442\u044c \u0441\u0432\u043e\u044e \u043b\u0438\u0446\u0435\u043d\u0437\u0438\u044e \u043d\u0430 \u043d\u0430\u043b\u0438\u0447\u0438\u0435 \u0434\u043e\u0441\u0442\u0443\u043f\u0430 \u043a \u043f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u043e\u0439 \u043c\u043e\u0434\u0435\u043b\u0438. \u041f\u0440\u0438 \u0435\u0433\u043e \u043d\u0430\u043b\u0438\u0447\u0438\u0438, \u043d\u0443\u0436\u043d\u043e \u0443\u043a\u0430\u0437\u0430\u0442\u044c \u0434\u0430\u043d\u043d\u043e\u0435 \u0437\u043d\u0430\u0447\u0435\u043d\u0438\u0435 \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u0438\u0442\u044c [&hellip;]","og_url":"https:\/\/microimpuls.com\/en\/docs\/smarty\/external-billing-integration\/billing_subscription_type\/","og_site_name":"Microimpuls","article_modified_time":"2023-06-15T05:17:58+00:00","og_image":[{"url":"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_1.jpg","type":"","width":"","height":""}],"twitter_card":"summary_large_image","schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type","url":"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type","name":"Subscription model billing","isPartOf":{"@id":"https:\/\/micro.im\/#website"},"primaryImageOfPage":{"@id":"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#primaryimage"},"image":{"@id":"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#primaryimage"},"thumbnailUrl":"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_1.jpg","datePublished":"2023-06-02T12:13:10+00:00","dateModified":"2023-06-15T05:17:58+00:00","breadcrumb":{"@id":"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#primaryimage","url":"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_1.jpg","contentUrl":"https:\/\/www.microimpuls.com\/wp-content\/uploads\/2023\/06\/new_billing_info_1.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration\/billing_subscription_type#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u0413\u043b\u0430\u0432\u043d\u0430\u044f \u0441\u0442\u0440\u0430\u043d\u0438\u0446\u0430","item":"https:\/\/micro.im\/"},{"@type":"ListItem","position":2,"name":"Smarty","item":"https:\/\/microimpuls.com\/docs\/smarty"},{"@type":"ListItem","position":3,"name":"\u0418\u043d\u0442\u0435\u0433\u0440\u0430\u0446\u0438\u044f \u0441 \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u043e\u0432\u043e\u0439 \u0441\u0438\u0441\u0442\u0435\u043c\u043e\u0439","item":"https:\/\/microimpuls.com\/docs\/smarty\/external-billing-integration"},{"@type":"ListItem","position":4,"name":"\u041f\u043e\u0434\u043f\u0438\u0441\u043e\u0447\u043d\u0430\u044f \u043c\u043e\u0434\u0435\u043b\u044c \u0431\u0438\u043b\u043b\u0438\u043d\u0433\u0430"}]},{"@type":"WebSite","@id":"https:\/\/micro.im\/#website","url":"https:\/\/micro.im\/","name":"Microimpulses","description":"Comprehensive solutions for OTT and IPTV","publisher":{"@id":"https:\/\/micro.im\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/micro.im\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/micro.im\/#organization","name":"Microimpulses","url":"https:\/\/micro.im\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/","url":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","contentUrl":"https:\/\/microimpuls.com\/wp-content\/uploads\/2024\/12\/mi-logo-square-en-black.png","width":208,"height":219,"caption":"Microimpuls"},"image":{"@id":"https:\/\/micro.im\/#\/schema\/logo\/image\/"}}]}},"_links":{"self":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/4508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/comments?post=4508"}],"version-history":[{"count":7,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/4508\/revisions"}],"predecessor-version":[{"id":4587,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/4508\/revisions\/4587"}],"up":[{"embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1270"}],"prev":[{"title":"Scenarios of integration of external billing","link":"https:\/\/microimpuls.com\/en\/docs\/smarty\/external-billing-integration\/external-billing-use-cases","href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/docs\/1299"}],"wp:attachment":[{"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/media?parent=4508"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/microimpuls.com\/en\/wp-json\/wp\/v2\/doc_tag?post=4508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}