GET api/Customers/Creditcards/{cardId}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
cardId

integer

Required

Body Parameters

None.

Response Information

Resource Description

CreditCardResponseModel
NameDescriptionTypeAdditional information
CardId

string

None.

CardNumber

string

None.

CardType

string

None.

ExpiryDate

string

None.

ExpiryMonth

string

None.

ExpiryYear

string

None.

Cvv

string

None.

Status

boolean

None.

CardHolderName

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CardId": "sample string 1",
  "CardNumber": "sample string 2",
  "CardType": "sample string 3",
  "ExpiryDate": "sample string 4",
  "ExpiryMonth": "sample string 5",
  "ExpiryYear": "sample string 6",
  "Cvv": "sample string 7",
  "Status": true,
  "CardHolderName": "sample string 9"
}

application/xml, text/xml

Sample:
<CreditCardResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Raza.Web.Api.Models.Customer.Response">
  <CardHolderName>sample string 9</CardHolderName>
  <CardId>sample string 1</CardId>
  <CardNumber>sample string 2</CardNumber>
  <CardType>sample string 3</CardType>
  <Cvv>sample string 7</Cvv>
  <ExpiryDate>sample string 4</ExpiryDate>
  <ExpiryMonth>sample string 5</ExpiryMonth>
  <ExpiryYear>sample string 6</ExpiryYear>
  <Status>true</Status>
</CreditCardResponseModel>