Bill SMS in credits and add IRT top-up in Super Admin.
Show credit balance in business settings; Super Admin tops up by IRT (adds credits) and tracks SMS sent per business. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
co-authored by
Cursor
parent
a8676854fb
commit
6bc57f26ed
@@ -69,6 +69,9 @@ export async function getSmsCredit(signal?: AbortSignal) {
|
||||
balance: number
|
||||
/** @deprecated use balance */
|
||||
credit: number | null
|
||||
/** Lifetime SMS messages billed (one per recipient). */
|
||||
sentCount: number
|
||||
unit: 'credits'
|
||||
currency: string | null
|
||||
message: string | null
|
||||
}>(smsPath('/credit'), { auth: true, signal })
|
||||
|
||||
Reference in New Issue
Block a user