POST api/shopregistration/AddMerchantBankInfo

Request Information

URI Parameters

None.

Body Parameters

MerchantAccountDetails
NameDescriptionTypeAdditional information
BankName

string

None.

AccountHolderName

string

None.

AccountNumber

string

None.

IfscCode

string

None.

MerchantCreditBaseInfoId

integer

None.

LoginId

integer

None.

PaymentSourceId

byte

None.

MerchantGstNo

string

None.

Request Formats

application/json, text/json

Sample:
{
  "BankName": "sample string 1",
  "AccountHolderName": "sample string 2",
  "AccountNumber": "sample string 3",
  "IfscCode": "sample string 4",
  "MerchantCreditBaseInfoId": 1,
  "LoginId": 5,
  "PaymentSourceId": 64,
  "MerchantGstNo": "sample string 7"
}

application/xml, text/xml

Sample:
<MerchantAccountDetails xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ShopRegistrationPostLibrary.MerchantCreditDetails">
  <LoginId>5</LoginId>
  <MerchantCreditBaseInfoId>1</MerchantCreditBaseInfoId>
  <MerchantGstNo>sample string 7</MerchantGstNo>
  <PaymentSourceId>64</PaymentSourceId>
  <AccountHolderName>sample string 2</AccountHolderName>
  <AccountNumber>sample string 3</AccountNumber>
  <BankName>sample string 1</BankName>
  <IfscCode>sample string 4</IfscCode>
</MerchantAccountDetails>

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 'MerchantAccountDetails'.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.