POST api/AUBank/Payment

Request Information

URI Parameters

None.

Body Parameters

AccountPaymentRequest
NameDescriptionTypeAdditional 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

Email

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

Sample:
{
  "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

Sample:
<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

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'AccountPaymentRequest'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.