diff --git a/Sources/Stripe/API/Routes/BalanceRoutes.swift b/Sources/Stripe/API/Routes/BalanceRoutes.swift index 4de9ca1..933bb1a 100644 --- a/Sources/Stripe/API/Routes/BalanceRoutes.swift +++ b/Sources/Stripe/API/Routes/BalanceRoutes.swift @@ -54,6 +54,6 @@ public struct StripeBalanceRoutes: BalanceRoutes { if let filter = filter { queryParams = filter.queryParameters } - return try request.send(method: .GET, path: StripeAPIEndpoint.account.endpoint, query: queryParams) + return try request.send(method: .GET, path: StripeAPIEndpoint.balance.endpoint, query: queryParams) } } diff --git a/Sources/Stripe/API/Routes/ChargeRoutes.swift b/Sources/Stripe/API/Routes/ChargeRoutes.swift index 19710dd..3316533 100644 --- a/Sources/Stripe/API/Routes/ChargeRoutes.swift +++ b/Sources/Stripe/API/Routes/ChargeRoutes.swift @@ -280,6 +280,6 @@ public struct StripeChargeRoutes: ChargeRoutes { queryParams = filter.queryParameters } - return try request.send(method: .GET, path: StripeAPIEndpoint.account.endpoint, query: queryParams) + return try request.send(method: .GET, path: StripeAPIEndpoint.charges.endpoint, query: queryParams) } }