{ "opencollection": "1.0.0", "info": { "name": "Square ApplePay Payouts API", "version": "2.0" }, "items": [ { "info": { "name": "Payouts", "type": "folder" }, "items": [ { "info": { "name": "Square List Payouts", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v2/payouts", "params": [ { "name": "location_id", "value": "", "type": "query", "description": "The ID of the location for which to list the payouts.\nBy default, payouts are returned for the default (main) location associated with the seller." }, { "name": "status", "value": "", "type": "query", "description": "If provided, only payouts with the given status are returned." }, { "name": "begin_time", "value": "", "type": "query", "description": "The timestamp for the beginning of the payout creation time, in RFC 3339 format.\nInclusive. Default: The current time minus one year." }, { "name": "end_time", "value": "", "type": "query", "description": "The timestamp for the end of the payout creation time, in RFC 3339 format.\nDefault: The current time." }, { "name": "sort_order", "value": "", "type": "query", "description": "The order in which payouts are listed." }, { "name": "cursor", "value": "", "type": "query", "description": "A pagination cursor returned by a previous call to this endpoint.\nProvide this cursor to retrieve the next set of results for the original query.\nFor more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).\nIf request parameters change between requests, subsequent results may contain duplicates or missing records." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of results to be returned in a single page.\nIt is possible to receive fewer results than the specified limit on a given page.\nThe default value of 100 is also the maximum allowed value. If the provided value is\ngreater than 100, it is ignored and the default value is used instead.\nDefault: `100`" } ], "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": "Retrieves a list of all payouts for the default location.\nYou can filter payouts by location ID, status, time range, and order them in ascending or descending order.\nTo call this endpoint, set `PAYOUTS_READ` for the OAuth scope." }, { "info": { "name": "Square Get Payout", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v2/payouts/:payout_id", "params": [ { "name": "payout_id", "value": "", "type": "path", "description": "The ID of the payout to retrieve the information for." } ], "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": "Retrieves details of a specific payout identified by a payout ID.\nTo call this endpoint, set `PAYOUTS_READ` for the OAuth scope." }, { "info": { "name": "Square List Payout Entries", "type": "http" }, "http": { "method": "GET", "url": "https://connect.squareup.com/v2/payouts/:payout_id/payout-entries", "params": [ { "name": "payout_id", "value": "", "type": "path", "description": "The ID of the payout to retrieve the information for." }, { "name": "sort_order", "value": "", "type": "query", "description": "The order in which payout entries are listed." }, { "name": "cursor", "value": "", "type": "query", "description": "A pagination cursor returned by a previous call to this endpoint.\nProvide this cursor to retrieve the next set of results for the original query.\nFor more information, see [Pagination](https://developer.squareup.com/docs/build-basics/common-api-patterns/pagination).\nIf request parameters change between requests, subsequent results may contain duplicates or missing records." }, { "name": "limit", "value": "", "type": "query", "description": "The maximum number of results to be returned in a single page.\nIt is possible to receive fewer results than the specified limit on a given page.\nThe default value of 100 is also the maximum allowed value. If the provided value is\ngreater than 100, it is ignored and the default value is used instead.\nDefault: `100`" } ], "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": "Retrieves a list of all payout entries for a specific payout.\nTo call this endpoint, set `PAYOUTS_READ` for the OAuth scope." } ] } ], "bundled": true }