Validate ApplePay session
POST
/v1/applepay/sessionService validates whether applepay payment channel should be displayed for the customer in specific transaction on checkout.
If so, ApplePay will be displayed for customer. If no - it will be unavailable in this specific transaction.
Request
Header Params
request-id
string
required
A unique identifier generated by requesting client
>= 38 characters<= 1024 characters
Example:
|us04oqdnzFQVr0rITD9/c9OvDRE2sXVfwerv.
Match pattern:
^[a-zA-Z0-9?&:_|\-\/=+.,#\s]+$
checkout-version
enum<string>
required
Type of checkout
Allowed values:
securebroker
Body Params application/json
appleUrl
string <uri>
required
initiative
enum<string>
required
Allowed values:
webapp
currency
string
required
Currency code in ISO 4217 alphabetic code
>= 3 characters<= 3 characters
Example:
PLN
Match pattern:
^[A-Z]+$
Example
{
"appleUrl": "http://example.com",
"initiative": "web",
"currency": "PLN"
}
Request samples
Responses
OK(200)
Not Found(404)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
Additional properties
integer | number | string | boolean
optional
Example
{
"property1": "string",
"property2": "string"
}
Modified at 10 days ago