POST api/Customers/RemoveCreditCard

Request Information

URI Parameters

None.

Body Parameters

DeleteCreditCardPostModel
NameDescriptionTypeAdditional information
CreditCardId

integer

None.

CardNumber

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CreditCardId": 1,
  "CardNumber": "sample string 2"
}

application/xml, text/xml

Sample:
<DeleteCreditCardPostModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer">
  <CardNumber>sample string 2</CardNumber>
  <CreditCardId>1</CreditCardId>
</DeleteCreditCardPostModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.