POST api/Transaction/PerformTransaction
Request Information
URI Parameters
None.
Body Parameters
TransactionRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| customerMobileNumber | string |
Required Matching regular expression pattern: ^[6-9]\d{9}$ |
|
| amount | string |
Required Matching regular expression pattern: ^\d+(\.\d{1,2})?$ |
|
| bankName | string |
Required |
|
| ifsc | string |
Required Matching regular expression pattern: ^[A-Z]{4}0[A-Z0-9]{6}$ |
|
| beneAccNo | string |
Required Matching regular expression pattern: ^\d{9,18}$ |
|
| beneMobNo | string |
Required Matching regular expression pattern: ^[6-9]\d{9}$ |
|
| beneName | string |
Required String length: inclusive between 0 and 100 |
|
| mode | string |
Required String length: inclusive between 0 and 20 |
|
| token | string |
Required |
|
| customerName | string |
Required String length: inclusive between 0 and 100 |
|
| blockTransactionId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"customerMobileNumber": "sample string 1",
"amount": "sample string 2",
"bankName": "sample string 3",
"ifsc": "sample string 4",
"beneAccNo": "sample string 5",
"beneMobNo": "sample string 6",
"beneName": "sample string 7",
"mode": "sample string 8",
"token": "sample string 9",
"customerName": "sample string 10",
"blockTransactionId": "sample string 11"
}
application/xml, text/xml
Sample:
<TransactionRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AirtelDMTApi.biz_solutionz.com.Models"> <amount>sample string 2</amount> <bankName>sample string 3</bankName> <beneAccNo>sample string 5</beneAccNo> <beneMobNo>sample string 6</beneMobNo> <beneName>sample string 7</beneName> <blockTransactionId>sample string 11</blockTransactionId> <customerMobileNumber>sample string 1</customerMobileNumber> <customerName>sample string 10</customerName> <ifsc>sample string 4</ifsc> <mode>sample string 8</mode> <token>sample string 9</token> </TransactionRequest>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.