diff --git a/src/routes/RoutesApi.php b/src/routes/RoutesApi.php index 2458e89a..d6f6277a 100644 --- a/src/routes/RoutesApi.php +++ b/src/routes/RoutesApi.php @@ -68,9 +68,9 @@ public function createPlan($data) public function renewCharge($charge_id) { $response = $this->api->request(sprintf( - 'charges/%s/charge', - filter_var($charge_id, FILTER_SANITIZE_NUMBER_INT) - ), 'POST', []); + 'charges/%s/charge', + filter_var($charge_id, FILTER_SANITIZE_NUMBER_INT) + ), 'POST', []); return $response['charge']; }