return array

This commit is contained in:
Yansong Zhang
2026-03-04 11:38:45 +08:00
parent 6473c1419b
commit 09ae3a9b52
3 changed files with 61 additions and 21 deletions

View File

@ -456,3 +456,15 @@ class BillingService:
f"/notifications/{notification_id}/accounts",
json={"account_ids": account_ids},
)
@classmethod
def dismiss_notification(cls, notification_id: str, account_id: str) -> dict:
"""Mark a notification as dismissed for an account.
Returns {"success": bool}.
"""
return cls._send_request(
"POST",
f"/notifications/{notification_id}/dismiss",
json={"account_id": account_id},
)