summaryrefslogtreecommitdiff
path: root/core/api-merchant.rst
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2020-07-20 17:42:51 +0530
committerFlorian Dold <florian.dold@gmail.com>2020-07-20 17:42:51 +0530
commit0cb46cd539dc4e3262fcae642b9295d6da4722aa (patch)
treef7c9223bee368ce440c2de57d5901209fef2e346 /core/api-merchant.rst
parentcda4ca38c09e41f6fbbbe5fa2a2de9b6af2fd818 (diff)
downloaddocs-0cb46cd539dc4e3262fcae642b9295d6da4722aa.tar.gz
docs-0cb46cd539dc4e3262fcae642b9295d6da4722aa.tar.bz2
docs-0cb46cd539dc4e3262fcae642b9295d6da4722aa.zip
add missing response type
Diffstat (limited to 'core/api-merchant.rst')
-rw-r--r--core/api-merchant.rst10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index 469a9f3..4072a7b 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -842,6 +842,16 @@ Payment processing
:status 409 Conflict:
The someone else claimed the same order ID with different nonce before.
+ .. ts:def:: ClaimResponse
+
+ interface ClaimResponse {
+ // Contract terms of the claimed order
+ contract_terms: ContractTerms;
+
+ // Signature by the merchant over the contract terms.
+ sig: EddsaSignature;
+ }
+
.. http:post:: /orders/$ORDER_ID/pay