{
  "opencollection": "1.0.0",
  "info": {
    "name": "Business Accounting Apple Pay merchant registration API",
    "version": "1.0"
  },
  "items": [
    {
      "info": {
        "name": "Apple Pay merchant registration",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Register domain for Apple Pay",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://b2b.revolut.com/api/1.0/api/apple-pay/domains/register",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Register your website's domain to accept payments via Apple Pay. \n\nBefore you call this endpoint, make sure that you have completed the following steps:\n\n1. Download the latest [domain validation file](https://assets.revolut.com/api-docs/merchant-api/files/apple-developer-merchantid-domain-association).\n1. Upload the domain validation file to your website in the following folder `/.well-known/`. For example, if your website is `example.com`, the file should be available on `example.com/.well-kno"
        },
        {
          "info": {
            "name": "Unregister domain for Apple Pay",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "https://b2b.revolut.com/api/1.0/api/apple-pay/domains/unregister",
            "headers": [
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "Revolut-Api-Version",
                "value": ""
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Unregister your website from Apple Pay's registered domains. "
        }
      ]
    }
  ],
  "bundled": true
}