POST api/cardService/v1/cardProxyId

Request Information

URI Parameters

None.

Body Parameters

CardProxyIdRequestModel
NameDescriptionTypeAdditional information
PAN

string

None.

Request Formats

application/json, text/json

Sample:
{
  "PAN": "sample string 1"
}

application/xml, text/xml

Sample:
<CardProxyIdRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
  <PAN>sample string 1</PAN>
</CardProxyIdRequestModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

PinResponseModel
NameDescriptionTypeAdditional information
CardProxyId

string

None.

OrderId

string

None.

IsSuccess

boolean

Required

ErrorCodes

Collection of string

Required

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CardProxyId": "sample string 1",
  "OrderId": "sample string 2",
  "IsSuccess": true,
  "ErrorCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "Message": "sample string 4"
}

application/xml, text/xml

Sample:
<PinResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels">
  <ErrorCodes xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:string>sample string 1</d2p1:string>
    <d2p1:string>sample string 2</d2p1:string>
  </ErrorCodes>
  <IsSuccess>true</IsSuccess>
  <Message>sample string 4</Message>
  <CardProxyId>sample string 1</CardProxyId>
  <OrderId>sample string 2</OrderId>
</PinResponseModel>