feat(subscription): API и утилиты СБП-автопродления Platega

This commit is contained in:
Fringg
2026-07-24 02:14:41 +03:00
parent f04675b249
commit 9093aec207
9 changed files with 407 additions and 8 deletions

View File

@@ -649,6 +649,15 @@ export interface SavedCardsResponse {
recurrent_enabled: boolean;
}
// Platega SBP recurring auto-payment status for a subscription
export interface SbpRecurringInfo {
status: string; // 'none' | 'PENDING' | 'ACTIVE' | 'PAST_DUE'
interval?: number; // 1=day,2=week,3=month,4=year
amount_kopeks?: number;
next_charge_at?: string | null;
redirect_url?: string | null;
}
// Ticket notifications types
export interface TicketNotification {
id: number;