POST api/cardService/v1/product/productCode/{productCode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
productCode

string

Required

Body Parameters

QcsProduct
NameDescriptionTypeAdditional information
ProductCode

string

Required

Currency

string

Required

CardProgram

string

None.

CardDesign

string

None.

CardProduct

string

None.

FundsOwnership

FundsOwnership

None.

ProductType

string

None.

IsActive

boolean

None.

IsVirtual

boolean

None.

CorporateLoadMaxBalance

decimal number

None.

CorporateLoadMinLoadAmount

decimal number

None.

MaxDailyBalance

decimal number

None.

MaxDailyLoad

decimal number

None.

MaxWeeklyLoad

decimal number

None.

MaxMonthlyLoad

decimal number

None.

MaxYearlyLoad

decimal number

None.

Reloadable

boolean

None.

ForEmployee

boolean

None.

OnlineTransactions

boolean

None.

ATMTransactions

boolean

None.

DebitFeePercentage

decimal number

None.

CreditFeePercentage

decimal number

None.

AutoTopupEnabled

boolean

None.

AutoTopupDefaultAmount

decimal number

None.

AutoTopUpTopUpThreshold

decimal number

None.

TokeniseWithoutPaymentCardEnabled

boolean

None.

MaxTopupValue

decimal number

None.

MinTopupValue

decimal number

None.

RewardsPointsEnabled

boolean

None.

RewardsPointPerUnit

integer

None.

AllowAnonymousPinReveal

boolean

None.

KycCheck

boolean

None.

PepsSanctionsCheck

boolean

None.

SpendProfileId

integer

None.

SpendProfileName

string

None.

CreditProfileId

integer

None.

CreditProfileName

string

None.

FundingSource

FundingSource

None.

TransactionAlerts

boolean

None.

ProductFeeId

integer

None.

ProductFeeName

string

None.

Request Formats

application/json, text/json

Sample:
{
  "ProductCode": "sample string 1",
  "Currency": "sample string 2",
  "CardProgram": "sample string 3",
  "CardDesign": "sample string 4",
  "CardProduct": "sample string 5",
  "FundsOwnership": 0,
  "ProductType": "sample string 6",
  "IsActive": true,
  "IsVirtual": true,
  "CorporateLoadMaxBalance": 1.0,
  "CorporateLoadMinLoadAmount": 1.0,
  "MaxDailyBalance": 1.0,
  "MaxDailyLoad": 1.0,
  "MaxWeeklyLoad": 1.0,
  "MaxMonthlyLoad": 1.0,
  "MaxYearlyLoad": 1.0,
  "Reloadable": true,
  "ForEmployee": true,
  "OnlineTransactions": true,
  "ATMTransactions": true,
  "DebitFeePercentage": 1.1,
  "CreditFeePercentage": 1.1,
  "AutoTopupEnabled": true,
  "AutoTopupDefaultAmount": 1.1,
  "AutoTopUpTopUpThreshold": 1.1,
  "TokeniseWithoutPaymentCardEnabled": true,
  "MaxTopupValue": 1.1,
  "MinTopupValue": 1.1,
  "RewardsPointsEnabled": true,
  "RewardsPointPerUnit": 1,
  "AllowAnonymousPinReveal": true,
  "KycCheck": true,
  "PepsSanctionsCheck": true,
  "SpendProfileId": 1,
  "SpendProfileName": "sample string 9",
  "CreditProfileId": 1,
  "CreditProfileName": "sample string 10",
  "FundingSource": 1,
  "TransactionAlerts": true,
  "ProductFeeId": 1,
  "ProductFeeName": "sample string 11"
}

application/xml, text/xml

Sample:
<QcsProduct xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels.Product">
  <ATMTransactions>true</ATMTransactions>
  <AllowAnonymousPinReveal>true</AllowAnonymousPinReveal>
  <AutoTopUpTopUpThreshold>1.1</AutoTopUpTopUpThreshold>
  <AutoTopupDefaultAmount>1.1</AutoTopupDefaultAmount>
  <AutoTopupEnabled>true</AutoTopupEnabled>
  <CardDesign>sample string 4</CardDesign>
  <CardProduct>sample string 5</CardProduct>
  <CardProgram>sample string 3</CardProgram>
  <CorporateLoadMaxBalance>1</CorporateLoadMaxBalance>
  <CorporateLoadMinLoadAmount>1</CorporateLoadMinLoadAmount>
  <CreditFeePercentage>1.1</CreditFeePercentage>
  <CreditProfileId>1</CreditProfileId>
  <CreditProfileName>sample string 10</CreditProfileName>
  <Currency>sample string 2</Currency>
  <DebitFeePercentage>1.1</DebitFeePercentage>
  <ForEmployee>true</ForEmployee>
  <FundingSource>Corporate</FundingSource>
  <FundsOwnership>CardHolder</FundsOwnership>
  <IsActive>true</IsActive>
  <IsVirtual>true</IsVirtual>
  <KycCheck>true</KycCheck>
  <MaxDailyBalance>1</MaxDailyBalance>
  <MaxDailyLoad>1</MaxDailyLoad>
  <MaxMonthlyLoad>1</MaxMonthlyLoad>
  <MaxTopupValue>1.1</MaxTopupValue>
  <MaxWeeklyLoad>1</MaxWeeklyLoad>
  <MaxYearlyLoad>1</MaxYearlyLoad>
  <MinTopupValue>1.1</MinTopupValue>
  <OnlineTransactions>true</OnlineTransactions>
  <PepsSanctionsCheck>true</PepsSanctionsCheck>
  <ProductCode>sample string 1</ProductCode>
  <ProductFeeId>1</ProductFeeId>
  <ProductFeeName>sample string 11</ProductFeeName>
  <ProductType>sample string 6</ProductType>
  <Reloadable>true</Reloadable>
  <RewardsPointPerUnit>1</RewardsPointPerUnit>
  <RewardsPointsEnabled>true</RewardsPointsEnabled>
  <SpendProfileId>1</SpendProfileId>
  <SpendProfileName>sample string 9</SpendProfileName>
  <TokeniseWithoutPaymentCardEnabled>true</TokeniseWithoutPaymentCardEnabled>
  <TransactionAlerts>true</TransactionAlerts>
</QcsProduct>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

QcsProductResponseModel
NameDescriptionTypeAdditional information
Product

QcsProduct

None.

IsSuccess

boolean

Required

ErrorCodes

Collection of string

Required

Message

string

None.

Response Formats

application/json, text/json

Sample:
{
  "Product": {
    "ProductCode": "sample string 1",
    "Currency": "sample string 2",
    "CardProgram": "sample string 3",
    "CardDesign": "sample string 4",
    "CardProduct": "sample string 5",
    "FundsOwnership": 0,
    "ProductType": "sample string 6",
    "IsActive": true,
    "IsVirtual": true,
    "CorporateLoadMaxBalance": 1.0,
    "CorporateLoadMinLoadAmount": 1.0,
    "MaxDailyBalance": 1.0,
    "MaxDailyLoad": 1.0,
    "MaxWeeklyLoad": 1.0,
    "MaxMonthlyLoad": 1.0,
    "MaxYearlyLoad": 1.0,
    "Reloadable": true,
    "ForEmployee": true,
    "OnlineTransactions": true,
    "ATMTransactions": true,
    "DebitFeePercentage": 1.1,
    "CreditFeePercentage": 1.1,
    "AutoTopupEnabled": true,
    "AutoTopupDefaultAmount": 1.1,
    "AutoTopUpTopUpThreshold": 1.1,
    "TokeniseWithoutPaymentCardEnabled": true,
    "MaxTopupValue": 1.1,
    "MinTopupValue": 1.1,
    "RewardsPointsEnabled": true,
    "RewardsPointPerUnit": 1,
    "AllowAnonymousPinReveal": true,
    "KycCheck": true,
    "PepsSanctionsCheck": true,
    "SpendProfileId": 1,
    "SpendProfileName": "sample string 9",
    "CreditProfileId": 1,
    "CreditProfileName": "sample string 10",
    "FundingSource": 1,
    "TransactionAlerts": true,
    "ProductFeeId": 1,
    "ProductFeeName": "sample string 11"
  },
  "IsSuccess": true,
  "ErrorCodes": [
    "sample string 1",
    "sample string 2"
  ],
  "Message": "sample string 2"
}

application/xml, text/xml

Sample:
<QcsProductResponseModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Qcs.WebApi.WebApiModels.Product">
  <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>
  <Product>
    <ATMTransactions>true</ATMTransactions>
    <AllowAnonymousPinReveal>true</AllowAnonymousPinReveal>
    <AutoTopUpTopUpThreshold>1.1</AutoTopUpTopUpThreshold>
    <AutoTopupDefaultAmount>1.1</AutoTopupDefaultAmount>
    <AutoTopupEnabled>true</AutoTopupEnabled>
    <CardDesign>sample string 4</CardDesign>
    <CardProduct>sample string 5</CardProduct>
    <CardProgram>sample string 3</CardProgram>
    <CorporateLoadMaxBalance>1</CorporateLoadMaxBalance>
    <CorporateLoadMinLoadAmount>1</CorporateLoadMinLoadAmount>
    <CreditFeePercentage>1.1</CreditFeePercentage>
    <CreditProfileId>1</CreditProfileId>
    <CreditProfileName>sample string 10</CreditProfileName>
    <Currency>sample string 2</Currency>
    <DebitFeePercentage>1.1</DebitFeePercentage>
    <ForEmployee>true</ForEmployee>
    <FundingSource>Corporate</FundingSource>
    <FundsOwnership>CardHolder</FundsOwnership>
    <IsActive>true</IsActive>
    <IsVirtual>true</IsVirtual>
    <KycCheck>true</KycCheck>
    <MaxDailyBalance>1</MaxDailyBalance>
    <MaxDailyLoad>1</MaxDailyLoad>
    <MaxMonthlyLoad>1</MaxMonthlyLoad>
    <MaxTopupValue>1.1</MaxTopupValue>
    <MaxWeeklyLoad>1</MaxWeeklyLoad>
    <MaxYearlyLoad>1</MaxYearlyLoad>
    <MinTopupValue>1.1</MinTopupValue>
    <OnlineTransactions>true</OnlineTransactions>
    <PepsSanctionsCheck>true</PepsSanctionsCheck>
    <ProductCode>sample string 1</ProductCode>
    <ProductFeeId>1</ProductFeeId>
    <ProductFeeName>sample string 11</ProductFeeName>
    <ProductType>sample string 6</ProductType>
    <Reloadable>true</Reloadable>
    <RewardsPointPerUnit>1</RewardsPointPerUnit>
    <RewardsPointsEnabled>true</RewardsPointsEnabled>
    <SpendProfileId>1</SpendProfileId>
    <SpendProfileName>sample string 9</SpendProfileName>
    <TokeniseWithoutPaymentCardEnabled>true</TokeniseWithoutPaymentCardEnabled>
    <TransactionAlerts>true</TransactionAlerts>
  </Product>
</QcsProductResponseModel>