POST v1/CardPointe/ccn/tokenize
Tokenizes Google Pay data.
Request Information
URI Parameters
None.
Body Parameters
ccnTokenizeInputName | Description | Type | Additional 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:
Response Information
Resource Description
tokenizeCCNOutputName | Description | Type | Additional 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>