{
  "opencollection": "1.0.0",
  "info": {
    "name": "Adyen Account acceptDispute Sessions API",
    "version": "6"
  },
  "items": [
    {
      "info": {
        "name": "Sessions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Adyen Get an Apple Pay Session",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cal-test.adyen.com/cal/services/Account/v6/applePay/sessions",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": "37ca9c97-d1d1-4c62-89e8-706891a563ed"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "You need to use this endpoint if you have an API-only integration with Apple Pay which uses Adyen's Apple Pay certificate.\n\nThe endpoint returns the Apple Pay session data which you need to complete the [Apple Pay session validation](https://docs.adyen.com/payment-methods/apple-pay/api-only?tab=adyen-certificate-validation_1#complete-apple-pay-session-validation)."
        },
        {
          "info": {
            "name": "Adyen Create a Payment Session",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://cal-test.adyen.com/cal/services/Account/v6/sessions",
            "headers": [
              {
                "name": "Idempotency-Key",
                "value": "37ca9c97-d1d1-4c62-89e8-706891a563ed"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            },
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Creates a payment session for [Web Drop-in](https://docs.adyen.com/online-payments/web-drop-in) and [Web Components](https://docs.adyen.com/online-payments/web-components) integrations.\n\nThe response contains encrypted payment session data. The front end then uses the session data to make any required server-side calls for the payment flow.\n\nYou get the payment outcome asynchronously, in an [AUTHORISATION](https://docs.adyen.com/api-explorer/#/Webhooks/latest/post/AUTHORISATION) webhook."
        },
        {
          "info": {
            "name": "Adyen Get the Result of a Payment Session",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://cal-test.adyen.com/cal/services/Account/v6/sessions/:sessionId",
            "params": [
              {
                "name": "sessionId",
                "value": "",
                "type": "path",
                "description": "A unique identifier of the session."
              },
              {
                "name": "sessionResult",
                "value": "",
                "type": "query",
                "description": "The `sessionResult` value from the Drop-in or Component."
              }
            ],
            "auth": {
              "type": "basic",
              "username": "{{username}}",
              "password": "{{password}}"
            }
          },
          "docs": "Returns the status of the payment session with the `sessionId` and `sessionResult` specified in the path."
        }
      ]
    }
  ],
  "bundled": true
}