{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"a49633f9-b57e-4e92-8d0b-dd3cf773ca8c","name":"MobileNig Enterprise","description":"**MobileNig** **Enterprise** API Collection is a collection of all endpoints that merchants and developers can take advantage of to build digital services solutions in Nigeria\n\n# Authentication\n\nKey is sent with the header of every requests to authenticate user, the key to be used will be specified in each request.\n\n**Note**\n\n- All requests sent using `test key` will be process as `test` transactions.\n    \n- All requests sent using `live key` will be process as `live` transactions.\n    \n- Only registered internet protocols (IPs) on your account dashboard will be allowed to access this API endpoints (Visit [https://enterprise.mobilenig.com/account/developer/register_ip](https://enterprise.mobilenig.com/account/developer/register_ip) to add IPs).\n    \n- You must have upgraded your account to `STANDARD` user before having accesss to our API endpoints (To upgrade your account, visit [https://enterprise.mobilenig.com/account/upgrade/upgrade_account](https://enterprise.mobilenig.com/account/upgrade/upgrade_account)).\n    \n- Your API keys can be found on your account dashboard via [https://enterprise.mobilenig.com/account/api_keys_and_webhook](https://enterprise.mobilenig.com/account/api_keys_and_webhook).\n    \n- Transaction ID (trans_id) must not be more than 15 digits\n    \n\n# Response Codes\n\n**Success**\n\n- **200** (_OK_) - Transaction Successful\n    \n- **201** (_Created_) - Transaction Successful\n    \n- **202** - Transaction is processing\n    \n\n**Error**\n\n- **PROG001** (_required_) - Programming error on platform. (Should contact MobileNig support)\n    \n- **PROG002** (_required_) - Our system is currently under maintenance, kindly contact support!\n    \n- **SEC001** (_string_) - Invalid request or key\n    \n- **SEC002** (_string_) - User has been suspended\n    \n- **SEC003** (_string_) - `public` key is required\n    \n- **SEC004** (_string_) - `secret` key is required\n    \n- **SEC005** (_string_) - `test` or `live` key is required\n    \n- **SEC006** (_string_) - You must be a `standard` user to access this API - kindly upgrade your account.\n    \n- **SEC007** (_string_) - Bad Request Method\n    \n- **SEC008** (_string_) - Invalid `Content-Type` - Must be `application/json`\n    \n- **SEC009** (_string_) - Unauthorized IP\n    \n- **SEC010** (_string_) - Request not available on `test` environment\n    \n- **EXC001** - Incomplete parameter(s)\n    \n- **EXC002** - Invalid data type\n    \n- **EXC003** - Transaction Id already exists\n    \n- **EXC004** - Insufficient wallet balance\n    \n- **EXC005** - An error occur, please contact MobileNig Customer Support\n    \n- **EXC006** - An error occur, service is currently unavailable\n    \n- **EXC007** - You are trying to change to your current subscription, kindly leave productCode empty.\n    \n- **EXC008** - Amount must not be less than minimum amount.\n    \n- **EXC009** - trans_id must not be greater than 15 characters.\n    \n- **EXC010** - The data you are looking for cannot be found\n    \n- **EXC011** - Service could not be found - Invalid service ID\n    \n- **EXC012** - Product code could not be found - Invalid ProductCode\n    \n- **EXC013** - Transaction ID could not be found\n    \n- **EXC014** - Duplicate order on phone number, please wait for approval\n    \n- **EXC015** - Limit reached for airtime purchases today\n    \n- **EXC016** - Phone number or Beneficiary must be 11 digits\n    \n- **EXC017** - Phone Number or Beneficiary is not a valid number\n    \n- **EXC020** - Transaction failed\n    \n\n# Http Response Codes\n\n<table><tbody><tr><th>Code</th><th>Message</th></tr><tr><td><div>200</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>OK - Transaction Successful</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>201</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Created - Transaction Successful</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>202</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Transaction is processing</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>400</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - Bad request or invalid data type</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>401</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - Unauthorised request or invalid key</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>403</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - Request not available on test environment</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>402</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - Insufficient wallet balance</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>404</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - What you’re looking for cannot be found</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>406</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - The parameter value is not acceptable</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>409</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - Already exists. Duplicate transaction</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>411</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - Kindly meet the length requirement</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>417</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - Transaction failed or cancelled</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>426</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - Kindly upgrade your account</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>501</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - You are trying to change to your current subscription, kindly leave productCode empty.</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>503</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - Service is currently unavailable</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr><tr><td><div>511</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td><td><div>Error - IP is blocked</div><div contenteditable=\"false\"><div><div><div></div></div></div><div></div></div></td></tr></tbody></table>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"15560873","team":1817647,"collectionId":"a49633f9-b57e-4e92-8d0b-dd3cf773ca8c","publishedId":"UUxwCoqd","public":true,"publicUrl":"https://documenter-api.postman.tech/view/15560873/UUxwCoqd","privateUrl":"https://go.postman.co/documentation/15560873-a49633f9-b57e-4e92-8d0b-dd3cf773ca8c","customColor":{"top-bar":"010020","right-sidebar":"010020","highlight":"2ebd06"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2021-09-23T10:19:23.000Z","activeVersionTag":"latest","documentationTheme":"light","metaTags":{},"logos":{}},"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/f629820256c278c76ed984cc3e5dbae05b98f65321d579383cb3e30b1551ffda","favicon":""},"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://documenter.gw.postman.com/view/metadata/UUxwCoqd"}