POST v1/GetApplePaySession

Retrieves Session Information for Apple Pay.

Request Information

URI Parameters

None.

Body Parameters

ApplePaySessionInput
NameDescriptionTypeAdditional 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:

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

Response Information

Resource Description

ApplePaySessionOutput
NameDescriptionTypeAdditional 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>