Optimizely Apple Pay API

The Apple Pay API from Optimizely — 2 operation(s) for apple pay.

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v1/applepay/session Validate an Apple Pay merchant session · Apple pay session validate session async #
Ask an LLM
“How does my storefront validate an Apple Pay merchant session before checkout?”
“Which domain name do I pass when starting an Apple Pay session?”
Tell an agent
Validate an Apple Pay session using validation URL {validationUrl}.
Start an Apple Pay merchant session for domain {domainName} with validation URL {validationUrl}.
GET /api/v1/applepay/config Get the Apple Pay configuration · Apple pay V1 get #
Ask an LLM
“Is Apple Pay configured for my commerce storefront?”
“What Apple Pay settings does the site currently expose?”
Tell an agent
Get the Apple Pay configuration.
Show the current Apple Pay settings for the storefront.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/optimizely:optimizely-apple-pay-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

optimizely-apple-pay-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: storefront-v1
  title: Storefront API V1 Applepay API
servers:
- url: https://dogfood.commerce.insitesandbox.com
security: []
tags:
- name: Apple Pay
paths:
  /api/v1/applepay/session:
    post:
      tags:
      - Apple Pay
      operationId: ApplePaySession_ValidateSessionAsync
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Insite.Websites.WebApi.V1.ApiModels.ApplePaySessionRequestModel'
          text/json:
            schema:
              $ref: '#/components/schemas/Insite.Websites.WebApi.V1.ApiModels.ApplePaySessionRequestModel'
          application/xml:
            schema:
              $ref: '#/components/schemas/Insite.Websites.WebApi.V1.ApiModels.ApplePaySessionRequestModel'
          text/xml:
            schema:
              $ref: '#/components/schemas/Insite.Websites.WebApi.V1.ApiModels.ApplePaySessionRequestModel'
          application/x-www-form-urlencoded:
            schema:
              $ref: '#/components/schemas/Insite.Websites.WebApi.V1.ApiModels.ApplePaySessionRequestModel'
          text/html:
            schema:
              $ref: '#/components/schemas/Insite.Websites.WebApi.V1.ApiModels.ApplePaySessionRequestModel'
        required: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            text/html:
              schema:
                type: object
      security:
      - access_token: []
      summary: Apple pay session validate session async
      x-summary-source: derived
  /api/v1/applepay/config:
    get:
      tags:
      - Apple Pay
      operationId: ApplePayV1_Get
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
            text/json:
              schema:
                type: object
            application/xml:
              schema:
                type: object
            text/xml:
              schema:
                type: object
            text/html:
              schema:
                type: object
      security:
      - access_token: []
      summary: Apple pay V1 get
      x-summary-source: derived
components:
  schemas:
    Insite.Websites.WebApi.V1.ApiModels.ApplePaySessionRequestModel:
      type: object
      properties:
        validationUrl:
          type: string
        domainName:
          type: string
  securitySchemes:
    access_token:
      type: apiKey
      description: Token used to access storefront API.
      name: access_token
      in: query