- startRefundQueryForUri#
Check for a refund based on a
taler://refundURI.Locates the payment for the order identified by the URI and starts a refund query on it; the refund processing then continues as part of the payment transaction. The
WALLET_PURCHASE_NOT_FOUNDerror is returned when the wallet has no purchase for the order, for example because it was paid with a different wallet.Request:
The
argsmust be a PrepareRefundRequest object.Response:
On success, the result is a StartRefundQueryForUriResponse object.
Side effects:
Creates or updates a refund query and contacts the merchant over the network.
Expected errors:
The caller can handle the following errors inline:
WALLET_TALER_URI_MALFORMED,WALLET_PURCHASE_NOT_FOUND.
interface PrepareRefundRequest {
// The taler://refund URI to check for refunds.
talerRefundUri: string;
}
interface StartRefundQueryForUriResponse {
// Transaction id of the *payment* where the refund query
// was started.
transactionId: TransactionIdStr;
}