PUT api/Payment/UpdatePaymentMethodDetail

Request Information

URI Parameters

None.

Body Parameters

UpdatePaymentMethodRequestVM
NameDescriptionTypeAdditional information
AdminUserId

string

Required

ParentAccountId

string

Required

PaymentMethodId

string

Required

ExpiryMonth

integer

None.

ExpiryYear

integer

None.

Name

string

None.

CountryName

string

None.

Address1

string

None.

Address2

string

None.

City

string

None.

ZipCode

string

None.

CountryId

string

None.

StateId

string

None.

StateAbbrevation

string

None.

Request Formats

application/json, text/json

Sample:
{
  "AdminUserId": "sample string 1",
  "ParentAccountId": "sample string 2",
  "PaymentMethodId": "sample string 3",
  "ExpiryMonth": 4,
  "ExpiryYear": 5,
  "Name": "sample string 6",
  "CountryName": "sample string 7",
  "Address1": "sample string 8",
  "Address2": "sample string 9",
  "City": "sample string 10",
  "ZipCode": "sample string 11",
  "CountryId": "sample string 12",
  "StateId": "sample string 13",
  "StateAbbrevation": "sample string 14"
}

application/xml, text/xml

Sample:
<UpdatePaymentMethodRequestVM xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/MindMe.Business.Service.Services.RequestViewModels.BillingAndPaymentRequestViewModels">
  <Address1>sample string 8</Address1>
  <Address2>sample string 9</Address2>
  <City>sample string 10</City>
  <CountryId>sample string 12</CountryId>
  <CountryName>sample string 7</CountryName>
  <ExpiryMonth>4</ExpiryMonth>
  <ExpiryYear>5</ExpiryYear>
  <Name>sample string 6</Name>
  <ParentAccountId>sample string 2</ParentAccountId>
  <PaymentMethodId>sample string 3</PaymentMethodId>
  <StateAbbrevation>sample string 14</StateAbbrevation>
  <StateId>sample string 13</StateId>
  <ZipCode>sample string 11</ZipCode>
  <AdminUserId>sample string 1</AdminUserId>
</UpdatePaymentMethodRequestVM>

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.