{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"aa6328ce-adc3-43c4-979e-a04d1676141c","name":"Account Management API","description":"# Account Management API\n\nMagensa's Account Management API allows Resellers to manage their merchants' account. The goal is to provide an API that parallels our current Reseller Portal UI.\n\n## Version History\n\nIn this version, we are testing additional `GET` methods, including lookups and resources. We welcome feedback with your experience.\n\n#### Changelog\n\nWhen a parameter for any method expects a specific range or type of value (enum) - a lookup method is exposed to support populating these specific parameters (i.e. `transactionTypeFilter`). In the previous version, the lookup methods for available options had the schema `{ name: \"\", description: \"\", value: 0 }`. However, some parameters expected the `int` value, while others expected the `string` name. This has been corrected to a consistent `{ value: \"\" }` and (if needed) `description`. Eliminating the `int` values provides a more consistent experience, wherein a `string` is always expected for these specific (enum) parameters.\n\n## Auth Header\n\nBasic Authorization header targets \"Reseller API Users\". You may continue to use Reseller Portal credentials to login to the UI. The API AuthHeader will represent program access, similar to an API Key. Authenticate all methods with `Authorization` `Basic` header.\n\n## Notes\n\nThe methods included in this release have examples included in this collection. Each sample request has a brief write-up for what the method is, as well as optional parameters (if applicable).\n\n`/api/lookup` methods are included to support parameters that expect specific enum values.\n\nStartFragment\n\n# Account Management\n\nEndpoints in this folder support **reseller merchant account discovery and transaction reporting**.\n\nUse these requests to:\n\n- **Find merchants** under a reseller\n    \n- **Retrieve merchant configuration** details\n    \n- **List and summarize transactions** for a merchant over a date range\n    \n- **Fetch detail for a specific transaction**\n    \n\n## Requests included\n\n- AccountManagement:\n    \n    - **merchants (List Merchants)** — List all merchants for the reseller, with optional filters (e.g., by customer code or company name) and paging/sorting.\n        \n    - **merchantInfo** — Get merchant configuration information for a given `customerCode` (merchant + user-level config for MPPG scope).\n        \n    - **merchantTransactions** — List transactions for a merchant (`customerCode`) within a `startDateTime` / `endDateTime` range, with optional filters and paging/sorting.\n        \n    - **merchantSummary (transaction summary for merchant)** — Get an aggregated transaction summary for a merchant over an optional date range.\n        \n    - **transactionDetail** — Retrieve full details for a specific transaction for a merchant (by `customerCode` and `transactionMagTranId`).\n        \n- Lookup:\n    \n    - **merchantSortByOptions** — values for the optional `sortBy` parameter in the 'merchants' method (list merchants).\n        \n    - **transactionSortByOptions** — values for the optional `sortBy` parameter in the 'merchantTransactions' method.\n        \n    - **transactionTypes** — MPPG transaction types. Can be used for various purposes. One of which is 'merchantTransactions' `transactionTypeFilter` optional parameter.\n        \n    - processorNames — List of processors supported by MPPG. Due to the various formats, and naming conventions; these values are url encoded. Processor names are used for merchant configuration (create and update), and can also be used to query processorProperties (or components).\n        \n\n## Common variables\n\nThese requests commonly rely on the following collection/environment variables:\n\n- `baseUrl`: `https://reseller.magensa.net`\n    \n- `merchantCustomerCode`: `abc123`(target merchant's customer code)\n    \n- `startDateTime`: `2026-01-01T12:00:00`(start transaction range)\n    \n- `endDateTime`: `2026-03-03T12:00:00`(end transaction range)\n    \n- `magTranId`: `xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx`\n    \n- `accountPath`: `accountManagement`\n    \n- `lookupPath`: `lookup`","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"33729815","team":6083045,"collectionId":"aa6328ce-adc3-43c4-979e-a04d1676141c","publishedId":"2sBYHNWNS4","public":true,"publicUrl":"https://accountmanagement.developer.magtek.com","privateUrl":"https://go.postman.co/documentation/33729815-aa6328ce-adc3-43c4-979e-a04d1676141c","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"},"documentationLayout":"classic-single-column","customisation":{"metaTags":[{"name":"description","value":""},{"name":"title","value":""}],"appearance":{"default":"light","themes":[{"name":"dark","logo":null,"colors":{"top-bar":"212121","right-sidebar":"303030","highlight":"FF6C37"}},{"name":"light","logo":null,"colors":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FF6C37"}}]}},"version":"8.12.10","publishDate":"2026-10-01T17:25:58.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{"title":"","description":""},"logos":{"logoLight":null,"logoDark":null}},"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/54710abbcbe0595b52ebedcdb464cfaf3ee177ca1c5a5d0850c1dc24c3508caf","favicon":"https://res.cloudinary.com/postman/image/upload/v1741199418/team/2b0e542073ba9f727998a67f8bd10fe7.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://accountmanagement.developer.magtek.com/view/metadata/2sBYHNWNS4"}