admin:payments
Verb: admin
Resource: payments
Use
import { SCOPES, requireScope } from "@platform/scopes";
app.use("/v1/payments/*", requireScope(SCOPES.ADMIN_PAYMENTS));Granted via
This scope is granted to a token through one of:
- The user explicitly approved it on the consent screen when an app requested it
- The user has an admin role that includes it (M2M client_credentials, admin staff)
- A higher-privilege scope (
manage:paymentsoradmin:*) satisfies it