aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2024-11-03 16:27:30 +0100
committerChristian Grothoff <christian@grothoff.org>2024-11-05 10:38:39 +0100
commitdb549e483b776a832ebdd17521de87d8201f8475 (patch)
tree276e7eb7b4622a00faa5c7c7a675589e802e4e18 /src
parenta0d3621fbcb8861086b3e8cb9b88e588ac27c4d3 (diff)
work on merchant
Diffstat (limited to 'src')
-rw-r--r--src/include/taler_merchant_service.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/include/taler_merchant_service.h b/src/include/taler_merchant_service.h
index 0ad7dc75..78edc62f 100644
--- a/src/include/taler_merchant_service.h
+++ b/src/include/taler_merchant_service.h
@@ -1012,7 +1012,7 @@ struct TALER_MERCHANT_AccountsPostHandle *
TALER_MERCHANT_accounts_post (
struct GNUNET_CURL_Context *ctx,
const char *backend_url,
- const char *payto_uri,
+ struct TALER_FullPayto payto_uri,
const char *credit_facade_url,
const json_t *credit_facade_credentials,
TALER_MERCHANT_AccountsPostCallback cb,
@@ -1049,7 +1049,7 @@ struct TALER_MERCHANT_AccountDetails
/**
* payto:// URI of the account.
*/
- const char *payto_uri;
+ struct TALER_FullPayto payto_uri;
/**
* Credit facade URL of the account.
@@ -1160,7 +1160,7 @@ struct TALER_MERCHANT_AccountEntry
/**
* account payto URI.
*/
- const char *payto_uri;
+ struct TALER_FullPayto payto_uri;
/**
* Hash of @e payto_uri and salt.
@@ -4151,7 +4151,7 @@ TALER_MERCHANT_transfers_post (
const char *backend_url,
const struct TALER_Amount *credit_amount,
const struct TALER_WireTransferIdentifierRawP *wtid,
- const char *payto_uri,
+ struct TALER_FullPayto payto_uri,
const char *exchange_url,
TALER_MERCHANT_PostTransfersCallback cb,
void *cls);
@@ -4245,7 +4245,7 @@ struct TALER_MERCHANT_TransferData
/**
* URI of the target account.
*/
- const char *payto_uri;
+ struct TALER_FullPayto payto_uri;
/**
* URL of the exchange that made the transfer.
@@ -4360,7 +4360,7 @@ struct TALER_MERCHANT_GetTransfersHandle *
TALER_MERCHANT_transfers_get (
struct GNUNET_CURL_Context *ctx,
const char *backend_url,
- const char *payto_uri,
+ struct TALER_FullPayto payto_uri,
const struct GNUNET_TIME_Timestamp before,
const struct GNUNET_TIME_Timestamp after,
int64_t limit,
@@ -4409,7 +4409,7 @@ struct TALER_MERCHANT_AccountKycRedirectDetail
/**
* Our bank wire account this is about.
*/
- const char *payto_uri;
+ struct TALER_FullPayto payto_uri;
/**
* Array of length @e limits_array with (exposed) limits that apply to the
@@ -4423,7 +4423,7 @@ struct TALER_MERCHANT_AccountKycRedirectDetail
* the given account. Needed if @e kyc_url is NULL
* and @e limits are to be passed.
*/
- const char **payto_kycauths;
+ struct TALER_FullPayto *payto_kycauths;
/**
* Length of the @e limits array.