summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-11-02 12:14:24 +0100
committerChristian Grothoff <christian@grothoff.org>2019-11-02 12:14:24 +0100
commit44b5eaf1bc2f45b3c48ed60e53c745e7950dc48f (patch)
treefc536c8262f3a45400483ece4fd259265bea0ab8
parentda2fddabdc5a8e28f5ef3c9090da08ae3595b581 (diff)
downloaddocs-44b5eaf1bc2f45b3c48ed60e53c745e7950dc48f.tar.gz
docs-44b5eaf1bc2f45b3c48ed60e53c745e7950dc48f.tar.bz2
docs-44b5eaf1bc2f45b3c48ed60e53c745e7950dc48f.zip
refund amount now optional field
-rw-r--r--core/api-merchant.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
index b74de79..aca1e8c 100644
--- a/core/api-merchant.rst
+++ b/core/api-merchant.rst
@@ -115,8 +115,8 @@ Receiving Payments
// Was the payment refunded (even partially)
refunded: boolean;
- // Amount that was refunded
- refund_amount: Amount;
+ // Amount that was refunded, only present if refunded is true.
+ refund_amount?: Amount;
// Contract terms
contract_terms: ContractTerms;