{ "opencollection": "1.0.0", "info": { "name": "Square ApplePay API", "version": "2.0" }, "items": [ { "info": { "name": "ApplePay", "type": "folder" }, "items": [ { "info": { "name": "Square Register Domain", "type": "http" }, "http": { "method": "POST", "url": "https://connect.squareup.com/v2/apple-pay/domains", "body": { "type": "json", "data": "{}" }, "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://connect.squareup.com/oauth2/authorize", "accessTokenUrl": "https://connect.squareup.com/oauth2/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Activates a domain for use with Apple Pay on the Web and Square. A validation\nis performed on this domain by Apple to ensure that it is properly set up as\nan Apple Pay enabled domain.\n\nThis endpoint provides an easy way for platform developers to bulk activate\nApple Pay on the Web with Square for merchants using their platform.\n\nNote: You will need to host a valid domain verification file on your domain to support Apple Pay. The\ncurrent version of this file is always available at https://app.sq" } ] } ], "bundled": true }