# DmtApi.BeneficiaryApi

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

Method | HTTP request | Description
------------- | ------------- | -------------
[**beneficiarylistPost**](BeneficiaryApi.md#beneficiarylistPost) | **POST** /beneficiarylist | Fetch beneficiary
[**createbeneficiaryPost**](BeneficiaryApi.md#createbeneficiaryPost) | **POST** /createbeneficiary | Create Beneficiary


<a name="beneficiarylistPost"></a>
# **beneficiarylistPost**
> beneficiarylistPost(_function, uniqueid, rmobile)

Fetch beneficiary

If remitter exist then fetch beneficiary already registerd under that remitter using the following api

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

var apiInstance = new DmtApi.BeneficiaryApi();

var _function = "beneficiarylist"; // String | FUNCTION NAME

var uniqueid = 56; // Number | UVA UNIQ ID

var rmobile = 56; // Number | Remitter Mobile


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

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **_function** | **String**| FUNCTION NAME | [default to beneficiarylist]
 **uniqueid** | **Number**| UVA UNIQ ID | 
 **rmobile** | **Number**| Remitter Mobile | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/x-www-form-urlencoded
 - **Accept**: application/json

<a name="createbeneficiaryPost"></a>
# **createbeneficiaryPost**
> createbeneficiaryPost(_function, uniqueid, rmobile, bmobile, bfname, blname, account, bankcode, ifsc, vname)

Create Beneficiary

for creating any new remitter under the existing remitter.

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

var apiInstance = new DmtApi.BeneficiaryApi();

var _function = "createbeneficiary"; // String | function name

var uniqueid = 56; // Number | UVA UNIQ ID

var rmobile = 56; // Number | Remitter Mobile

var bmobile = 56; // Number | Bene Mobile Number

var bfname = "bfname_example"; // String | BENE FIRST NAME

var blname = "blname_example"; // String | BENE LAST NAME

var account = 56; // Number | BENE ACCOUNT

var bankcode = "bankcode_example"; // String | BANK CODE

var ifsc = "ifsc_example"; // String | BANK IFSC

var vname = "vname_example"; // String | VERIFY NAME


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
apiInstance.createbeneficiaryPost(_function, uniqueid, rmobile, bmobile, bfname, blname, account, bankcode, ifsc, vname, callback);
```

### Parameters

Name | Type | Description  | Notes
------------- | ------------- | ------------- | -------------
 **_function** | **String**| function name | [default to createbeneficiary]
 **uniqueid** | **Number**| UVA UNIQ ID | 
 **rmobile** | **Number**| Remitter Mobile | 
 **bmobile** | **Number**| Bene Mobile Number | 
 **bfname** | **String**| BENE FIRST NAME | 
 **blname** | **String**| BENE LAST NAME | 
 **account** | **Number**| BENE ACCOUNT | 
 **bankcode** | **String**| BANK CODE | 
 **ifsc** | **String**| BANK IFSC | 
 **vname** | **String**| VERIFY NAME | 

### Return type

null (empty response body)

### Authorization

No authorization required

### HTTP request headers

 - **Content-Type**: application/x-www-form-urlencoded
 - **Accept**: application/json

