mirror of
https://github.com/Wei-Shaw/sub2api.git
synced 2026-11-20 23:07:18 +00:00
feat(redeem): support subscription type in create-and-redeem API
Add group_id and validity_days fields to CreateAndRedeemCodeRequest for subscription redemption. Type defaults to "balance" for backward compatibility with existing callers that don't send the type field.
This commit is contained in:
1 parent
9618518680
commit
7ab8181436
3 files changed
+167
-11
No files matched your search
@@ -1 +1 @@
|
||||
0.1.96.10
|
||||
0.1.96.11
|
||||
Reference in new issue
Block a user