Get payment session for Apple Pay
POST {{baseUrl}}/applePay/sessions
You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate. The endpoint returns the Apple Pay session data which you need to complete the Apple Pay session validation.
Request Body
{"displayName"=>"YOUR_MERCHANT_NAME", "domainName"=>"YOUR_DOMAIN_NAME", "merchantIdentifier"=>"YOUR_MERCHANT_ID"}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string | ||
Idempotency-Key | null | A unique identifier for the message with a maximum of 64 characters (we recommend a UUID). |
RESPONSES
status: OK
{"data":"eyJ2Z..."}