{"items":[{"type":"link","label":"Accounts","link":"/products/nowinfinity/apis/partner/accounts","routeSlug":"/products/nowinfinity/apis/partner/accounts","content":{"contentType":"overview","meta":{"name":"Accounts"},"children":[{"nodeType":"container","panels":[{"title":"Download OpenAPI description","titleTranslationKey":"download.description.title","children":[{"kind":"download","label":"accounts.json","url":"/_bundle/products/nowinfinity/apis/partner/accounts.json?download"},{"kind":"download","label":"accounts.yaml","url":"/_bundle/products/nowinfinity/apis/partner/accounts.yaml?download"}]},{"title":"Overview","titleTranslationKey":"info.title","children":[]},{"title":"Languages","titleTranslationKey":"languages.title","children":[{"kind":"languages","options":[{"key":"curl","title":"curl","lang":"curl"},{"key":"javascript","title":"JavaScript","lang":"JavaScript"},{"key":"node","title":"Node.js","lang":"Node.js"},{"key":"python","title":"Python","lang":"Python"},{"key":"java","title":"Java","lang":"Java"},{"key":"csharp","title":"C#","lang":"C#"},{"key":"php","title":"PHP","lang":"PHP"},{"key":"go","title":"Go","lang":"Go"},{"key":"ruby","title":"Ruby","lang":"Ruby"},{"key":"r","title":"R","lang":"R"},{"key":"payload","title":"Payload","lang":"Payload"}]}]},{"title":"Servers","titleTranslationKey":"servers.title","children":[{"kind":"servers","servers":[{"url":"https://partnerapi.nowinfinity-test.com.au/v1","description":"Partner Integration Environment (Sandbox)"},{"url":"https://partnerapi.nowinfinity.com.au/v1","description":"Production Environment"}],"mode":"default"}]}],"children":[{"nodeType":"overview-section-wrapper","children":[{"nodeType":"header","level":1,"label":"Accounts (1.0)","showPageActions":true},{"nodeType":"overview-section-wrapper","children":[{"nodeType":"markdoc","content":[{"$$mdtype":"Node","type":"list","attributes":{"ordered":false,"marker":"-"},"children":[{"$$mdtype":"Node","type":"item","attributes":{},"children":[{"$$mdtype":"Node","type":"inline","attributes":{},"children":[{"$$mdtype":"Node","type":"text","inline":true,"attributes":{"content":"Retrieve the current account and any child accounts accessible to it."},"children":[]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"div","attrs":{"className":"env-panel","data-component-name":"EnvPanel"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"div","attrs":{"className":"env-panel__header"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Servers"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"div","attrs":{"className":"env-panel__body"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"div","attrs":{"className":"env-row"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"div","attrs":{"className":"env-name"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Partner Integration Environment (Sandbox)"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"div","attrs":{"className":"env-url-row"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"span","attrs":{"className":"env-url"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"https://partnerapi.nowinfinity-test.com.au/v1"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"button","attrs":{"type":"button","className":"copy-btn","data-copy":"https://partnerapi.nowinfinity-test.com.au/v1","aria-label":"Copy"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"svg","attrs":{"viewbox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg","aria-hidden":"true"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"path","attrs":{"fillRule":"evenodd","clipRule":"evenodd","d":"M5.16667 2.66667C5.16667 2.57462 5.24129 2.5 5.33333 2.5H12C12.092 2.5 12.1667 2.57462 12.1667 2.66667V10.6667C12.1667 10.7587 12.092 10.8333 12 10.8333H10H5.33333C5.24129 10.8333 5.16667 10.7587 5.16667 10.6667V4.66667V2.66667ZM4.16667 4.16667V2.66667C4.16667 2.02233 4.689 1.5 5.33333 1.5H12C12.6443 1.5 13.1667 2.02233 13.1667 2.66667V10.6667C13.1667 11.311 12.6443 11.8333 12 11.8333H10.5V13.3333C10.5 13.6428 10.3771 13.9395 10.1583 14.1583C9.9395 14.3771 9.64275 14.5 9.33333 14.5H2.66667C2.35725 14.5 2.0605 14.3771 1.84171 14.1583C1.62292 13.9395 1.5 13.6428 1.5 13.3333V5.33333C1.5 5.02391 1.62292 4.72717 1.84171 4.50838C2.0605 4.28958 2.35725 4.16667 2.66667 4.16667H4.16667ZM9.5 11.8333V13.3333C9.5 13.3775 9.48244 13.4199 9.45118 13.4512C9.41993 13.4824 9.37754 13.5 9.33333 13.5H2.66667C2.62246 13.5 2.58007 13.4824 2.54882 13.4512C2.51756 13.4199 2.5 13.3775 2.5 13.3333V5.33333C2.5 5.28913 2.51756 5.24674 2.54882 5.21548C2.58007 5.18423 2.62246 5.16667 2.66667 5.16667H4.16667V10.6667C4.16667 11.311 4.689 11.8333 5.33333 11.8333H9.5Z","fill":"currentColor"}},"children":[]}]}]}]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"div","attrs":{"className":"env-row"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"div","attrs":{"className":"env-name"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"Production Environment"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"div","attrs":{"className":"env-url-row"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"span","attrs":{"className":"env-url"}},"children":[{"$$mdtype":"Node","type":"text","attributes":{"content":"https://partnerapi.nowinfinity.com.au/v1"},"children":[]}]},{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"button","attrs":{"type":"button","className":"copy-btn","data-copy":"https://partnerapi.nowinfinity.com.au/v1","aria-label":"Copy"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"svg","attrs":{"viewbox":"0 0 16 16","fill":"none","xmlns":"http://www.w3.org/2000/svg","aria-hidden":"true"}},"children":[{"$$mdtype":"Node","type":"tag","tag":"html","attributes":{"name":"path","attrs":{"fillRule":"evenodd","clipRule":"evenodd","d":"M5.16667 2.66667C5.16667 2.57462 5.24129 2.5 5.33333 2.5H12C12.092 2.5 12.1667 2.57462 12.1667 2.66667V10.6667C12.1667 10.7587 12.092 10.8333 12 10.8333H10H5.33333C5.24129 10.8333 5.16667 10.7587 5.16667 10.6667V4.66667V2.66667ZM4.16667 4.16667V2.66667C4.16667 2.02233 4.689 1.5 5.33333 1.5H12C12.6443 1.5 13.1667 2.02233 13.1667 2.66667V10.6667C13.1667 11.311 12.6443 11.8333 12 11.8333H10.5V13.3333C10.5 13.6428 10.3771 13.9395 10.1583 14.1583C9.9395 14.3771 9.64275 14.5 9.33333 14.5H2.66667C2.35725 14.5 2.0605 14.3771 1.84171 14.1583C1.62292 13.9395 1.5 13.6428 1.5 13.3333V5.33333C1.5 5.02391 1.62292 4.72717 1.84171 4.50838C2.0605 4.28958 2.35725 4.16667 2.66667 4.16667H4.16667ZM9.5 11.8333V13.3333C9.5 13.3775 9.48244 13.4199 9.45118 13.4512C9.41993 13.4824 9.37754 13.5 9.33333 13.5H2.66667C2.62246 13.5 2.58007 13.4824 2.54882 13.4512C2.51756 13.4199 2.5 13.3775 2.5 13.3333V5.33333C2.5 5.28913 2.51756 5.24674 2.54882 5.21548C2.58007 5.18423 2.62246 5.16667 2.66667 5.16667H4.16667V10.6667C4.16667 11.311 4.689 11.8333 5.33333 11.8333H9.5Z","fill":"currentColor"}},"children":[]}]}]}]}]}]}]}]}],"sectionId":"/products/nowinfinity/apis/partner/accounts"}],"sectionId":"/products/nowinfinity/apis/partner/accounts"}]}]}},{"type":"group","label":"Accounts","link":"/products/nowinfinity/apis/partner/accounts/accounts","routeSlug":"/products/nowinfinity/apis/partner/accounts/accounts","items":[{"label":"Accounts","deprecated":false,"httpVerb":"get","isAdditionalOperation":false,"isWebhook":false,"type":"link","link":"/products/nowinfinity/apis/partner/accounts/accounts/getaccounts","routeSlug":"/products/nowinfinity/apis/partner/accounts/accounts/getaccounts","metadata":{"seo":{"title":"Accounts","description":"Returns the accounts accessible from the current account."}},"content":{"contentType":"item","itemVariant":"httpItem","meta":{"sourceId":"GetAccounts","name":"Accounts","isWebhook":false,"pointer":"/paths/~1accounts/get","hasSamples":false},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accounts","isWebhook":false,"showPageActions":true}],"panels":[]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Request","labelTranslationKey":"request","deepLinkSuffix":"request"},{"nodeType":"markdoc","content":"Returns the accounts accessible from the current account.\n\nWhere the current account has child accounts, the response contains the current\naccount and its children. Otherwise it contains only the current account.\n"},{"nodeType":"security","requirements":[{"schemes":[{"name":"NowInfinity_oAuth","scopes":["api1"],"type":"oauth2","description":"NowInfinity uses OAuth2 for authentication and authorisation.","flows":{"implicit":{"authorizationUrl":"https://auth.nowinfinity-test.com.au/connect/authorize","scopes":{"api1":"Web API access","reporting":"Reporting"}}}}]}]}],"panels":[{"children":[{"kind":"code-sample","source":{"kind":"code-sample","operationType":"http","method":"GET","path":"/accounts","servers":[{"url":"https://partnerapi.nowinfinity-test.com.au/v1","description":"Partner Integration Environment (Sandbox)"},{"url":"https://partnerapi.nowinfinity.com.au/v1","description":"Production Environment"}],"parameters":{"path":[],"query":[],"querystring":[],"header":[],"cookie":[]},"security":[{"schemes":[{"id":"NowInfinity_oAuth","type":"oauth2","flows":{"implicit":{"authorizationUrl":"https://auth.nowinfinity-test.com.au/connect/authorize","scopes":{"api1":"Web API access","reporting":"Reporting"}}}}],"scopes":["api1"]}],"responseCodes":["200"],"pointer":"/accounts","href":"accounts/getaccounts","openApiOperationId":"GetAccounts","summary":"Accounts"},"isWebhook":false,"hideReplay":false,"servers":[{"url":"https://partnerapi.nowinfinity-test.com.au/v1","description":"Partner Integration Environment (Sandbox)"},{"url":"https://partnerapi.nowinfinity.com.au/v1","description":"Production Environment"}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"header","level":4,"label":"Responses","labelTranslationKey":"responses","deepLinkSuffix":"responses"},{"nodeType":"item-content","variant":"responses","responses":[{"code":"200","description":"Success (Ok)","mediaType":"application/json","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1114"}},"schemaId":"schema_1114"}],"pointer":"/paths/~1accounts/get/responses"}],"panels":[{"children":[{"kind":"response","headerTitle":"Response","responseCodes":[{"code":"200","schemaId":"schema_1114","mediaTypes":["application/json"],"mediaTypeContent":{"application/json":{"schemaId":"schema_1114"}}}],"examples":[]}]}]},{"nodeType":"container","children":[{"nodeType":"feedback","pageSlug":"/accounts/getaccounts"}],"panels":[]}]},"httpPath":"/accounts"}],"content":{"contentType":"group","meta":{"name":"Accounts"},"children":[{"nodeType":"container","children":[{"nodeType":"header","level":2,"label":"Accounts","showPageActions":true},{"nodeType":"markdoc","content":"Accounts accessible to the authenticated partner."}],"panels":[{"children":[{"kind":"group-items","title":"Operations","titleTranslationKey":"operations","items":[{"title":"/accounts","summary":"Accounts","prefix":{"name":"get","color":"get"},"badges":[],"link":"/accounts/getaccounts","deprecated":false}]}]}]}]}}],"store":{"schemaStore":{"components/schemas/Account":{"id":"components/schemas/Account","kind":"json-schema","title":"Account","data":{"type":"object","properties":{"AccountId":{"type":"string","format":"uuid","example":"2d81c6f0-9a34-4e57-b0c2-6f1e8d3a5b47"},"Name":{"type":"string","example":"Harbourview Accounting Group"},"IsCurrentAccount":{"type":"boolean","example":true},"Settings":{"$ref":"#/components/schemas/AccountSettings"}}}},"components/schemas/AccountSettings":{"id":"components/schemas/AccountSettings","kind":"json-schema","title":"AccountSettings","data":{"type":"object","properties":{"ManagingTransactionsEnabled":{"type":"boolean","example":true}}}},"schema_1114":{"kind":"json-schema","data":{"type":"array","items":{"$ref":"#/components/schemas/Account"}},"id":"schema_1114"}},"exampleStore":{},"securitySchemeStore":{"NowInfinity_oAuth":{"id":"NowInfinity_oAuth","type":"oauth2","description":"NowInfinity uses OAuth2 for authentication and authorisation.","flows":{"implicit":{"authorizationUrl":"https://auth.nowinfinity-test.com.au/connect/authorize","scopes":{"api1":"Web API access","reporting":"Reporting"}}}}},"servers":[{"url":"https://partnerapi.nowinfinity-test.com.au/v1","description":"Partner Integration Environment (Sandbox)"},{"url":"https://partnerapi.nowinfinity.com.au/v1","description":"Production Environment"}]},"options":{"layout":"three-panel","hideSchemaTitles":true,"hideReplay":true,"hideInfoMetadata":true,"jsonSamplesExpandLevel":"all","hideSidebar":true,"mockServer":{"off":true},"disableRouter":true,"downloadUrls":[{"url":"/_bundle/products/nowinfinity/apis/partner/accounts.json?download"},{"url":"/_bundle/products/nowinfinity/apis/partner/accounts.yaml?download"}],"excludeFromSearch":false,"specType":"openapi","markdocOptions":{"tags":{},"nodes":{},"components":{}},"metadata":{"title":"Accounts","description":"- Retrieve the current account and any child accounts accessible to it.\n\n\n<div class=\"env-panel\" data-component-name=\"EnvPanel\"><div class=\"env-panel__header\">Servers</div><div class=\"env-panel__body\"><div class=\"env-row\"><div class=\"env-name\">Partner Integration Environment (Sandbox)</div><div class=\"env-url-row\"><span class=\"env-url\">https://partnerapi.nowinfinity-test.com.au/v1</span><button type=\"button\" class=\"copy-btn\" data-copy=\"https://partnerapi.nowinfinity-test.com.au/v1\" aria-label=\"Copy\"><svg viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.16667 2.66667C5.16667 2.57462 5.24129 2.5 5.33333 2.5H12C12.092 2.5 12.1667 2.57462 12.1667 2.66667V10.6667C12.1667 10.7587 12.092 10.8333 12 10.8333H10H5.33333C5.24129 10.8333 5.16667 10.7587 5.16667 10.6667V4.66667V2.66667ZM4.16667 4.16667V2.66667C4.16667 2.02233 4.689 1.5 5.33333 1.5H12C12.6443 1.5 13.1667 2.02233 13.1667 2.66667V10.6667C13.1667 11.311 12.6443 11.8333 12 11.8333H10.5V13.3333C10.5 13.6428 10.3771 13.9395 10.1583 14.1583C9.9395 14.3771 9.64275 14.5 9.33333 14.5H2.66667C2.35725 14.5 2.0605 14.3771 1.84171 14.1583C1.62292 13.9395 1.5 13.6428 1.5 13.3333V5.33333C1.5 5.02391 1.62292 4.72717 1.84171 4.50838C2.0605 4.28958 2.35725 4.16667 2.66667 4.16667H4.16667ZM9.5 11.8333V13.3333C9.5 13.3775 9.48244 13.4199 9.45118 13.4512C9.41993 13.4824 9.37754 13.5 9.33333 13.5H2.66667C2.62246 13.5 2.58007 13.4824 2.54882 13.4512C2.51756 13.4199 2.5 13.3775 2.5 13.3333V5.33333C2.5 5.28913 2.51756 5.24674 2.54882 5.21548C2.58007 5.18423 2.62246 5.16667 2.66667 5.16667H4.16667V10.6667C4.16667 11.311 4.689 11.8333 5.33333 11.8333H9.5Z\" fill=\"currentColor\"/></svg></button></div></div><div class=\"env-row\"><div class=\"env-name\">Production Environment</div><div class=\"env-url-row\"><span class=\"env-url\">https://partnerapi.nowinfinity.com.au/v1</span><button type=\"button\" class=\"copy-btn\" data-copy=\"https://partnerapi.nowinfinity.com.au/v1\" aria-label=\"Copy\"><svg viewBox=\"0 0 16 16\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" aria-hidden=\"true\"><path fill-rule=\"evenodd\" clip-rule=\"evenodd\" d=\"M5.16667 2.66667C5.16667 2.57462 5.24129 2.5 5.33333 2.5H12C12.092 2.5 12.1667 2.57462 12.1667 2.66667V10.6667C12.1667 10.7587 12.092 10.8333 12 10.8333H10H5.33333C5.24129 10.8333 5.16667 10.7587 5.16667 10.6667V4.66667V2.66667ZM4.16667 4.16667V2.66667C4.16667 2.02233 4.689 1.5 5.33333 1.5H12C12.6443 1.5 13.1667 2.02233 13.1667 2.66667V10.6667C13.1667 11.311 12.6443 11.8333 12 11.8333H10.5V13.3333C10.5 13.6428 10.3771 13.9395 10.1583 14.1583C9.9395 14.3771 9.64275 14.5 9.33333 14.5H2.66667C2.35725 14.5 2.0605 14.3771 1.84171 14.1583C1.62292 13.9395 1.5 13.6428 1.5 13.3333V5.33333C1.5 5.02391 1.62292 4.72717 1.84171 4.50838C2.0605 4.28958 2.35725 4.16667 2.66667 4.16667H4.16667ZM9.5 11.8333V13.3333C9.5 13.3775 9.48244 13.4199 9.45118 13.4512C9.41993 13.4824 9.37754 13.5 9.33333 13.5H2.66667C2.62246 13.5 2.58007 13.4824 2.54882 13.4512C2.51756 13.4199 2.5 13.3775 2.5 13.3333V5.33333C2.5 5.28913 2.51756 5.24674 2.54882 5.21548C2.58007 5.18423 2.62246 5.16667 2.66667 5.16667H4.16667V10.6667C4.16667 11.311 4.689 11.8333 5.33333 11.8333H9.5Z\" fill=\"currentColor\"/></svg></button></div></div></div></div>","apiId":"NowInfinity Partner v1","tags":["NowInfinity Partner"]}},"baseSlug":"/products/nowinfinity/apis/partner/accounts","routesMapping":{},"apiId":"NowInfinity Partner v1"}