commit 074d291c6c29ca8f0fce52caec2810ba2da7d7d8
parent 2997219076a18420003a5b778c0094f953903825
Author: Iván Ávalos <avalos@disroot.org>
Date: Fri, 7 Mar 2025 16:25:18 +0100
merchant: API updates
Diffstat:
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -490,6 +490,8 @@ Making the payment
// issue public key of the merchant.
ub_sig: UnblindedSignature;
+ // Hash of the token issue public key associated with this token.
+ h_issue: HashCode;
}
.. ts:def:: TokenEnvelope
@@ -2984,7 +2986,8 @@ Inspecting orders
summary: string;
// Total amount of the order (to be paid by the customer).
- total_amount: Amount;
+ // Will be undefined for unpaid v1 orders
+ total_amount?: Amount;
// Alternative order ID which was paid for already in the same session.
// Only given if the same product was purchased before in the same session.