summaryrefslogtreecommitdiff
path: root/core/api-exchange.rst
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2020-10-31 16:08:52 +0100
committerChristian Grothoff <christian@grothoff.org>2020-10-31 16:09:06 +0100
commitf82d5092cdc8fa3a123404f680b43a937cc6ef11 (patch)
tree54b3a89348b5921efcf753890b375ad9d31f72d2 /core/api-exchange.rst
parent83caabf7abca7c89230300a02ce5d980ab9ddf56 (diff)
downloaddocs-f82d5092cdc8fa3a123404f680b43a937cc6ef11.tar.gz
docs-f82d5092cdc8fa3a123404f680b43a937cc6ef11.tar.bz2
docs-f82d5092cdc8fa3a123404f680b43a937cc6ef11.zip
restructure merchant API documentation (#6492)
Diffstat (limited to 'core/api-exchange.rst')
-rw-r--r--core/api-exchange.rst28
1 files changed, 14 insertions, 14 deletions
diff --git a/core/api-exchange.rst b/core/api-exchange.rst
index bc6a98d5..8b5c43cc 100644
--- a/core/api-exchange.rst
+++ b/core/api-exchange.rst
@@ -1435,21 +1435,21 @@ Refunds
exchange_pub: EddsaPublicKey;
}
- .. ts:def:: RefundFailure
+ .. ts:def:: RefundFailure
- interface RefundFailure {
+ interface RefundFailure {
- // Numeric error code unique to the condition, which can be either
- // related to the deposit value being insufficient for the requested
- // refund(s), or the requested refund conflicting due to refund
- // transaction number re-use (with different amounts).
- code: number;
+ // Numeric error code unique to the condition, which can be either
+ // related to the deposit value being insufficient for the requested
+ // refund(s), or the requested refund conflicting due to refund
+ // transaction number re-use (with different amounts).
+ code: number;
- // Human-readable description of the error message
- hint: string;
+ // Human-readable description of the error message
+ hint: string;
- // Information about the conflicting refund request(s).
- // This will not be the full history of the coin, but only
- // the relevant subset of the transactions.
- history: CoinSpendHistoryItem[];
- }
+ // Information about the conflicting refund request(s).
+ // This will not be the full history of the coin, but only
+ // the relevant subset of the transactions.
+ history: CoinSpendHistoryItem[];
+ }