POST api/cardService/v1/card/activate

Request Information

URI Parameters

None.

Body Parameters

ActivateCardRequestModel
NameDescriptionTypeAdditional information
CardHolderId

string

Required

CardProxyId

string

Required

CardDisplayName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "CardHolderId": "sample string 1",
  "CardProxyId": "sample string 2",
  "CardDisplayName": "sample string 3"
}

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ActivateCardResponseModel
NameDescriptionTypeAdditional information
CardHolderId

string

None.

HasPassedPEP

boolean

None.

HasPassedSanctions

boolean

None.

HasPassedKYC

boolean

None.

IsSuccess

boolean

Required

ErrorCodes

Collection of string

Required

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "CardHolderId": "sample string 1",
  "HasPassedPEP": true,
  "HasPassedSanctions": true,
  "HasPassedKYC": true,
  "IsSuccess": true,
  "ErrorCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "Message": "sample string 3"
}

application/xml, text/xml

Sample:
<ActivateCardResponseModel 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 3</Message>
  <CardHolderId>sample string 1</CardHolderId>
  <HasPassedKYC>true</HasPassedKYC>
  <HasPassedPEP>true</HasPassedPEP>
  <HasPassedSanctions>true</HasPassedSanctions>
</ActivateCardResponseModel>