commit 623e8aa6c81d3747564b48df44c61c99b6cbe99d parent 93c6511c688c8c8c0313c76f83eb149bc5a34875 Author: Christian Grothoff <christian@grothoff.org> Date: Sun, 2 Feb 2025 16:51:50 +0100 add valid_at to token_outputs to be able to issue output tokens that are valid in the future, and not now Diffstat:
| M | core/api-merchant.rst | | | 6 | ++++++ |
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -2714,6 +2714,12 @@ Creating orders // the merchant backend. count?: Integer; + // When should the output token be valid. Can be specified if the + // desired validity period should be in the future (like selling + // a subscription for the next month). Optional. If not given, + // the validity is supposed to be "now" (time of order creation). + valid_at?: Timestamp; + } .. ts:def:: OrderOutputTaxReceipt