POST api/ms/customers/payment_methods/store

Create Store Payment Method

Request Information

URI Parameters

None.

Body Parameters

m_payment_method_create
NameDescriptionTypeAdditional information
PaymentMethodId

integer

None.

BankId

integer

Required

AccountName

string

Required

String length: inclusive between 0 and 255

AccountNo

string

Required

String length: inclusive between 0 and 50

Request Formats

application/json, text/json

Sample:
{
  "PaymentMethodId": 1,
  "BankId": 1,
  "AccountName": "sample string 2",
  "AccountNo": "sample string 3"
}

application/xml, text/xml

Sample:
<m_payment_method_create xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KFA.Modules.Models.Mainsystem">
  <AccountName>sample string 2</AccountName>
  <AccountNo>sample string 3</AccountNo>
  <BankId>1</BankId>
  <PaymentMethodId>1</PaymentMethodId>
</m_payment_method_create>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.