GetOAuth2ResponseObj
Response returned when retrieving the OAuth2 configuration for a client. Identical to `EnableOAuth2ResponseObj` except that `oauth2ClientSecret` is **not** returned because the secret is only ever exposed at enablement time.
Properties
| Name | Type | Description |
|---|---|---|
| oauth2ClientId | string | The OAuth2 client identifier issued for this Azupay client. |
| oauth2TokenUrl | string | The OAuth2 token endpoint to request access tokens from. |
| oauth2GrantType | string | The OAuth2 grant type supported by this client. |
| oauth2TtlInSecs | integer | The lifetime, in seconds, of access tokens issued for this client. |
| oauth2AllowedScopes | array | The list of OAuth2 scopes that this client is allowed to request. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/azupay/main/json-schema/azupay-get-oauth2-response-obj-schema.json",
"title": "GetOAuth2ResponseObj",
"description": "Response returned when retrieving the OAuth2 configuration for a client. Identical to `EnableOAuth2ResponseObj` except that `oauth2ClientSecret` is **not** returned because the secret is only ever exposed at enablement time.\n",
"x-generated": "2026-10-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/azupay-api-keys-api-openapi.yml#/components/schemas/GetOAuth2ResponseObj",
"type": "object",
"additionalProperties": false,
"required": [
"oauth2ClientId",
"oauth2TokenUrl",
"oauth2GrantType",
"oauth2TtlInSecs",
"oauth2AllowedScopes"
],
"properties": {
"oauth2ClientId": {
"type": "string",
"description": "The OAuth2 client identifier issued for this Azupay client."
},
"oauth2TokenUrl": {
"type": "string",
"format": "url",
"description": "The OAuth2 token endpoint to request access tokens from."
},
"oauth2GrantType": {
"type": "string",
"description": "The OAuth2 grant type supported by this client.",
"enum": [
"client_credentials"
]
},
"oauth2TtlInSecs": {
"type": "integer",
"description": "The lifetime, in seconds, of access tokens issued for this client."
},
"oauth2AllowedScopes": {
"type": "array",
"description": "The list of OAuth2 scopes that this client is allowed to request.",
"items": {
"type": "string"
}
}
}
}
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
curl "https://apis.io/api/v1/json-schemas/azupay-get-oauth2-response-obj"
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.