{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"9a29b3e8-70af-4400-a3b5-acfb2c4f9944","name":"Developer Guide","description":"Developer Guide can be used by a technical user who intends to integrate their existing business applications using an API (Application Programming Interface).\n\nThis is a developer's guide to integrating with REST web services. The documentation contains the list of the various _**REST APIs**_ across the different functional modules offered by the application. API EndPoint: [api.billing.totogi.com](http://api.billing.totogi.com/)  \n  \n\n# Authentication\n\nApplication uses OAuth for authenticating a user to access the API. An access token must be generated in order to utilize the REST web services.\n\n**Original Request URL**\n\n``` ruby\nNOTE: Do a POST request for the following URL.\n\n ```\n\n``` javascript\nhttps://www....com/oauth/token?grant_type=password&client_id=<TenantID>&client_secret=<client_secret>&username=<username>&password=<hashed_password>&scope=trust\n\n ```\n\n**Request Parameter Description**\n\nThe following are descriptions of the parameters which appear in the aforementioned URL.\n\n- **client_id**: (Check your welcome pack email notification for the Tenant ID or contact your application onboarding executive for the same).\n- **client_secret**: You can find the client id and the client secret in the Business Profile section of the application. Click here to learn more about it.\n- **username**: This is the username for a particular tenant.\n- **hashed_password**: This is the password for the account in the encoded format. It should be encoded using the \"ShaPasswordEncoder256\"\n    \n\n# Prerequisite Headers\n\nThe following headers need to be added prior to consuming any of the RESTful APIs.\n\n| Header | Value |\n| --- | --- |\n| Authorization | Bearer **access_token** |\n| Content-Type | application/json |\n| Accept | application/json |\n\n# Proxy Information\n\nIt supports a Channel Management module to let a business expand their business through channel partners. When a user wants to manage data under a partner, the proxy information is provided as part of the header. This enables the user to perform the operation as a Channel Partner would do it from the user interface, by using a single login created at the top level or the provider level. This avoids using different logins for each partner from the API route if the main business were to manage the operations on behalf of their partner through APIs.\n\nUsers must pass the following header details along with the other headers mentioned in the \"Prerequisite Headers\" section, as part of the URL, without the double quotes (\"\"). This proxy header must ONLY be passed for APIs which support the proxy functionality.\n\n- **Header**: \"proxy_accountNumber\"\n- **Value**: \"Partner's account number\"","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"9682794","team":605755,"collectionId":"9a29b3e8-70af-4400-a3b5-acfb2c4f9944","publishedId":"2sA3JM7MGj","public":true,"publicUrl":"https://docs.billing.totogi.com","privateUrl":"https://go.postman.co/documentation/9682794-9a29b3e8-70af-4400-a3b5-acfb2c4f9944","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"A020F0"},"documentationLayout":"classic-double-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":"https://content.pstmn.io/0abd413a-83dd-4d90-8e29-9965ce838fdf/dG90b2dpLWxvZ28tMjAyNi1wdXJwbGUtb24taW52aXNpYmxlLnBuZw==","colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"a020f0"}},{"name":"light","logo":"https://content.pstmn.io/9efd1a37-ced7-4dfe-aef2-83b70c7aa8ed/dG90b2dpLWxvZ28tMjAyNi1wdXJwbGUtb24taW52aXNpYmxlLnBuZw==","colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"A020F0"}}]}},"version":"8.11.8","publishDate":"2026-04-22T10:50:48.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":"https://content.pstmn.io/9efd1a37-ced7-4dfe-aef2-83b70c7aa8ed/dG90b2dpLWxvZ28tMjAyNi1wdXJwbGUtb24taW52aXNpYmxlLnBuZw==","logoDark":"https://content.pstmn.io/0abd413a-83dd-4d90-8e29-9965ce838fdf/dG90b2dpLWxvZ28tMjAyNi1wdXJwbGUtb24taW52aXNpYmxlLnBuZw=="}},"statusCode":200},"environments":[],"user":{"authenticated":false,"permissions":{"publish":false}},"run":{"button":{"js":"https://run.pstmn.io/button.js","css":"https://run.pstmn.io/button.css"}},"web":"https://www.getpostman.com/","team":{"logo":"https://res.cloudinary.com/postman/image/upload/t_team_logo_pubdoc/v1/team/cc4af9b417289c3ef7de6c63e5f8f1f357c22767ae22e3dea512794b1446ab2a","favicon":"https://res.cloudinary.com/postman/image/upload/v1575615447/team/opbnqia8lul8u86hpxga.ico"},"isEnvFetchError":false,"languages":"[{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"HttpClient\"},{\"key\":\"csharp\",\"label\":\"C#\",\"variant\":\"RestSharp\"},{\"key\":\"curl\",\"label\":\"cURL\",\"variant\":\"cURL\"},{\"key\":\"dart\",\"label\":\"Dart\",\"variant\":\"http\"},{\"key\":\"go\",\"label\":\"Go\",\"variant\":\"Native\"},{\"key\":\"http\",\"label\":\"HTTP\",\"variant\":\"HTTP\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"OkHttp\"},{\"key\":\"java\",\"label\":\"Java\",\"variant\":\"Unirest\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"Fetch\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"jQuery\"},{\"key\":\"javascript\",\"label\":\"JavaScript\",\"variant\":\"XHR\"},{\"key\":\"c\",\"label\":\"C\",\"variant\":\"libcurl\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Axios\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Native\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Request\"},{\"key\":\"nodejs\",\"label\":\"NodeJs\",\"variant\":\"Unirest\"},{\"key\":\"objective-c\",\"label\":\"Objective-C\",\"variant\":\"NSURLSession\"},{\"key\":\"ocaml\",\"label\":\"OCaml\",\"variant\":\"Cohttp\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"cURL\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"Guzzle\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"HTTP_Request2\"},{\"key\":\"php\",\"label\":\"PHP\",\"variant\":\"pecl_http\"},{\"key\":\"powershell\",\"label\":\"PowerShell\",\"variant\":\"RestMethod\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"http.client\"},{\"key\":\"python\",\"label\":\"Python\",\"variant\":\"Requests\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"httr\"},{\"key\":\"r\",\"label\":\"R\",\"variant\":\"RCurl\"},{\"key\":\"ruby\",\"label\":\"Ruby\",\"variant\":\"Net::HTTP\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"Httpie\"},{\"key\":\"shell\",\"label\":\"Shell\",\"variant\":\"wget\"},{\"key\":\"swift\",\"label\":\"Swift\",\"variant\":\"URLSession\"}]","languageSettings":[{"key":"csharp","label":"C#","variant":"HttpClient"},{"key":"csharp","label":"C#","variant":"RestSharp"},{"key":"curl","label":"cURL","variant":"cURL"},{"key":"dart","label":"Dart","variant":"http"},{"key":"go","label":"Go","variant":"Native"},{"key":"http","label":"HTTP","variant":"HTTP"},{"key":"java","label":"Java","variant":"OkHttp"},{"key":"java","label":"Java","variant":"Unirest"},{"key":"javascript","label":"JavaScript","variant":"Fetch"},{"key":"javascript","label":"JavaScript","variant":"jQuery"},{"key":"javascript","label":"JavaScript","variant":"XHR"},{"key":"c","label":"C","variant":"libcurl"},{"key":"nodejs","label":"NodeJs","variant":"Axios"},{"key":"nodejs","label":"NodeJs","variant":"Native"},{"key":"nodejs","label":"NodeJs","variant":"Request"},{"key":"nodejs","label":"NodeJs","variant":"Unirest"},{"key":"objective-c","label":"Objective-C","variant":"NSURLSession"},{"key":"ocaml","label":"OCaml","variant":"Cohttp"},{"key":"php","label":"PHP","variant":"cURL"},{"key":"php","label":"PHP","variant":"Guzzle"},{"key":"php","label":"PHP","variant":"HTTP_Request2"},{"key":"php","label":"PHP","variant":"pecl_http"},{"key":"powershell","label":"PowerShell","variant":"RestMethod"},{"key":"python","label":"Python","variant":"http.client"},{"key":"python","label":"Python","variant":"Requests"},{"key":"r","label":"R","variant":"httr"},{"key":"r","label":"R","variant":"RCurl"},{"key":"ruby","label":"Ruby","variant":"Net::HTTP"},{"key":"shell","label":"Shell","variant":"Httpie"},{"key":"shell","label":"Shell","variant":"wget"},{"key":"swift","label":"Swift","variant":"URLSession"}],"languageOptions":[{"label":"C# - HttpClient","value":"csharp - HttpClient - C#"},{"label":"C# - RestSharp","value":"csharp - RestSharp - C#"},{"label":"cURL - cURL","value":"curl - cURL - cURL"},{"label":"Dart - http","value":"dart - http - Dart"},{"label":"Go - Native","value":"go - Native - Go"},{"label":"HTTP - HTTP","value":"http - HTTP - HTTP"},{"label":"Java - OkHttp","value":"java - OkHttp - Java"},{"label":"Java - Unirest","value":"java - Unirest - Java"},{"label":"JavaScript - Fetch","value":"javascript - Fetch - JavaScript"},{"label":"JavaScript - jQuery","value":"javascript - jQuery - JavaScript"},{"label":"JavaScript - XHR","value":"javascript - XHR - JavaScript"},{"label":"C - libcurl","value":"c - libcurl - C"},{"label":"NodeJs - Axios","value":"nodejs - Axios - NodeJs"},{"label":"NodeJs - Native","value":"nodejs - Native - NodeJs"},{"label":"NodeJs - Request","value":"nodejs - Request - NodeJs"},{"label":"NodeJs - Unirest","value":"nodejs - Unirest - NodeJs"},{"label":"Objective-C - NSURLSession","value":"objective-c - NSURLSession - Objective-C"},{"label":"OCaml - Cohttp","value":"ocaml - Cohttp - OCaml"},{"label":"PHP - cURL","value":"php - cURL - PHP"},{"label":"PHP - Guzzle","value":"php - Guzzle - PHP"},{"label":"PHP - HTTP_Request2","value":"php - HTTP_Request2 - PHP"},{"label":"PHP - pecl_http","value":"php - pecl_http - PHP"},{"label":"PowerShell - RestMethod","value":"powershell - RestMethod - PowerShell"},{"label":"Python - http.client","value":"python - http.client - Python"},{"label":"Python - Requests","value":"python - Requests - Python"},{"label":"R - httr","value":"r - httr - R"},{"label":"R - RCurl","value":"r - RCurl - R"},{"label":"Ruby - Net::HTTP","value":"ruby - Net::HTTP - Ruby"},{"label":"Shell - Httpie","value":"shell - Httpie - Shell"},{"label":"Shell - wget","value":"shell - wget - Shell"},{"label":"Swift - URLSession","value":"swift - URLSession - Swift"}],"layoutOptions":[{"value":"classic-single-column","label":"Single Column"},{"value":"classic-double-column","label":"Double Column"}],"versionOptions":[],"environmentOptions":[{"value":"0","label":"No Environment"}],"canonicalUrl":"https://docs.billing.totogi.com/view/metadata/2sA3JM7MGj"}