{"id":2358,"date":"2024-03-04T08:10:45","date_gmt":"2024-03-04T08:10:45","guid":{"rendered":"http:\/\/34.88.191.99\/?page_id=2358"},"modified":"2025-04-07T13:58:13","modified_gmt":"2025-04-07T13:58:13","slug":"update-sub-account","status":"publish","type":"page","link":"https:\/\/ip1sms.com\/en\/developer\/update-sub-account\/","title":{"rendered":"Update subaccount"},"content":{"rendered":"<h1 class=\"wp-block-heading\" id=\"h-uppdatera-underkonto\">Update subaccount<\/h1>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-uppdatera-ett-enskilt-underkonto\">Update an individual 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>PUT \/api\/me\/children\/{child}<\/code><\/p>\n\n\n\n<p>This endpoint allows you to update an individual subaccount associated with an account.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"h-anropsadata-typ\">Call data type<\/h3>\n\n\n<div class=\"wp-block-syntaxhighlighter-code\"><pre class=\"brush: csharp; title: ; notranslate\" title=\"\">\n{ &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-id\">ID<\/h4>\n\n\n\n<p>An individual sub-account&#039;s unique account ID<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-name\">Name<\/h4>\n\n\n\n<p>An individual sub-account&#039;s label or name.<\/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>An individual 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>An individual sub-account&#039;s parent account.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-type\">Type<\/h4>\n\n\n\n<p>An individual 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>An individual 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 single sub-account&#039;s currency.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"h-id-0\">ID<\/h4>\n\n\n\n<p>An individual sub-account&#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>Labeling of an individual sub-account. 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>Uppdatera underkonto Uppdatera ett enskilt underkonto Endpoint Endpoint:&nbsp;PUT \/api\/me\/children\/{child} Denna endpoint l\u00e5ter dig uppdatera ett enskilt underkonto kopplat till ett konto. Anropsadata-typ ID Ett enskilt underkontons unika konto-ID Name Ett enskilt underkontos m\u00e4rkning eller namn. Responsdata-typ Key Ett enskilt underkontots API-nyckel. Parent Ett enskilt underkontos f\u00f6r\u00e4ldra-konto. Type Ett enskilt underkontos konto-typ. Balance Ett enskilt underkontos [&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-2358","page","type-page","status-publish","hentry","category-api-dokumention","tag-integration"],"_links":{"self":[{"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/2358","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=2358"}],"version-history":[{"count":0,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/pages\/2358\/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=2358"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/categories?post=2358"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ip1sms.com\/en\/wp-json\/wp\/v2\/tags?post=2358"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}