{"activeVersionTag":"latest","latestAvailableVersionTag":"latest","collection":{"info":{"_postman_id":"17ad666a-7ac6-4673-9813-2d3415aca1b9","name":"Loantap STRCL API - Doc Collection","description":"# Welcome to LoanTap!\n\nThanks for connecting with **LoanTap**, we would like to onboard you via **API**. If you want to learn about the APIs, you can read me. If you want to play with APIs, you can run me. To do so you need to drop an email on [<b>support@help.loantap.in</b>](https://mailto:support@help.loantap.in) with below details.\n\n- Env \\[Prod or Dev\\]\n    \n- Partner Id \\[Our Product Team will help you out with this\\]\n    \n- Product Id \\[Our Product Team will help you out with this\\]\n    \n\n|  | Dev | Prod |\n| --- | --- | --- |\n| base_url | `https://prod.thearks.in` | `https://loantap.in` |\n| api_auth | `will-be-sent-via-mail` | `will-be-sent-via-mail` |\n| product_id | `will-be-sent-via-mail` | `will-be-sent-via-mail` |\n| partner_id | `will-be-sent-via-mail` | `will-be-sent-via-mail` |\n\n## Basic Flow of the API\n\n<img src=\"https://content.pstmn.io/5b57cdb0-0fd3-42cd-a3d8-10609cee6d03/aW1hZ2UucG5n\" alt=\"\" height=\"3284\" width=\"684\">\n\n## Authentication\n\nThe \"\\[X-API-AUTH\\]\" is to be generated while sending the request. It is generated by encrypting the current epoch time using the \"\\[unique partner key\\]\" and \"AES-256-CBC\" algorithm.\n\nThe generated hash is valid for 30sec's it will be expired after that, and the request will not be honoured.\n\n# Lets Start's\n\nWe have separated out our API's into two sections **Application** and **Loan**\n\nSo let's check what we provide under **Application** and **Loan**\n\n# Response Codes\n\nBelow is the list of response codes that will be returned in the response JSON.\n\n| Code | Status | Internal Reason | Message |\n| --- | --- | --- | --- |\n| 200 | success | Transaction completed successfully | Success |\n| 10 | error | Account related error will show this error message. | Invalid Loan Status There is no Loan Line Available. No Disbursal |\n| 11 | error | This error message will display when the error occurred regarding customer credit limit | Credit Limit Issue |\n| 12 | error | This error message will be displayed when the error occurred while performing the transaction | Transaction Cannot be done Now |\n| 13 | error |  | Sanction should be the first Transaction in a sub lan |\n| 14 | error | Sublan related error will show this message | Invalid Sublan |\n| 15 | error | Application ID not available | Invalid Application |\n| 16 | error | There is no value found in sublan to process transaction | Missing/Invalid Parameters in Sublan |\n| 17 | error | Config error will show this message | API Error |\n| 18 | error | Parameter not set in the product config or value not found in product config | Missing/Invalid Parameters in product |\n| 19 | error | Transaction date parameter missing/invalid | Transaction Date Error |\n| 20 | error | Transaction parameter missing/invalid | Transaction Parameter Error |\n| 21 | error | Requested data not found against the given account number | Accounting Error |\n| 22 | error | Amount to be refunded to dealer is required | Amount to be refunded to dealer is required |\n| 23 | error | Message type id is missing | Message type id is missing |\n| 24 | error | Card Number missing | Card Number missing |\n| 25 | error | Processing code missing | Processing code missing |\n| 26 | error | Transaction Amount is missing | Transaction Amount is missing |\n| 27 | error | STAN is missing | STAN is missing |\n| 28 | error | Date Time is missing | Date Time is missing |\n| 29 | error | Merchant Category Code is missing | Merchant Category Code is missing |\n| 30 | error | Reference Number is missing | Reference Number is missing |\n| 31 | error | Terminal ID is missing | Terminal ID is missing |\n| 32 | error | Card Acceptor Name Required | Card Acceptor Name Required |\n| 33 | error | Currency Code is missing | Currency Code is missing |\n| 34 | error | Loan Account number Not found | Loan Account number Not found |\n| 35 | error | Channel code is missing | Channel code is missing |\n| 36 | error | Invalid message type id | Invalid message type id |\n| 37 | error | Invalid Channel Code | Invalid Channel Code |\n| 38 | error | Invalid processing code | Invalid processing code |","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","isPublicCollection":false,"owner":"2618275","collectionId":"17ad666a-7ac6-4673-9813-2d3415aca1b9","publishedId":"UzBtm3NY","public":true,"publicUrl":"https://documenter-api.postman.tech/view/2618275/UzBtm3NY","privateUrl":"https://go.postman.co/documentation/2618275-17ad666a-7ac6-4673-9813-2d3415aca1b9","customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"documentationLayout":"classic-double-column","customisation":null,"version":"8.10.1","publishDate":"2022-06-28T07:01:57.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/4e9c05a4774088627e6e1bc83239130ab16f56cc9eb60d8aca1f002306b0e344","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/UzBtm3NY"}