# dmt_api

> DMT_API_is_for_activiating_domestic_money_transfer_as_a_cash_to_bank_transactions_from_the_retail_counters__RBI_guidelines_related_to_KYC_verification_of_retailers_and_velocity_checks_are_applicable__There_are_three_steps_to_any_DMT_transactions_a__Creati

Latest version **0.0.1** (published 2018-08-30) · Unlicense license · 0 weekly downloads

## Install

```sh
npm install dmt_api
pnpm add dmt_api
yarn add dmt_api
bun add dmt_api
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2018-08-30 |
| First published | 2018-08-30 |
| Weekly downloads | 0 |
| License | Unlicense |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 101.5 KB |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | shivam07 |

## Links

- npm: https://www.npmjs.com/package/dmt_api
- npm.io page: https://npm.io/package/dmt_api

## Dependencies (1)

- [superagent](https://npm.io/package/superagent.md) 3.5.2

## Recent versions

- 0.0.1 (latest) — 2018-08-30

## README

# dmt_api

DmtApi - JavaScript client for dmt_api
DMT API is for activiating domestic money transfer as a cash to bank transactions from the retail counters. RBI guidelines related to KYC verification of retailers and velocity checks are applicable. There are three steps to any DMT transactions a. Creation of remitter b. Creation of beneficiary under a particular remitter c. Transferring of money as per remitter instruction to the specified beneficiary account There are two ways to do it IMPS and NEFT. Now mosly all banks are connected over IMPS hence our APIs support IMPS only
This SDK is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:

- API version: 0.0.1
- Package version: 0.0.1
- Build package: io.swagger.codegen.languages.JavascriptClientCodegen

## Installation

### For [Node.js](https://nodejs.org/)

#### npm

To publish the library as a [npm](https://www.npmjs.com/),
please follow the procedure in ["Publishing npm packages"](https://docs.npmjs.com/getting-started/publishing-npm-packages).

Then install it via:

```shell
npm install dmt_api --save
```

##### Local development

To use the library locally without publishing to a remote npm registry, first install the dependencies by changing 
into the directory containing `package.json` (and this README). Let's call this `JAVASCRIPT_CLIENT_DIR`. Then run:

```shell
npm install
```

Next, [link](https://docs.npmjs.com/cli/link) it globally in npm with the following, also from `JAVASCRIPT_CLIENT_DIR`:

```shell
npm link
```

Finally, switch to the directory you want to use your dmt_api from, and run:

```shell
npm link /path/to/<JAVASCRIPT_CLIENT_DIR>
```

You should now be able to `require('dmt_api')` in javascript files from the directory you ran the last 
command above from.

#### git
#
If the library is hosted at a git repository, e.g.
https://github.com/YOUR_USERNAME/dmt_api
then install it via:

```shell
    npm install YOUR_USERNAME/dmt_api --save
```

### For browser

The library also works in the browser environment via npm and [browserify](http://browserify.org/). After following
the above steps with Node.js and installing browserify with `npm install -g browserify`,
perform the following (assuming *main.js* is your entry file, that's to say your javascript file where you actually 
use this library):

```shell
browserify main.js > bundle.js
```

Then include *bundle.js* in the HTML pages.

### Webpack Configuration

Using Webpack you may encounter the following error: "Module not found: Error:
Cannot resolve module", most certainly you should disable AMD loader. Add/merge
the following section to your webpack config:

```javascript
module: {
  rules: [
    {
      parser: {
        amd: false
      }
    }
  ]
}
```

## Getting Started

Please follow the [installation](#installation) instruction and execute the following JS code:

```javascript
var DmtApi = require('dmt_api');

var api = new DmtApi.BankApi()

var _function = "banklist"; // {String} FUNCTION NAME

var uniqueid = 56; // {Number} UVA UNIQ ID


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.banklistPost(_function, uniqueid, callback);

```

## Documentation for API Endpoints

All URIs are relative to *http://180.179.217.85/uvarechargeapi/dmt_api.aspx*

Class | Method | HTTP request | Description
------------ | ------------- | ------------- | -------------
*DmtApi.BankApi* | [**banklistPost**](docs/BankApi.md#banklistPost) | **POST** /banklist | Fetch bank list
*DmtApi.BeneficiaryApi* | [**beneficiarylistPost**](docs/BeneficiaryApi.md#beneficiarylistPost) | **POST** /beneficiarylist | Fetch beneficiary
*DmtApi.BeneficiaryApi* | [**createbeneficiaryPost**](docs/BeneficiaryApi.md#createbeneficiaryPost) | **POST** /createbeneficiary | Create Beneficiary
*DmtApi.RemitterApi* | [**createremitterPost**](docs/RemitterApi.md#createremitterPost) | **POST** /createremitter | Remitter Register
*DmtApi.RemitterApi* | [**resendotpPost**](docs/RemitterApi.md#resendotpPost) | **POST** /resendotp | RESEND-OTP
*DmtApi.RemitterApi* | [**searchremitterPost**](docs/RemitterApi.md#searchremitterPost) | **POST** /searchremitter | Get Remitter Information
*DmtApi.RemitterApi* | [**updatePost**](docs/RemitterApi.md#updatePost) | **POST** /update | Update with OTP
*DmtApi.TransactionsApi* | [**transactionPost**](docs/TransactionsApi.md#transactionPost) | **POST** /transaction | Transfer Money API


## Documentation for Models

 - [DmtApi.InlineResponse200](docs/InlineResponse200.md)
 - [DmtApi.InlineResponse200Uvapoint](docs/InlineResponse200Uvapoint.md)
 - [DmtApi.InlineResponse200UvapointRoot](docs/InlineResponse200UvapointRoot.md)


## Documentation for Authorization

 All endpoints do not require authorization.

---
_Source: https://npm.io/package/dmt_api · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
