diff --git a/lib/stripe_mock/api/client.rb b/lib/stripe_mock/api/client.rb
index <HASH>..<HASH> 100644
--- a/lib/stripe_mock/api/client.rb
+++ b/lib/stripe_mock/api/client.rb
@@ -25,7 +25,7 @@ module StripeMock
 
   private
 
-  def self.redirect_to_mock_server(method, url, api_key, params={}, headers={})
+  def self.redirect_to_mock_server(method, url, api_key, params={}, headers={}, api_base_url=nil)
     handler = Instance.handler_for_method_url("#{method} #{url}")
     mock_error = client.error_queue.error_for_handler_name(handler[:name])
     if mock_error
add additional param to StripeMock.redirect_to_mock_server