{"info":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","description":"<html><head></head><body><p>The world's most powerful, multi-geo, multi-lingual transaction categorization API.</p>\n<p>Contact Support:\n Name: API Support\n Email: <a href=\"mailto:api@ntropy.com\">api@ntropy.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"17988251","collectionId":"9cd7ab74-9c51-47b4-9670-fa8c21214204","publishedId":"UVsQriab","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-03-21T09:18:23.000Z"},"item":[{"name":"v2","item":[{"name":"account-holder","item":[{"name":"{account holder id}","item":[{"name":"Retrieve an account holder.","id":"a079d2ab-cb36-41a7-ae93-aec4bc993b3e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.ntropy.network/v2/account-holder/:account_holder_id","description":"<p>Retrieve the stored information for an account holder.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}},"urlObject":{"path":["v2","account-holder",":account_holder_id"],"host":["https://api.ntropy.network"],"query":[],"variable":[{"id":"6876e75b-7ba7-4d6c-a6f8-e86a5873273c","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"247ee045-3d04-4b3c-872b-a9160b810f33","key":"account_holder_id"}]}},"response":[{"id":"f89def69-f57e-48e0-8733-397db88ecb6e","name":"Retrieved the account holder.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.ntropy.network/v2/account-holder/:account_holder_id","host":["https://api.ntropy.network"],"path":["v2","account-holder",":account_holder_id"],"variable":[{"key":"account_holder_id","value":"247ee045-3d04-4b3c-872b-a9160b810f33","description":"(Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"id\": \"ut eu commodo mollit\",\n  \"type\": \"consumer\",\n  \"name\": \"veniam mollit cupidatat sit\",\n  \"industry\": \"elit et est\",\n  \"website\": \"magna occaecat amet laboris\"\n}"},{"id":"c9cf93a5-7313-45b0-8d05-ef0ee595ab78","name":"Account holder not found.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.ntropy.network/v2/account-holder/:account_holder_id","host":["https://api.ntropy.network"],"path":["v2","account-holder",":account_holder_id"],"variable":[{"key":"account_holder_id","value":"247ee045-3d04-4b3c-872b-a9160b810f33","description":"(Required) "}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"a079d2ab-cb36-41a7-ae93-aec4bc993b3e"},{"name":"Query the transaction ledger of an account holder.","id":"f2a4aff8-62af-4940-b680-806870afd47c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"metrics\": [\n    \"amount\"\n  ],\n  \"start\": \"2022-01-01T00:00:00\",\n  \"end\": \"2022-02-01T00:00:00\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/account-holder/:account_holder_id/query","description":"<p>Submit a query to the transaction ledger of an account holder.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}},"urlObject":{"path":["v2","account-holder",":account_holder_id","query"],"host":["https://api.ntropy.network"],"query":[],"variable":[{"id":"d7c1c229-c821-4862-a6ae-769a86d574d2","description":{"content":"<p>(Required) </p>\n","type":"text/plain"},"type":"any","value":"247ee045-3d04-4b3c-872b-a9160b810f33","key":"account_holder_id"}]}},"response":[{"id":"c8ab89d1-a099-41cb-a044-43411093e143","name":"Result of query submitted to account holder ledger..","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"metrics\": [\n    \"amount\",\n    \"amount\"\n  ],\n  \"start\": \"1952-10-05T03:26:34.794Z\",\n  \"end\": \"1950-03-13T12:31:32.755Z\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/account-holder/:account_holder_id/query","host":["https://api.ntropy.network"],"path":["v2","account-holder",":account_holder_id","query"],"variable":[{"key":"account_holder_id","value":"247ee045-3d04-4b3c-872b-a9160b810f33","description":"(Required) "}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"amount\": {\n    \"outgoing\": [\n      {\n        \"iso_currency_code\": \"USD\",\n        \"amount\": 1234.12\n      },\n      {\n        \"iso_currency_code\": \"MXN\",\n        \"amount\": 1234.12\n      }\n    ],\n    \"incoming\": [\n      {\n        \"iso_currency_code\": \"USD\",\n        \"amount\": 1234.12\n      },\n      {\n        \"iso_currency_code\": \"MXN\",\n        \"amount\": 1234.12\n      }\n    ]\n  }\n}"},{"id":"b7cf1166-e644-452a-9f62-a23108eae0c0","name":"Bad request.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"metrics\": [\n    \"amount\",\n    \"amount\"\n  ],\n  \"start\": \"1952-10-05T03:26:34.794Z\",\n  \"end\": \"1950-03-13T12:31:32.755Z\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/account-holder/:account_holder_id/query","host":["https://api.ntropy.network"],"path":["v2","account-holder",":account_holder_id","query"],"variable":[{"key":"account_holder_id","value":"247ee045-3d04-4b3c-872b-a9160b810f33","description":"(Required) "}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"feb32787-2e21-49a5-8fc9-cdc5ebbfb8f0","name":"No account holder with this id was found.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"metrics\": [\n    \"amount\",\n    \"amount\"\n  ],\n  \"start\": \"1952-10-05T03:26:34.794Z\",\n  \"end\": \"1950-03-13T12:31:32.755Z\"\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/account-holder/:account_holder_id/query","host":["https://api.ntropy.network"],"path":["v2","account-holder",":account_holder_id","query"],"variable":[{"key":"account_holder_id","value":"247ee045-3d04-4b3c-872b-a9160b810f33","description":"(Required) "}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f2a4aff8-62af-4940-b680-806870afd47c"}],"id":"70ec1ef8-b037-4284-86ab-319b5cc205be","_postman_id":"70ec1ef8-b037-4284-86ab-319b5cc205be","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}}},{"name":"Create an account holder.","id":"f83e4249-2a66-4b8a-9c52-1ae3ef62ebe3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"ut eu commodo mollit\",\n  \"type\": \"consumer\",\n  \"name\": \"veniam mollit cupidatat sit\",\n  \"industry\": \"elit et est\",\n  \"website\": \"magna occaecat amet laboris\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/account-holder","description":"<p>Create an account holder and start tracking its ledger. The account holder can be a consumer, business, freelancer or unknown.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}},"urlObject":{"path":["v2","account-holder"],"host":["https://api.ntropy.network"],"query":[],"variable":[]}},"response":[{"id":"80e6f757-19ae-4f4a-8dcb-4effecea072d","name":"Created an account holder.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"ut eu commodo mollit\",\n  \"type\": \"consumer\",\n  \"name\": \"veniam mollit cupidatat sit\",\n  \"industry\": \"elit et est\",\n  \"website\": \"magna occaecat amet laboris\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/account-holder"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"a7c2ba1c-0dfe-4363-9426-ae6330dd37f1","name":"Bad request.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"id\": \"ut eu commodo mollit\",\n  \"type\": \"consumer\",\n  \"name\": \"veniam mollit cupidatat sit\",\n  \"industry\": \"elit et est\",\n  \"website\": \"magna occaecat amet laboris\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/account-holder"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f83e4249-2a66-4b8a-9c52-1ae3ef62ebe3"}],"id":"882b4216-bc20-4dbc-88d6-d495ff55a197","event":[{"listen":"prerequest","script":{"id":"01a3fd7a-3058-4465-a6b7-eddfc40bef60","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"e311ea5f-e14c-40a6-9f13-ab850a9c7c62","type":"text/javascript","exec":[""]}}],"_postman_id":"882b4216-bc20-4dbc-88d6-d495ff55a197","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}}},{"name":"transactions","item":[{"name":"async","item":[{"name":"Enrich and add transactions to the ledgers of account holders asynchronously.","id":"fc041ebe-b040-4a1a-bf16-a68ec174dac9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"account_holder_id\": \"35b927b6-6fda-40aa-93b8-95b47c2b2cad\",\n    \"amount\": 12046.15,\n    \"entry_type\": \"outgoing\",\n    \"date\": \"2019-12-01\",\n    \"iso_currency_code\": \"USD\",\n    \"country\": \"US\",\n    \"description\": \"AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S Crd15\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/transactions/async?labeling=true&create_account_holders=false","description":"<p>Add a batch of transactions to the ledgers of account holders. Return the batch id that has been assigned to this batch. A batch of 100k transactions should take 5-10mins.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}},"urlObject":{"path":["v2","transactions","async"],"host":["https://api.ntropy.network"],"query":[{"description":{"content":"<p>If disabled, this flag will not assign category labels to the supplied transaction. By default, this is true.</p>\n","type":"text/plain"},"key":"labeling","value":"true"},{"description":{"content":"<p>If enabled, this flag will create any non-existent account holder in the provided transaction list, as long as an account_holder_type is provided. By default, this is false.</p>\n","type":"text/plain"},"key":"create_account_holders","value":"false"}],"variable":[]}},"response":[{"id":"1abc3701-4411-42e1-b89c-755a4e7c7972","name":"Started a batch enrichment process.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"account_holder_id\": \"35b927b6-6fda-40aa-93b8-95b47c2b2cad\",\n    \"amount\": 12046.15,\n    \"entry_type\": \"outgoing\",\n    \"date\": \"2019-12-01\",\n    \"iso_currency_code\": \"USD\",\n    \"country\": \"US\",\n    \"description\": \"AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S Crd15\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/transactions/async?labeling=true&create_account_holders=false","host":["https://api.ntropy.network"],"path":["v2","transactions","async"],"query":[{"key":"labeling","value":"true"},{"key":"create_account_holders","value":"false"}]}},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"started\",\n  \"updated_at\": \"1997-04-23T11:51:29.730Z\",\n  \"id\": \"5e9128dd-1ab5-f85c-16bf-bb5dc65703f9\",\n  \"progress\": 47389918,\n  \"results\": [\n    {\n      \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n      \"logo\": \"https://logo.clearbit.com/aws.amazon.com\",\n      \"website\": \"https://aws.amazon.com/\",\n      \"location\": \"WA\",\n      \"merchant\": \"Amazon Web Services\",\n      \"labels\": [\n        \"infrastructure\",\n        \"cloud operations\"\n      ],\n      \"chart_of_accounts\": [\n        \"expenses\",\n        \"operating expenses\"\n      ],\n      \"recurrence\": \"recurring\",\n      \"person\": null\n    },\n    {\n      \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n      \"logo\": \"https://logo.clearbit.com/aws.amazon.com\",\n      \"website\": \"https://aws.amazon.com/\",\n      \"location\": \"WA\",\n      \"merchant\": \"Amazon Web Services\",\n      \"labels\": [\n        \"infrastructure\",\n        \"cloud operations\"\n      ],\n      \"chart_of_accounts\": [\n        \"expenses\",\n        \"operating expenses\"\n      ],\n      \"recurrence\": \"recurring\",\n      \"person\": null\n    }\n  ]\n}"},{"id":"f8bfbba9-6848-40a3-8638-7eaada54c7ff","name":"Bad request.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"account_holder_id\": \"35b927b6-6fda-40aa-93b8-95b47c2b2cad\",\n    \"amount\": 12046.15,\n    \"entry_type\": \"outgoing\",\n    \"date\": \"2019-12-01\",\n    \"iso_currency_code\": \"USD\",\n    \"country\": \"US\",\n    \"description\": \"AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S Crd15\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/transactions/async?labeling=true&create_account_holders=false","host":["https://api.ntropy.network"],"path":["v2","transactions","async"],"query":[{"key":"labeling","value":"true"},{"key":"create_account_holders","value":"false"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"e8b66778-4cb4-4880-9c25-a463a01c07d2","name":"One or more account holders do not exist.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"account_holder_id\": \"35b927b6-6fda-40aa-93b8-95b47c2b2cad\",\n    \"amount\": 12046.15,\n    \"entry_type\": \"outgoing\",\n    \"date\": \"2019-12-01\",\n    \"iso_currency_code\": \"USD\",\n    \"country\": \"US\",\n    \"description\": \"AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S Crd15\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/transactions/async?labeling=true&create_account_holders=false","host":["https://api.ntropy.network"],"path":["v2","transactions","async"],"query":[{"key":"labeling","value":"true"},{"key":"create_account_holders","value":"false"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"One or more account holders do not exist\",\n  \"missingIds\": [\n    \"db4591ed-0f65-417b-bc90-c2802f6a0aae\",\n    \"89b2e221-3d7c-40b1-8945-78456546a54e\"\n  ]\n}"},{"id":"e2e78bc2-90c7-4ef3-81ce-e9271f2b64b1","name":"Internal server error.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"account_holder_id\": \"35b927b6-6fda-40aa-93b8-95b47c2b2cad\",\n    \"amount\": 12046.15,\n    \"entry_type\": \"outgoing\",\n    \"date\": \"2019-12-01\",\n    \"iso_currency_code\": \"USD\",\n    \"country\": \"US\",\n    \"description\": \"AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S Crd15\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/transactions/async?labeling=true&create_account_holders=false","host":["https://api.ntropy.network"],"path":["v2","transactions","async"],"query":[{"key":"labeling","value":"true"},{"key":"create_account_holders","value":"false"}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"fc041ebe-b040-4a1a-bf16-a68ec174dac9"},{"name":"Fetch the result of a batch transaction enrichment.","id":"c593248b-aecb-48b8-8f3d-3d7b731b9901","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.ntropy.network/v2/transactions/async/:id","description":"<p>Get a result of batch transaction enrichments. The id field should be as returned by /v2/transactions/async.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}},"urlObject":{"path":["v2","transactions","async",":id"],"host":["https://api.ntropy.network"],"query":[],"variable":[{"id":"8262129d-ed12-4aa9-aafb-87cda28b8152","description":{"content":"<p>(Required) Batch id.</p>\n","type":"text/plain"},"type":"any","value":"247ee045-3d04-4b3c-872b-a9160b810f33","key":"id"}]}},"response":[{"id":"7bd6b021-b46a-48ff-9695-bafac55bc99b","name":"Returned a batch of transaction enrichment results.","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.ntropy.network/v2/transactions/async/:id","host":["https://api.ntropy.network"],"path":["v2","transactions","async",":id"],"variable":[{"key":"id","value":"247ee045-3d04-4b3c-872b-a9160b810f33","description":"(Required) Batch id."}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"status\": \"started\",\n  \"updated_at\": \"2019-11-30T18:32:28+00:00\",\n  \"progress\": 88,\n  \"id\": \"247ee045-3d04-4b3c-872b-a9160b810f33\",\n  \"results\": [\n    {\n      \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n      \"logo\": \"https://logo.clearbit.com/aws.amazon.com\",\n      \"website\": \"https://aws.amazon.com/\",\n      \"location\": \"WA\",\n      \"merchant\": \"Amazon Web Services\",\n      \"labels\": [\n        \"infrastructure\",\n        \"cloud operations\"\n      ],\n      \"chart_of_accounts\": [\n        \"expenses\",\n        \"operating expenses\"\n      ],\n      \"recurrence\": \"recurring\",\n      \"person\": null\n    }\n  ]\n}"},{"id":"231c3db9-97f8-4638-8242-859a59e3a96c","name":"Not found","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.ntropy.network/v2/transactions/async/:id","host":["https://api.ntropy.network"],"path":["v2","transactions","async",":id"],"variable":[{"key":"id","value":"247ee045-3d04-4b3c-872b-a9160b810f33","description":"(Required) Batch id."}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"dfaa2efc-fafa-4b83-ad26-3d066c965302","name":"Internal server error","originalRequest":{"method":"GET","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"url":{"raw":"https://api.ntropy.network/v2/transactions/async/:id","host":["https://api.ntropy.network"],"path":["v2","transactions","async",":id"],"variable":[{"key":"id","value":"247ee045-3d04-4b3c-872b-a9160b810f33","description":"(Required) Batch id."}]}},"status":"Internal Server Error","code":500,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"c593248b-aecb-48b8-8f3d-3d7b731b9901"}],"id":"ae774cd6-0077-4250-ad61-4c365f89ab5b","_postman_id":"ae774cd6-0077-4250-ad61-4c365f89ab5b","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}}},{"name":"Enrich and add transactions to the ledger of account holders synchronously.","id":"bab1098a-418f-4a66-a55e-674eba9dc268","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"},{"key":"Accept","value":"application/json"}],"body":{"mode":"raw","raw":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"account_holder_id\": \"35b927b6-6fda-40aa-93b8-95b47c2b2cad\",\n    \"amount\": 12046.15,\n    \"entry_type\": \"outgoing\",\n    \"date\": \"2019-12-01\",\n    \"iso_currency_code\": \"USD\",\n    \"country\": \"US\",\n    \"description\": \"AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S Crd15\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/transactions/sync?labeling=true&create_account_holders=false","description":"<p>Add transactions to the ledgers of account holders and get back enriched version of the transactions in the response. Accepts batch sizes up to 4k transactions. A single transaction should take ~100ms. A batch of 4000 transactions should take ~40s.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}},"urlObject":{"path":["v2","transactions","sync"],"host":["https://api.ntropy.network"],"query":[{"description":{"content":"<p>If disabled, this flag will not assign category labels to the supplied transaction. By default, this is true.</p>\n","type":"text/plain"},"key":"labeling","value":"true"},{"description":{"content":"<p>If enabled, this flag will create any non-existent account holder in the provided transaction list, as long as an account_holder_type is provided. By default, this is false.</p>\n","type":"text/plain"},"key":"create_account_holders","value":"false"}],"variable":[]}},"response":[{"id":"b389cb23-d6a2-49e0-b9f3-c43cbcfa6b24","name":"Enriched transactions","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"account_holder_id\": \"35b927b6-6fda-40aa-93b8-95b47c2b2cad\",\n    \"amount\": 12046.15,\n    \"entry_type\": \"outgoing\",\n    \"date\": \"2019-12-01\",\n    \"iso_currency_code\": \"USD\",\n    \"country\": \"US\",\n    \"description\": \"AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S Crd15\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/transactions/sync?labeling=true&create_account_holders=false","host":["https://api.ntropy.network"],"path":["v2","transactions","sync"],"query":[{"key":"labeling","value":"true"},{"key":"create_account_holders","value":"false"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"logo\": \"https://logo.clearbit.com/aws.amazon.com\",\n    \"website\": \"https://aws.amazon.com/\",\n    \"location\": \"WA\",\n    \"merchant\": \"Amazon Web Services\",\n    \"labels\": [\n      \"infrastructure\",\n      \"cloud operations\"\n    ],\n    \"chart_of_accounts\": [\n      \"expenses\",\n      \"operating expenses\"\n    ],\n    \"recurrence\": \"recurring\",\n    \"person\": null\n  }\n]"},{"id":"15997057-a691-4b63-8ce0-dbaab63fd2c8","name":"Bad request.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"account_holder_id\": \"35b927b6-6fda-40aa-93b8-95b47c2b2cad\",\n    \"amount\": 12046.15,\n    \"entry_type\": \"outgoing\",\n    \"date\": \"2019-12-01\",\n    \"iso_currency_code\": \"USD\",\n    \"country\": \"US\",\n    \"description\": \"AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S Crd15\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/transactions/sync?labeling=true&create_account_holders=false","host":["https://api.ntropy.network"],"path":["v2","transactions","sync"],"query":[{"key":"labeling","value":"true"},{"key":"create_account_holders","value":"false"}]}},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"f6f885fb-2406-4358-91a2-75135d0f8058","name":"One or more account holders do not exist.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"[\n  {\n    \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n    \"account_holder_id\": \"35b927b6-6fda-40aa-93b8-95b47c2b2cad\",\n    \"amount\": 12046.15,\n    \"entry_type\": \"outgoing\",\n    \"date\": \"2019-12-01\",\n    \"iso_currency_code\": \"USD\",\n    \"country\": \"US\",\n    \"description\": \"AMAZON WEB SERVICES AWS.AMAZON.CO WA Ref5543286P25S Crd15\"\n  }\n]","options":{"raw":{"language":"json"}}},"url":{"raw":"https://api.ntropy.network/v2/transactions/sync?labeling=true&create_account_holders=false","host":["https://api.ntropy.network"],"path":["v2","transactions","sync"],"query":[{"key":"labeling","value":"true"},{"key":"create_account_holders","value":"false"}]}},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"detail\": \"One or more account holders do not exist\",\n  \"missingIds\": [\n    \"db4591ed-0f65-417b-bc90-c2802f6a0aae\",\n    \"89b2e221-3d7c-40b1-8945-78456546a54e\"\n  ]\n}"}],"_postman_id":"bab1098a-418f-4a66-a55e-674eba9dc268"}],"id":"330c5c24-7b05-415a-9467-f430cf8a929a","_postman_id":"330c5c24-7b05-415a-9467-f430cf8a929a","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}}},{"name":"Report a wrongly classified transaction.","id":"f60b222b-092e-41ef-ab49-fff48e471519","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n  \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n  \"website\": \"www.expected.website\",\n  \"merchant\": \"Other Merchant\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/report","description":"<p>Report a wrongly classified transaction specifying expected enrichment values.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}},"urlObject":{"path":["v2","report"],"host":["https://api.ntropy.network"],"query":[],"variable":[]}},"response":[{"id":"84f7e2ac-2427-4842-ab1a-52dc75934f4a","name":"Reported a transaction.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n  \"website\": \"www.expected.website\",\n  \"merchant\": \"Other Merchant\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/report"},"status":"Created","code":201,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"49c51604-6109-4aa6-8252-1cf17ff2663e","name":"Bad request. This indicates that the transaction_id is not unique.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n  \"website\": \"www.expected.website\",\n  \"merchant\": \"Other Merchant\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/report"},"status":"Bad Request","code":400,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""},{"id":"71ea5e0b-39f9-406f-b73c-c31842fa044e","name":"Not found. This indicates that no transaction with the given transaction_id exists.","originalRequest":{"method":"POST","header":[{"description":"Added as a part of security scheme: apikey","key":"X-API-KEY","value":"<API Key>"}],"body":{"mode":"raw","raw":"{\n  \"transaction_id\": \"xbx8YP14g565Xketw3tFmn4yp49x3tbj9mD8DB4fM8DDY6x\",\n  \"website\": \"www.expected.website\",\n  \"merchant\": \"Other Merchant\"\n}","options":{"raw":{"language":"json"}}},"url":"https://api.ntropy.network/v2/report"},"status":"Not Found","code":404,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"f60b222b-092e-41ef-ab49-fff48e471519"},{"name":"Get the hierarchy of Ntropy labels","id":"67966ae3-dd9b-45ea-94ce-33ee730cf0fd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.ntropy.network/v2/labels/hierarchy/:account_holder_type","description":"<p>Get the hierarchy of Ntropy labels</p>\n","urlObject":{"path":["v2","labels","hierarchy",":account_holder_type"],"host":["https://api.ntropy.network"],"query":[],"variable":[{"id":"7b8b43ac-9c9d-4d40-b9f9-91a0837c73bf","description":{"content":"<p>(Required) The type of the transaction account holder (consumer or business)</p>\n","type":"text/plain"},"type":"any","value":"consumer","key":"account_holder_type"}]}},"response":[{"id":"632846bb-9d2c-460f-a912-b2790fcba17e","name":"A hierarchy of labels for the selected type of transaction account holder","originalRequest":{"method":"GET","header":[],"url":{"raw":"https://api.ntropy.network/v2/labels/hierarchy/:account_holder_type","host":["https://api.ntropy.network"],"path":["v2","labels","hierarchy",":account_holder_type"],"variable":[{"key":"account_holder_type","value":"consumer","description":"(Required) The type of the transaction account holder (consumer or business)"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"professional services\": [\n    \"accounting\",\n    \"consulting\",\n    \"legal\"\n  ],\n  \"infrastructure\": [\n    \"cloud operations\",\n    \"manufacturing\",\n    \"servers\",\n    \"website\"\n  ],\n  \"fees\": [\n    \"merchant processing fees\",\n    \"payment processor fees\",\n    \"banking fees\",\n    \"subscription\"\n  ],\n  \"employees\": {\n    \"benefits\": [\n      \"retirement funds\",\n      \"healthcare\",\n      \"dental\"\n    ],\n    \"payroll\": [\n      \"salary\",\n      \"fees\",\n      \"tax\"\n    ]\n  },\n  \"insurance\": []\n}"}],"_postman_id":"67966ae3-dd9b-45ea-94ce-33ee730cf0fd"},{"name":"Get the chart of accounts that the Ntropy API can return","id":"f8137a8c-9337-455e-969c-aa53a1e5220d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[{"key":"Accept","value":"application/json"}],"url":"https://api.ntropy.network/v2/chart-of-accounts","description":"<p>Get the chart of accounts</p>\n","urlObject":{"path":["v2","chart-of-accounts"],"host":["https://api.ntropy.network"],"query":[],"variable":[]}},"response":[{"id":"9e983f05-eeac-45bc-9fba-274ca6873c40","name":"A list of chart of accounts that the Ntropy API can return","originalRequest":{"method":"GET","header":[],"url":"https://api.ntropy.network/v2/chart-of-accounts"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json"}],"cookie":[],"responseTime":null,"body":"{\n  \"assets\": [\n    \"inventory\",\n    \"equipment\",\n    \"cash\"\n  ],\n  \"liabilities\": [\n    \"taxes paid\",\n    \"wages paid\"\n  ],\n  \"revenue\": [\n    \"other\",\n    \"investment income\",\n    \"sales\",\n    \"returns\"\n  ],\n  \"equity\": [],\n  \"expenses\": [\n    \"cost of goods sold\",\n    \"operating expenses\",\n    \"customer acquisition cost\"\n  ],\n  \"other\": [\n    \"bank and merchant fees\",\n    \"gifts\",\n    \"miscellaneous\",\n    \"financial services\",\n    \"employee spend\"\n  ]\n}"}],"_postman_id":"f8137a8c-9337-455e-969c-aa53a1e5220d"}],"id":"c8ef4c47-8221-4829-a989-721a493bab71","_postman_id":"c8ef4c47-8221-4829-a989-721a493bab71","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","id":"9cd7ab74-9c51-47b4-9670-fa8c21214204","name":"Ntropy Transaction API v2","type":"collection"}}},{"name":"Check API health.","id":"99127024-f8f3-4fd3-aecb-0615e849bdad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"noauth","isInherited":false},"method":"GET","header":[],"url":"https://api.ntropy.network/health","description":"<p>Get the API health info.</p>\n","urlObject":{"path":["health"],"host":["https://api.ntropy.network"],"query":[],"variable":[]}},"response":[{"id":"421de462-13cf-440c-953c-2251b7234a75","name":"Received the API health info.","originalRequest":{"method":"GET","header":[],"url":"https://api.ntropy.network/health"},"status":"OK","code":200,"_postman_previewlanguage":"text","header":[{"key":"Content-Type","value":"text/plain"}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"99127024-f8f3-4fd3-aecb-0615e849bdad"}],"auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"}},"event":[{"listen":"prerequest","script":{"id":"d7d5cd90-1e5d-4de9-92cf-b7e93c7a6ad2","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"27f79e9b-8ca0-4798-8b87-0f4cf1078ce9","type":"text/javascript","exec":[""]}}],"variable":[{"key":"baseUrl","value":"https://api.ntropy.network","type":"string"},{"value":"","type":"string","disabled":true}]}