POST api/user/UpdatePaymentMethod

Request Information

URI Parameters

None.

Body Parameters

PaymentMethod
NameDescriptionTypeAdditional information
CardNumber

string

None.

ExpiryMonth

string

None.

ExpiryYear

string

None.

CardHolderName

string

None.

PaymentType

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardNumber": "sample string 1",
  "ExpiryMonth": "sample string 2",
  "ExpiryYear": "sample string 3",
  "CardHolderName": "sample string 4",
  "PaymentType": "sample string 5"
}

application/xml, text/xml

Sample:
<PaymentMethod xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OAuthServer.Models.RequestModels">
  <CardHolderName>sample string 4</CardHolderName>
  <CardNumber>sample string 1</CardNumber>
  <ExpiryMonth>sample string 2</ExpiryMonth>
  <ExpiryYear>sample string 3</ExpiryYear>
  <PaymentType>sample string 5</PaymentType>
</PaymentMethod>

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.