POST v1/CardPointe/ccn/tokenizeApplePay
Tokenizes Apple Pay data
Request Information
URI Parameters
None.
Body Parameters
ccnTokenizeApplePayInputName | Description | Type | Additional information |
---|---|---|---|
encryptionhandler |
Encryption Handler eg. EC_APPLE_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.ccnTokenizeApplePayInput 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.ccnTokenizeApplePayInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
tokenizeCCNApplePayOutputName | 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.tokenizeCCNApplePayOutput 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.tokenizeCCNApplePayOutput>