{ "opencollection": "1.0.0", "info": { "name": "Square ApplePay BankAccounts API", "version": "2.0" }, "items": [ { "info": { "name": "BankAccounts", "type": "folder" }, "items": [ { "info": { "name": "Square List Bank Accounts", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v2/bank-accounts", "params": [ { "name": "cursor", "value": "", "type": "query", "description": "The pagination cursor returned by a previous call to this endpoint.\nUse it in the next `ListBankAccounts` request to retrieve the next set \nof results.\n\nSee the [Pagination](https://developer.squareup.com/docs/working-with-apis/pagination) guide for more information." }, { "name": "limit", "value": "", "type": "query", "description": "Upper limit on the number of bank accounts to return in the response. \nCurrently, 1000 is the largest supported limit. You can specify a limit \nof up to 1000 bank accounts. This is also the default limit." }, { "name": "location_id", "value": "", "type": "query", "description": "Location ID. You can specify this optional filter \nto retrieve only the linked bank accounts belonging to a specific location." } ], "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": "Returns a list of [BankAccount](entity:BankAccount) objects linked to a Square account." }, { "info": { "name": "Square Get Bank Account by V1 ID", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v2/bank-accounts/by-v1-id/:v1_bank_account_id", "params": [ { "name": "v1_bank_account_id", "value": "", "type": "path", "description": "Connect V1 ID of the desired `BankAccount`. For more information, see \n[Retrieve a bank account by using an ID issued by V1 Bank Accounts API](https://developer.squareup.com/docs/bank-accounts-api#retrieve-a-bank-account-by-using-an-id-issued-by-v1-bank-accounts-api)." } ], "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": "Returns details of a [BankAccount](entity:BankAccount) identified by V1 bank account ID." }, { "info": { "name": "Square Get Bank Account", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v2/bank-accounts/:bank_account_id", "params": [ { "name": "bank_account_id", "value": "", "type": "path", "description": "Square-issued ID of the desired `BankAccount`." } ], "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": "Returns details of a [BankAccount](entity:BankAccount)\nlinked to a Square account." } ] } ], "bundled": true }