src/Ginger.php
public static function getEndpoint($product)
    {
        switch ($product) {
            case 'kassacompleet':
                return (new Client\EndpointResolver())->getEndpointKassa();
            case 'ingcheckout':
                return (new Client\EndpointResolver())->getEndpointIng();
            case 'epay':
                return (new Client\EndpointResolver())->getEndpointEpay();
            default:
                return (new Client\EndpointResolver())->getEndpointGinger();
        }
    }
public static function getEndpoint($product)
    {
        switch ($product) {
            case 'kassacompleet':
                return (new Client\EndpointResolver())->getEndpointKassa();
            case 'ingcheckout':
                return (new Client\EndpointResolver())->getEndpointIng();
            case 'epay':
                return (new Client\EndpointResolver())->getEndpointEpay();
            default:
                return (new Client\EndpointResolver())->getEndpointGinger();
        }
    }
Get API endpoint based on product

@param string $product
@return string