POST api/Transaction/VerifyOTPForTransaction
Request Information
URI Parameters
None.
Body Parameters
VerifyOTPForTransaction| 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})?$ |
|
| otp | string |
Required Matching regular expression pattern: ^\d{6}$ |
|
| token | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"customerMobileNumber": "sample string 1",
"amount": "sample string 2",
"otp": "sample string 3",
"token": "sample string 4"
}
application/xml, text/xml
Sample:
<VerifyOTPForTransaction 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> <customerMobileNumber>sample string 1</customerMobileNumber> <otp>sample string 3</otp> <token>sample string 4</token> </VerifyOTPForTransaction>
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.