POST api/AUBank/Payment
Request Information
URI Parameters
None.
Body Parameters
AccountPaymentRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| TransactionID | string |
Required Matching regular expression pattern: ^[A-Za-z0-9_-]+$ String length: inclusive between 1 and 50 |
|
| BankAccountNumber | string |
Required Matching regular expression pattern: ^[0-9]+$ String length: inclusive between 6 and 30 |
|
| IfscCode | string |
Required Matching regular expression pattern: ^[A-Za-z]{4}0[A-Za-z0-9]{6}$ String length: inclusive between 11 and 11 |
|
| BeneficiaryName | string |
Required String length: inclusive between 1 and 100 |
|
| Amount | string |
Required Matching regular expression pattern: ^\d+(\.\d{1,2})?$ |
|
| PaymentMethodName | string |
Required Matching regular expression pattern: ^(NEFT|RTGS|IMPS|Internal Fund Transfer)$ |
|
| Remarks | string |
String length: inclusive between 0 and 100 |
|
| PaymentInstruction | string |
String length: inclusive between 0 and 200 |
|
| string |
String length: inclusive between 0 and 100 |
||
| PhoneNo | string |
Matching regular expression pattern: ^[0-9]+$ String length: inclusive between 10 and 15 |
Request Formats
application/json, text/json
{
"TransactionID": "sample string 1",
"BankAccountNumber": "sample string 2",
"IfscCode": "sample string 3",
"BeneficiaryName": "sample string 4",
"Amount": "sample string 5",
"PaymentMethodName": "sample string 6",
"Remarks": "sample string 7",
"PaymentInstruction": "sample string 8",
"Email": "sample string 9",
"PhoneNo": "sample string 10"
}
application/xml, text/xml
<AccountPaymentRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BalanceTransferOpenAPI.Models"> <Amount>sample string 5</Amount> <BankAccountNumber>sample string 2</BankAccountNumber> <BeneficiaryName>sample string 4</BeneficiaryName> <Email>sample string 9</Email> <IfscCode>sample string 3</IfscCode> <PaymentInstruction>sample string 8</PaymentInstruction> <PaymentMethodName>sample string 6</PaymentMethodName> <PhoneNo>sample string 10</PhoneNo> <Remarks>sample string 7</Remarks> <TransactionID>sample string 1</TransactionID> </AccountPaymentRequest>
application/x-www-form-urlencoded
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample not available.