diff options
author | Christian Grothoff <christian@grothoff.org> | 2020-10-20 20:24:03 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2020-10-20 20:24:03 +0200 |
commit | 3a74de266c9724c6b804244e14870cd017e8a721 (patch) | |
tree | 5def2405afae3d20839e02681a42ca5c02ab31ab /src/lib/merchant_api_merchant_get_order.c | |
parent | 33e80b885a9c97d85eb009027feecfba2928165f (diff) | |
download | merchant-3a74de266c9724c6b804244e14870cd017e8a721.tar.gz merchant-3a74de266c9724c6b804244e14870cd017e8a721.tar.bz2 merchant-3a74de266c9724c6b804244e14870cd017e8a721.zip |
expose refund_pending status in GET /private/orders/<ID> operation. Fixes #6491.
Diffstat (limited to 'src/lib/merchant_api_merchant_get_order.c')
-rw-r--r-- | src/lib/merchant_api_merchant_get_order.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/merchant_api_merchant_get_order.c b/src/lib/merchant_api_merchant_get_order.c index b09b39ee..ae35f354 100644 --- a/src/lib/merchant_api_merchant_get_order.c +++ b/src/lib/merchant_api_merchant_get_order.c @@ -171,6 +171,8 @@ handle_paid (struct TALER_MERCHANT_OrderMerchantGetHandle *omgh, struct GNUNET_JSON_Specification spec[] = { GNUNET_JSON_spec_bool ("refunded", &osr.details.paid.refunded), + GNUNET_JSON_spec_bool ("refund_pending", + &osr.details.paid.refund_pending), GNUNET_JSON_spec_bool ("wired", &osr.details.paid.wired), TALER_JSON_spec_amount ("deposit_total", |