mollie / mollie-api-node

Official Mollie API client for Node
http://www.mollie.com
BSD 3-Clause "New" or "Revised" License
237 stars 63 forks source link

Allow changing API endpoint #164

Closed vernondegoede closed 4 years ago

vernondegoede commented 4 years ago

We would like to use the Node API client to run tests in our CI. This would require us to change the API endpoint.

Would it be possible to expose a method similar to the PHP API client's setApiEndpoint()? The PHP source can be found here: https://github.com/mollie/mollie-api-php/blob/master/src/MollieApiClient.php#L328

Pimm commented 4 years ago

For sure!