public function getStoredCardDetails($token = false)
    {
        if (empty($token) || !is_string($token)) {
            Error::throwError('ip', Error::$errors['orderInput']['token']);
        }

        $response = TokenService::getStoredCardDetails($token);

        if (!isset($response['paymentMethod'])) {
            Error::throwError("apierror");
        }

        return $response['paymentMethod'];
    }