commit 3704ee8dc24eac65363b0d866e59a1999caab01e
parent 4c628cc57596e4d75eedab2e19848ee28b18267b
Author: Joel-Haeberli <haebu@rubigen.ch>
Date: Mon, 3 Jun 2024 18:18:35 +0200
fix: refund query
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/c2ec/wallee-client.go b/c2ec/wallee-client.go
@@ -167,7 +167,7 @@ func (sc *WalleeClient) FormatPayto(w *Withdrawal) string {
func (w *WalleeClient) Refund(transactionId string) error {
- call := WALLEE_CREATE_REFUND_API
+ call := fmt.Sprintf("%s%s", w.baseUrl, WALLEE_CREATE_REFUND_API)
queryParams := map[string]string{
WALLEE_API_SPACEID_PARAM_NAME: strconv.Itoa(w.credentials.SpaceId),
}