From 833e6aeafccf5a9022e082d47c2d3d16cb2f59ef Mon Sep 17 00:00:00 2001 From: Shreya Vissamsetti Date: Thu, 15 Feb 2024 15:02:11 -0800 Subject: [PATCH] Add domain and signature to post transaction callback (#18) --- umad-07-post-tx-hooks.md | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/umad-07-post-tx-hooks.md b/umad-07-post-tx-hooks.md index 88b3c8c..a1cbae6 100644 --- a/umad-07-post-tx-hooks.md +++ b/umad-07-post-tx-hooks.md @@ -21,7 +21,13 @@ each VASP to the other is called a "post-transaction hook". It is a POST request POST { - "utxos": { "utxo": string, "amountMsats": number }[] + "utxos": { "utxo": string, "amountMsats": number }[], + // Domain name of the VASP calling this endpoint. Used when validating the signature. + "vaspDomain": string, + // The VASP's signature over sha256_hash(signatureNonce + signatureTimestamp), + "signature": string, + "signatureNonce": string, + "signatureTimestamp": number, // in seconds since epoch } ```