Square · Schema
RevokeTokenRequest
BookingLocationSquareRestaurantCatalogCheckoutCustomersDisputesE-CommerceFinancial TechnologyGift CardsInventoryInvoicingLaborLoyaltyMerchantsOrderPaymentsPoint-of-SaleRefundsRetailSubscriptionTeamWebhookPayment ProcessingPayment Terminals
Properties
| Name | Type | Description |
|---|---|---|
| client_id | stringnull | The Square-issued ID for your application, which is available on the **OAuth** page in the [Developer Dashboard](https://developer.squareup.com/apps). |
| access_token | stringnull | The access token of the merchant whose token you want to revoke. Do not provide a value for `merchant_id` if you provide this parameter. |
| merchant_id | stringnull | The ID of the merchant whose token you want to revoke. Do not provide a value for `access_token` if you provide this parameter. |
| revoke_only_access_token | booleannull | If `true`, terminate the given single access token, but do not terminate the entire authorization. Default: `false` |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/square/main/json-schema/square-revoke-token-request-schema.json",
"title": "RevokeTokenRequest",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/square-oauth-api-openapi.yml#/components/schemas/RevokeTokenRequest",
"type": "object",
"x-release-status": "PUBLIC",
"properties": {
"client_id": {
"type": [
"string",
"null"
],
"description": "The Square-issued ID for your application, which is available on the **OAuth** page in the\n[Developer Dashboard](https://developer.squareup.com/apps).",
"maxLength": 191
},
"access_token": {
"type": [
"string",
"null"
],
"description": "The access token of the merchant whose token you want to revoke.\nDo not provide a value for `merchant_id` if you provide this parameter.",
"minLength": 2,
"maxLength": 1024
},
"merchant_id": {
"type": [
"string",
"null"
],
"description": "The ID of the merchant whose token you want to revoke.\nDo not provide a value for `access_token` if you provide this parameter."
},
"revoke_only_access_token": {
"type": [
"boolean",
"null"
],
"description": "If `true`, terminate the given single access token, but do not\nterminate the entire authorization.\nDefault: `false`"
}
},
"x-sq-sdk-sample-code": {
"csharp": "/sdk_samples/RevokeToken/RevokeTokenRequest.csharp",
"java": "/sdk_samples/RevokeToken/RevokeTokenRequest.java",
"javascript": "/sdk_samples/RevokeToken/RevokeTokenRequest.javascript",
"php": "/sdk_samples/RevokeToken/RevokeTokenRequest.php",
"python": "/sdk_samples/RevokeToken/RevokeTokenRequest.python",
"ruby": "/sdk_samples/RevokeToken/RevokeTokenRequest.ruby"
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/square-revoke-token-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.