POST api/cardService/v1/card/pin

Request Information

URI Parameters

None.

Body Parameters

ChangePINRequest
NameDescriptionTypeAdditional information
CardProxyId

string

Required

PIN

string

Required

Request Formats

application/json, text/json

Sample:
{
  "CardProxyId": "sample string 1",
  "PIN": "sample string 2"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ChangePINResponse
NameDescriptionTypeAdditional information
IsSuccess

boolean

Required

ErrorCodes

Collection of string

Required

Message

string

None.

Response Formats

application/json, text/json

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

application/xml, text/xml

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