PUT api/ms/customers/payment_methods/{paymentMethodId}

Update Payment Method

Request Information

URI Parameters

NameDescriptionTypeAdditional information
paymentMethodId

integer

Required

Body Parameters

m_payment_method_update
NameDescriptionTypeAdditional information
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:
{
  "BankId": 1,
  "AccountName": "sample string 2",
  "AccountNo": "sample string 3"
}

application/xml, text/xml

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

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.