diff options
Diffstat (limited to 'api-merchant.rst')
-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 + + + + + + + + + + + + + + + + + + + + + + + + + + |