POST v1/GetApplePaySession
Retrieves Session Information for Apple Pay.
Request Information
URI Parameters
None.
Body Parameters
ApplePaySessionInputName | Description | Type | Additional information |
---|---|---|---|
sessionUrl |
Payment Session Url |
string |
Required |
Request Formats
application/json, text/json
Sample:
{ "sessionUrl": "sample string 1" }
text/html
Sample:
{"sessionUrl":"sample string 1"}
application/xml, text/xml
Sample:
<v1_ShoppingCarts_ShoppingCartEndpointController.ApplePaySessionInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Aptify.Services.Generated.v1_ShoppingCarts_ShoppingCartEndpoint"> <sessionUrl>sample string 1</sessionUrl> </v1_ShoppingCarts_ShoppingCartEndpointController.ApplePaySessionInput>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ApplePaySessionOutputName | Description | Type | Additional information |
---|---|---|---|
outputToken |
The Apple Pay Session |
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.ApplePaySessionOutput 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.ApplePaySessionOutput>