diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-08-13 15:44:50 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2015-08-13 15:44:50 +0200 |
commit | f499340383e660b865fba817c2b8cd0390943953 (patch) | |
tree | 9b8e143e5bc58d4800d50850a179e2c41c64c467 | |
parent | 81f0ced5645be4bb89d59cbe17168a899ed97041 (diff) | |
download | docs-f499340383e660b865fba817c2b8cd0390943953.tar.gz docs-f499340383e660b865fba817c2b8cd0390943953.tar.bz2 docs-f499340383e660b865fba817c2b8cd0390943953.zip |
adding deposit and pay failure responses skeletons
-rw-r--r-- | api-merchant.rst | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/api-merchant.rst b/api-merchant.rst index 43c0a7c3..c8fc2c10 100644 --- a/api-merchant.rst +++ b/api-merchant.rst @@ -280,3 +280,38 @@ The following API are made available by the merchant's backend to the merchant's :reqheader Content-Type: application/json :<json base32 dep_perm: the signed deposit permission (link to the blob above) :<json base32 eddsa_pub: the public key of the customer. + + **Failure Response: TBD ** + + **Error Response: Invalid signature**: + + :status 401 Unauthorized: One of the signatures is invalid. + :resheader Content-Type: application/json + :>json string error: the value is "invalid signature" + :>json string paramter: the value is "coin_sig", "ub_sig" (TODO define this) or "wallet_sig", depending on which signature was deemed invalid by the mint + + + + + + + + + + + + + + + + + + + + + + + + + + |