Version: 1.0.0
Peak Gateway Internal API
Internal OpenAPI reference for private Peak Gateway endpoints.
Conventions:
- All IDs are UUIDs unless noted otherwise.
- Most responses use the standard ApiResponse wrapper.
- Role hierarchy: super_admin > admin > merchant_admin > merchant_user > readonly.
Authentication
- OAuth 2.0: BearerAuth
- HTTP: Bearer Auth
OAuth2 bearer token authentication.
Security Scheme Type: | oauth2 |
|---|---|
OAuth Flow (clientCredentials): | Token URL: https://api.peakgateway.co/auth/oauth2/token Scopes:
|
Firebase ID token for portal users.
Security Scheme Type: | http |
|---|---|
HTTP Authorization Scheme: | bearer |
Bearer format: | JWT |