Skip to content

updated oauth scopes, eliminated invalid "Payment Contexts" (in plura…#200

Merged
david-ruiz-cko merged 3 commits intomainfrom
feature/INT-1605
Mar 18, 2026
Merged

updated oauth scopes, eliminated invalid "Payment Contexts" (in plura…#200
david-ruiz-cko merged 3 commits intomainfrom
feature/INT-1605

Conversation

@david-ruiz-cko
Copy link
Contributor

This pull request adds several new OAuth scope constants and reorganizes existing ones in the OAuthScopes enum in checkout_sdk/oauth_scopes.py. The changes expand the coverage of available OAuth scopes, improve logical grouping, and enhance maintainability.

New OAuth scopes and improved organization:

  • Added new OAuth scopes for vault (e.g., vault:customers, vault:real-time-account-updater, vault:apme-enrollment, vault:network-tokens) and for gateway (e.g., gateway:payment-cancellations, gateway:payment-contexts).
  • Introduced new scopes for disputes (e.g., disputes:scheme-files), transfers, flow, middleware, and card-management, as well as additional issuing-related scopes (e.g., issuing:card-management-read, issuing:card-management-write, issuing:transactions-read, issuing:transactions-write, issuing-disputes, issuing:disputes-read, issuing:disputes-write).
  • Added new general scopes such as transactions, identity-verification, forward:secrets, payment-sessions, and payments:search.
  • Reorganized and grouped
  • Deleted invalid 'Payment Contexts' (in plural) scope

@david-ruiz-cko david-ruiz-cko requested a review from a team March 17, 2026 14:50
@sonarqubecloud
Copy link

@david-ruiz-cko david-ruiz-cko merged commit cf60460 into main Mar 18, 2026
4 checks passed
@david-ruiz-cko david-ruiz-cko deleted the feature/INT-1605 branch March 18, 2026 17:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

2 participants