diff options
author | Christian Grothoff <christian@grothoff.org> | 2021-04-16 12:07:44 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2021-04-16 12:07:44 +0200 |
commit | 3efd020941198b37bd8e0ff3cb226d2a4909cce3 (patch) | |
tree | ccdc05975cb8ccbee3232893f4f87855ecb977a9 /taler-mcig.rst | |
parent | 64c941695820f7cc9d89162a3adac1f5bf16d5bf (diff) | |
parent | f578a61197bf71c3c30d70d05d5dc6ea28b2631d (diff) | |
download | docs-3efd020941198b37bd8e0ff3cb226d2a4909cce3.tar.gz docs-3efd020941198b37bd8e0ff3cb226d2a4909cce3.tar.bz2 docs-3efd020941198b37bd8e0ff3cb226d2a4909cce3.zip |
Merge branch 'master' of git+ssh://git.taler.net/docs
Diffstat (limited to 'taler-mcig.rst')
-rw-r--r-- | taler-mcig.rst | 28 |
1 files changed, 25 insertions, 3 deletions
diff --git a/taler-mcig.rst b/taler-mcig.rst index 77a21a13..bc32ef7a 100644 --- a/taler-mcig.rst +++ b/taler-mcig.rst @@ -509,17 +509,39 @@ W: :http:post:`/orders/G93420934823/pay` // PayRequest { - "coins": FIXME, - "session_id": FIXME + "coins": [ + // CoinPaySig + { + "coin_sig": ..., + "coin_pub": ..., + "ub_sig": ..., + "h_denom": ..., + "contribution": "KUDOS:8.0", + "exchange_url": ... + }, + { + "coin_sig": ..., + "coin_pub": ..., + "ub_sig": ..., + "h_denom": ..., + "contribution": "KUDOS:2.0", + "exchange_url": ... + } + ] } +Notes: +- There is no session ID in the ``PayRequest`` object. +- The total of the contribution is 8.0 + 2.0 = 10.0 KUDOS, + which is enough to cover the purchase price (9.87 KUDOS). + The backend returns ``200 OK`` with body: .. code-block:: javascript // PaymentResponse { - "sig": FIXME + "sig": "..." // EddsaSignature } FIXME: At this point, does the wallet need to query (status)? |