{"id":2354,"date":"2024-03-04T07:59:09","date_gmt":"2024-03-04T07:59:09","guid":{"rendered":"http:\/\/34.88.191.99\/?page_id=2354"},"modified":"2025-04-07T13:55:21","modified_gmt":"2025-04-07T13:55:21","slug":"create-sub-account","status":"publish","type":"page","link":"https:\/\/ip1sms.com\/en\/developer\/create-sub-account\/","title":{"rendered":"Create sub-account"},"content":{"rendered":"<h1 class=\"wp-block-heading\" id=\"h-skapa-underkonto\">Create sub-account<\/h1>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-skapa-ett-nytt-underkonto\">Create a new sub-account<\/h3>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-endpoint\">Endpoint<\/h3>\n\n\n\n<p>Endpoint:&nbsp;<code>POST \/api\/me\/children<\/code><\/p>\n\n\n\n<p>This endpoint allows you to create a new sub-account, subordinate to your main account.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-anropsdata-typ\">Request Data Type<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\n{ &quot;Name&quot;: &quot;string&quot; }\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\" id=\"h-name\">Name<\/h4>\n\n\n\n<p>The account&#039;s label. For example, department name or other name that alludes to the purpose of the account.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-responsdata-typ\">Response data type<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\n{ &quot;Key&quot;: &quot;string&quot;, &quot;Parent&quot;: &quot;string&quot;, &quot;Type&quot;: &quot;string&quot;, &quot;Balance&quot;: 0.0, &quot;Currency&quot;: &quot;string&quot;, &quot;ID&quot;: &quot;string&quot;, &quot;Name&quot; : &quot;string&quot; }\n<\/pre><\/div>\n\n\n<h4 class=\"wp-block-heading\" id=\"h-key\">Key<\/h4>\n\n\n\n<p>A subaccount&#039;s API key.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-parent\">Parents<\/h4>\n\n\n\n<p>A subaccount&#039;s parent account.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-type\">Type<\/h4>\n\n\n\n<p>A subaccount&#039;s account type.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-balance\">Balance<\/h4>\n\n\n\n<p>A sub-account&#039;s balance level. Can consist of a negative number or positive number depending on the payment model linked to the account.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-currency\">Currency<\/h4>\n\n\n\n<p>A sub-account&#039;s currency.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-id\">ID<\/h4>\n\n\n\n<p>A subaccount&#039;s ID, consists of the prefix&nbsp;<strong>ip1-<\/strong>&nbsp;followed by a number of numbers.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-name-0\">Name<\/h4>\n\n\n\n<p>A sub-account&#039;s label. For example, department or reference to the purpose of the account.<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>","protected":false},"excerpt":{"rendered":"<p>Skapa underkonto Skapa ett nytt underkonto Endpoint Endpoint:&nbsp;POST \/api\/me\/children Denna endpoint l\u00e5ter dig skapa ett nytt underkonto, underordnat ditt huvudkonto. Anropsdata-typ Name Kontots m\u00e4rkning. Exempelvis avdelningsnamn eller annat namn som anspelar p\u00e5 kontots syfte. Responsdata-typ Key Ett underkontots API-nyckel. Parent Ett underkontos f\u00f6r\u00e4ldra-konto. Type Ett underkontos konto-typ. Balance Ett underkontos saldoniv\u00e5. Kan best\u00e5 av en [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":382,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"developer.php","meta":{"footnotes":""},"categories":[4],"tags":[22],"class_list":["post-2354","page","type-page","status-publish","hentry","category-api-dokumention","tag-integration"],"_links":{"self":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/2354","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/comments?post=2354"}],"version-history":[{"count":0,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/2354\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/382"}],"wp:attachment":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/media?parent=2354"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/categories?post=2354"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/tags?post=2354"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}