aboutsummaryrefslogtreecommitdiff
path: root/src/include/taler_merchant_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/taler_merchant_service.h')
-rw-r--r--src/include/taler_merchant_service.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index 20da7abd..b2f2f334 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -2179,6 +2179,11 @@ struct TALER_MERCHANT_PayResponse
*/
struct TALER_MerchantSignatureP merchant_sig;
+ /**
+ * Optional payment confirmation code returned by the service.
+ */
+ const char *pos_confirmation;
+
} success;
// TODO: might want to return further details on errors,
@@ -4208,6 +4213,11 @@ struct TALER_MERCHANT_TemplateGetResponse
const char *pos_key;
/**
+ * Option that add amount of the order
+ */
+ const enum TALER_MerchantConfirmationAlgorithm pos_alg;
+
+ /**
* Template for the contract.
*/
const json_t *template_contract;