Skip to content

Commit 2086973

Browse files
Remove scopes parameter from ObtainTokenRequest
1 parent a2a5e38 commit 2086973

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

doc/models/obtain-token-request.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
| `GrantType` | `String` | | Specifies the method to request an OAuth access token.<br>Valid values are: `authorization_code`, `refresh_token`, and `migration_token` |
1616
| `RefreshToken` | `String` | Optional | A valid refresh token for generating a new OAuth access token.<br>A valid refresh token is required if `grant_type` is set to `refresh_token` ,<br>to indicate the application wants a replacement for an expired OAuth access token. |
1717
| `MigrationToken` | `String` | Optional | Legacy OAuth access token obtained using a Connect API version prior<br>to 2019-03-13. This parameter is required if `grant_type` is set to<br>`migration_token` to indicate that the application wants to get a replacement<br>OAuth access token. The response also returns a refresh token.<br>For more information, see [Migrate to Using Refresh Tokens](https://developer.squareup.com/docs/authz/oauth/migration). |
18-
| `Scopes` | `List<String>` | Optional | __OPTIONAL__<br><br>A JSON list of strings that are the permissions the application is requesting.<br>For example: "`["MERCHANT_PROFILE_READ","PAYMENTS_READ","BANK_ACCOUNTS_READ"]`"<br>The access token returned in the response will be granted the permissions<br>that comprise the intersection between the given list of permissions, and those<br>that belong to the provided refresh token. |
1918

2019
### Example (as JSON)
2120

0 commit comments

Comments
 (0)