Skip to content

Commit 83bff37

Browse files
committed
fix: update subscription period description to prohibit zero value
1 parent d5fe8d0 commit 83bff37

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

requests-responses.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -580,7 +580,7 @@ Subscription structure:
580580

581581
* `beneficiary` (string): TON address that receives the subscription payments (`0:<hex>` raw or user-friendly base64).
582582
* `id` (number): Subscription identifier. Set by the initiator of the subscription. This field, together with beneficiary and from, forms a quasi-unique key identifying the subscription and is used to derive the initial state of the subscription extension. Can be reused to update an existing subscription
583-
* `period` (integer): Billing period in **seconds**; **MUST** be a multiple of `604800` (7 days), `2592000` (30 days), `2629800` (calendar month), or `31557600` (calendar year).
583+
* `period` (integer): Billing period in **seconds**; **MUST** be a multiple of `604800` (7 days), `2592000` (30 days), `2629800` (calendar month), or `31557600` (calendar year) and **MUST NOT be** `0`.
584584
* `amount` (decimal string): Number of nanocoins debited on each charge.
585585
* `first_charge_date` (integer, optional): UNIX timestamp (seconds) of the first charge. If omitted, the wallet charges immediately after user confirmation.
586586
* `metadata` (object, optional): Human-readable information about the plan:

0 commit comments

Comments
 (0)