完善 API Key 能力范围可视化和维护
This commit is contained in:
@@ -502,6 +502,10 @@ export interface CreatedGatewayApiKey {
|
||||
secret: string;
|
||||
}
|
||||
|
||||
export interface GatewayApiKeyScopeUpdateRequest {
|
||||
scopes: string[];
|
||||
}
|
||||
|
||||
export interface PlayableGatewayApiKey extends GatewayApiKey {
|
||||
secret: string;
|
||||
}
|
||||
@@ -575,6 +579,14 @@ export interface WalletBalanceAdjustmentRequest {
|
||||
metadata?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface WalletRechargeRequest {
|
||||
currency?: string;
|
||||
amount: number;
|
||||
reason: string;
|
||||
idempotencyKey?: string;
|
||||
metadata?: Record<string, unknown>;
|
||||
}
|
||||
|
||||
export interface WalletSummaryResponse {
|
||||
accounts: GatewayWalletAccount[];
|
||||
primaryAccount: GatewayWalletAccount;
|
||||
|
||||
Reference in New Issue
Block a user