POST v1/CardPointe/ccn/tokenize

Tokenizes Google Pay data.

Request Information

URI Parameters

None.

Body Parameters

ccnTokenizeInput
NameDescriptionTypeAdditional information
encryptionhandler

Encryption Handler eg. EC_GOOGLE_PAY

string

Required

devicedata

token data recevied from Digital Payment API

string

Required

CurrencyTypeId

Currency Type ID

string

Required

Request Formats

application/json, text/json

Sample:
{
  "encryptionhandler": "sample string 1",
  "devicedata": "sample string 2",
  "CurrencyTypeId": "sample string 3"
}

text/html

Sample:
{"encryptionhandler":"sample string 1","devicedata":"sample string 2","CurrencyTypeId":"sample string 3"}

application/xml, text/xml

Sample:
<v1_ShoppingCarts_ShoppingCartEndpointController.ccnTokenizeInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ShoppingCarts_ShoppingCartEndpoint">
  <CurrencyTypeId>sample string 3</CurrencyTypeId>
  <devicedata>sample string 2</devicedata>
  <encryptionhandler>sample string 1</encryptionhandler>
</v1_ShoppingCarts_ShoppingCartEndpointController.ccnTokenizeInput>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'ccnTokenizeInput'.

Response Information

Resource Description

tokenizeCCNOutput
NameDescriptionTypeAdditional information
outputToken

The CardPointe token

string

None.

Response Formats

application/json, text/json

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

text/html

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

application/xml, text/xml

Sample:
<v1_ShoppingCarts_ShoppingCartEndpointController.tokenizeCCNOutput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ShoppingCarts_ShoppingCartEndpoint">
  <outputToken>sample string 1</outputToken>
</v1_ShoppingCarts_ShoppingCartEndpointController.tokenizeCCNOutput>